Skip to content

Merge pull request #114 from ropensci/makeSugPkgCond #36

Merge pull request #114 from ropensci/makeSugPkgCond

Merge pull request #114 from ropensci/makeSugPkgCond #36

Workflow file for this run

# Workflow derived from https://github.com/r-lib/actions/tree/master/examples
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help
on:
push:
branches: main
pull_request:
branches: main
name: lint
jobs:
lint:
runs-on: macOS-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- 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: |
library(lintr)
lint_package(linters = with_defaults(line_length_linter(80L), object_length_linter(length = 60L)))
shell: Rscript {0}