Skip to content

lint

lint #48

Workflow file for this run

on:
schedule:
- cron: "0 0 * * *"
name: lint
jobs:
lint:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- uses: r-lib/actions/setup-r-dependencies@v2
with:
extra-packages: lintr
- name: Lint
run: |
lintr::lint_package(
linters = lintr::linters_with_defaults(
line_length_linter=NULL,
object_name_linter=NULL,
cyclocomp_linter=NULL,
seq_linter=NULL,
object_length_linter=NULL,
vector_logic_linter=NULL
)
)
shell: Rscript {0}