Skip to content

lint notebook

lint notebook #38

Workflow file for this run

name: Lint project
on:
push:
jobs:
lint-project:
runs-on: ubuntu-latest
steps:
- name: 🛎 Check out repo
uses: actions/checkout@v3
with:
submodules: recursive
- name: 🏗️ Setup R
uses: r-lib/actions/setup-r@v2
with:
use-public-rspm: true
- name: 🛠️ Install lintr
run: install.packages("lintr")
shell: Rscript {0}
- name: ✨ Lint root directory
run: lintr::lint_dir()
shell: Rscript {0}
env:
LINTR_ERROR_ON_LINT: true