Nothing
test_that("code formatting", {
skip_on_cran()
skip_on_covr()
# always run locally, but on the CI on on macOS
if (Sys.getenv("CI") != "" && Sys.info()[["sysname"]] != "Darwin") {
skip("Only run code formatting check on macOS")
}
pkg <- test_path("../../")
if (!file.exists(file.path(pkg, "DESCRIPTION"))) {
pkg <- file.path(pkg, "00_pkg_src", .packageName)
}
if (Sys.which("air") == "") {
stop("Could not find air installation")
}
expect_snapshot(invisible(processx::run(
"air",
c("format", "--check", pkg),
echo = TRUE,
error_on_status = FALSE
)))
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.