diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index f60d047..03772a4 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -20,10 +20,9 @@ jobs: with: use-public-rspm: true - - uses: r-lib/actions/setup-r-dependencies@v2 - with: - extra-packages: any::lintr, local::. - needs: lint + - name: Install lintr + run: install.packages('lintr') + shell: Rscript {0} - name: Lint run: lintr::lint_package() diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index f531226..dda0823 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -58,4 +58,4 @@ jobs: with: clean: false branch: gh-pages - folder: docs \ No newline at end of file + folder: docs diff --git a/.lintr b/.lintr index 47b6fa9..afae0c7 100644 --- a/.lintr +++ b/.lintr @@ -11,7 +11,6 @@ linters: list( linelen = line_length_linter(80), notab = whitespace_linter(), object_length = object_length_linter(), - object_usage = object_usage_linter(), par_body = paren_body_linter(), quotes = quotes_linter(), semicolon = semicolon_linter(),