tests/testthat/test-zzz-lintr.R

# https://github.com/jimhester/lintr
if (requireNamespace("lintr", quietly = TRUE)) {
    context("lints")

    line_exclusions <- c("src/RcppExports.cpp", "R/RcppExports.R")

    test_that("package Style", {
        lintr::expect_lint_free(cache = TRUE, exclusions = line_exclusions)
    })
}

Try the geogrid package in your browser

Any scripts or data that you put into this service are public.

geogrid documentation built on Aug. 19, 2023, 9:07 a.m.