R Under development (unstable) (2023-12-11 r85667 ucrt) -- "Unsuffered Consequences" Copyright (C) 2023 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. > # Throttle CPU threads if R CMD check (for CRAN) > > if (any(grepl("_R_CHECK", names(Sys.getenv()), fixed = TRUE))) { + cat("Throttling threads") + # fixest + if ( requireNamespace("fixest", quietly=TRUE) ){ + library(fixest) + setFixest_nthreads(1) + } + # data.table + if(requireNamespace("data.table", quietly = TRUE)){ + library(data.table) + setDTthreads(1) + } + } Throttling threads> > > # Run tinytest suite > > if ( requireNamespace("tinytest", quietly=TRUE) ){ + + # Run tests + tinytest::test_package("ggfixest") + + } Loading required package: ggplot2 test_aggr_es.R................ 0 tests test_aggr_es.R................ 0 tests test_aggr_es.R................ 0 tests test_aggr_es.R................ 0 tests test_aggr_es.R................ 0 tests test_aggr_es.R................ 0 tests test_aggr_es.R................ 0 tests test_aggr_es.R................ 0 tests test_aggr_es.R................ 0 tests test_aggr_es.R................ 0 tests test_aggr_es.R................ 0 tests test_aggr_es.R................ 0 tests test_aggr_es.R................ 0 tests test_aggr_es.R................ 0 tests test_aggr_es.R................ 0 tests test_aggr_es.R................ 40 tests OK 0.3s test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 0 tests 74ms [Exited at #5: Linux snapshots] test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests 51ms [Exited at #5: Linux snapshots] test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests 49ms [Exited at #5: Linux snapshots] test_iplot_data.R............. 0 tests test_iplot_data.R............. 0 tests test_iplot_data.R............. 0 tests test_iplot_data.R............. 0 tests test_iplot_data.R............. 0 tests test_iplot_data.R............. 0 tests test_iplot_data.R............. 0 tests test_iplot_data.R............. 0 tests test_iplot_data.R............. 0 tests test_iplot_data.R............. 0 tests test_iplot_data.R............. 22 tests OK 52ms All ok, 62 results (0.6s) > > > proc.time() user system elapsed 1.21 0.25 1.45