Nothing
if (interactive()) {
pkgload::load_all()
library("tinytest")
}
infile <- tempfile()
file.copy(
system.file("files", "test_helpers.R", package = "fritools2"),
infile
)
result <- basename(split_code_file(file = infile, write_to_disk = TRUE))
expectation <- c(
"get_boolean_envvar.R",
"get_run_r_tests.R",
"is_running_on_fvafrcu_machines.R",
"is_running_on_gitlab_com.R",
"run_r_tests_for_known_hosts.R",
"set_run_r_tests.R"
)
expect_identical(result, expectation)
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.