inst/testme/_prologue/090.context.R
raw| 1 | fullTest <- (Sys.getenv("_R_CHECK_FULL_") != "") |
| 2 | |
| 3 | |
| 4 | on_windows <- (.Platform[["OS.type"]] == "windows") |
| 5 | on_windows_32 <- (on_windows && .Platform[["r_arch"]] == "i386") |
| 6 | on_macos <- grepl("^darwin", R.version[["os"]]) |
| 7 | on_solaris <- grepl("^solaris", R.version[["os"]]) |
| 8 | |
| 9 | covr_testing <- ("covr" %in% loadedNamespaces()) |
| 10 | on_githubactions <- isTRUE(as.logical(Sys.getenv("GITHUB_ACTIONS"))) |