diff --git a/.github/workflows/prchecks.yml b/.github/workflows/prchecks.yml index f0e28ac3..9472dd85 100644 --- a/.github/workflows/prchecks.yml +++ b/.github/workflows/prchecks.yml @@ -59,6 +59,7 @@ jobs: run: | remotes::install_deps(dependencies = TRUE) remotes::install_cran("rcmdcheck") + remotes::install_cran("lintr") shell: Rscript {0} # - name:Document @@ -93,3 +94,7 @@ jobs: - name: Calculate code coverage run: Rscript -e "covr::codecov()" + + - name: Lint + run: lintr::lint_package() + shell: Rscript {0}