library(lintr)
lintr::lint_package(
linters = linters_with_defaults(
object_usage_linter = NULL,
trailing_whitespace_linter = NULL,
cyclocomp_linter = NULL
),
exclusions = c(
list.files("tests", recursive = TRUE, full.names = TRUE),
list.files("man", recursive = TRUE, full.names = TRUE),
list.files("vignettes", recursive = TRUE, full.names = TRUE),
list.files("data-raw", recursive = TRUE, full.names = TRUE),
list.files("inst", recursive = TRUE, full.names = TRUE)
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.