tests/testthat/test-00_00_print_information_tests.R

testthat::skip_on_cran()

testthat::skip_if_not(
  condition = check_aif_py_modules(trace = FALSE),
  message = "Necessary python modules not available"
)

if (Sys.getenv("CI") == "true") {
  cat("\n")
  cat("---------------------------------------------------------\n")
  cat("On Continuous Integreation\n")
  cat("---------------------------------------------------------\n")
} else {
  cat("\n")
  cat("---------------------------------------------------------\n")
  cat("Not On Continuous Integreation\n")
  cat("---------------------------------------------------------\n")
}

# Print python versions of the test system
if (Sys.getenv("CI") == "true") {
  prepare_session(env_type = "conda", envname = "r-reticulate")
} else {
  prepare_session()
}

# print(get_py_package_versions())

Try the aifeducation package in your browser

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

aifeducation documentation built on Nov. 19, 2025, 5:08 p.m.