R Under development (unstable) (2024-02-29 r86017 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > pkg_name <- "teal.modules.general" > if (requireNamespace("testthat", quietly = TRUE)) { + library(testthat) + is_on_ci <- isTRUE(as.logical(Sys.getenv("CI"))) + if (is_on_ci) { + reporter <- MultiReporter$new(list( + CheckReporter$new() + )) + test_results <- test_check(pkg_name, reporter = reporter) + saveRDS(test_results, "unit_testing_results.rds") + } else { + reporter <- ParallelProgressReporter$new() + test_check(pkg_name, reporter = reporter) + } + } Loading required package: teal.modules.general Loading required package: ggmosaic Loading required package: ggplot2 Loading required package: shiny Loading required package: teal Loading required package: teal.data Loading required package: teal.code Loading required package: teal.slice You are using teal version 0.15.1 Attaching package: 'teal' The following objects are masked from 'package:teal.slice': as.teal_slices, teal_slices Loading required package: teal.transform ✔ | F W S OK | Context ⠋ [ FAIL 0 | WARN 0 | SKIP 0 | PASS 0 ] Starting up... ✔ | 18 | tm_g_bivariate ✔ | 21 | bivariate_ggplot_call ✔ | 4 | front_page ✔ | 15 | g_expert_cl ✔ | 6 | scatterplotmatrix_get_stats ✔ | 3 | variable_browser ══ Results ═════════════════════════════════════════════════════════════════════ [ FAIL 0 | WARN 0 | SKIP 0 | PASS 67 ] > > proc.time() user system elapsed 1.82 0.32 2.15