tests/ff_tests.R

# ff tests that require being highly intentional about load/attach order, e.g. #3

library(bit)

if (isNamespaceLoaded("ff")) {
  cat("ff must be unloaded initially for this test to WAI\n")
  q("n")
}
chunk(1)

if (!requireNamespace("ff")) {
  cat("ff failed to load\n")
  q("n")
}
chunk(1)

# nolint next: undesirable_function_linter, unused_import_linter. It is used, by chunk().
if (!require("ff")) {
  cat("ff failed to attach\n")
  q("n")
}
chunk(1)

Try the bit package in your browser

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

bit documentation built on April 4, 2025, 3:09 a.m.