Package: ggfixest Check: tests New result: ERROR Running ‘tinytest.R’ [7s/7s] Running the tests in ‘tests/tinytest.R’ failed. Complete output: > ## Throttle CPU threads if R CMD check (for CRAN) > > if (any(grepl("_R_CHECK", names(Sys.getenv()), fixed = TRUE))) { + # fixest + if (requireNamespace("fixest", quietly = TRUE)) { + library(fixest) + setFixest_nthreads(1) + } + + # data.table + if (requireNamespace("data.table", quietly = TRUE)) { + library(data.table) + setDTthreads(1) + } + + # magick + if (requireNamespace("magick", quietly = TRUE)) { + library(magick) + magick:::magick_threads(1) + } + } Linking to ImageMagick 7.1.2.3 Enabled features: fontconfig, freetype, fftw, heic, lcms, raw, webp, x11 Disabled features: cairo, ghostscript, pango, rsvg Using 2 threads [1] 1 > > > # Run tinytest suite > > if ( requireNamespace("tinytest", quietly=TRUE) ){ + + 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................ 0 tests test_aggr_es.R................ 0 tests test_aggr_es.R................ 48 tests 33 fails 1.2s test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 0 tests test_fixest_multi.R........... 0 tests 0.7s test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests test_ggcoefplot.R............. 0 tests 0.8s test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests test_ggiplot.R................ 0 tests 2.3s 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 4 fails 91ms test_nthreads.R............... 0 tests test_nthreads.R............... 0 tests ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_post[[col]], aggr_post_known[[col]], tolerance = tol) diff| Expected '0.859857566528126', got '0.861259873207569' ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_cum[[col]], aggr_cum_known[[col]], tolerance = tol) diff| Expected '4.29928782137735', got '4.3062994999405' ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_pre[[col]], aggr_pre_known[[col]], tolerance = tol) diff| Expected '0.856196388205688', got '0.878957693450153' ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_both[[col]], aggr_both_known[[col]], tolerance = tol) diff| Mean relative difference: 0.01408092 ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_diff[[col]], aggr_diff_known[[col]], tolerance = tol) diff| Expected '0.47207477585529', got '0.527379333034877' ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_rhs1[[col]], aggr_rhs1_known[[col]], tolerance = tol) diff| Expected '0.856196388205688', got '0.878957693450153' ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_post[[col]], aggr_post_known[[col]], tolerance = tol) diff| Expected '4.5432572498307', got '4.53585990068435' ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_cum[[col]], aggr_cum_known[[col]], tolerance = tol) diff| Expected '4.54325726173313', got '4.5358597596436' ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_pre[[col]], aggr_pre_known[[col]], tolerance = tol) diff| Expected '-1.37803746371061', got '-1.34235209274958' ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_both[[col]], aggr_both_known[[col]], tolerance = tol) diff| Mean relative difference: 0.007275895 ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_diff[[col]], aggr_diff_known[[col]], tolerance = tol) diff| Expected '10.7746168241598', got '9.64471776495549' ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_rhs1[[col]], aggr_rhs1_known[[col]], tolerance = tol) diff| Expected '-0.210081123582062', got '-0.204640906589159' ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_pre[[col]], aggr_pre_known[[col]], tolerance = tol) diff| Expected '0.168191721635732', got '0.179481860308907' ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_both[[col]], aggr_both_known[[col]], tolerance = tol) diff| Mean relative difference: 0.06712557 ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_rhs1[[col]], aggr_rhs1_known[[col]], tolerance = tol) diff| Expected '0.833604357936545', got '0.83785269284703' ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_post[[col]], aggr_post_known[[col]], tolerance = tol) diff| Expected '17.461901741925', got '17.4112907787669' ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_cum[[col]], aggr_cum_known[[col]], tolerance = tol) diff| Expected '17.4619018234198', got '17.4112898145223' ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_pre[[col]], aggr_pre_known[[col]], tolerance = tol) diff| Expected '2.57182139671994', got '2.47809005231426' ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_both[[col]], aggr_both_known[[col]], tolerance = tol) diff| Mean relative difference: 0.007204967 ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_diff[[col]], aggr_diff_known[[col]], tolerance = tol) diff| Expected '87.5104245518892', got '70.7107655185095' ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_rhs1[[col]], aggr_rhs1_known[[col]], tolerance = tol) diff| Expected '0.262565275096028', got '0.255231476237238' ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_post[[col]], aggr_post_known[[col]], tolerance = tol) diff| Expected '2.22126426072131', got '2.21851579013433' ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_cum[[col]], aggr_cum_known[[col]], tolerance = tol) diff| Expected '11.1063213256822', got '11.0925786882273' ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_pre[[col]], aggr_pre_known[[col]], tolerance = tol) diff| Expected '-2.85798478381758', got '-2.90259612233785' ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_both[[col]], aggr_both_known[[col]], tolerance = tol) diff| Mean relative difference: 0.009324175 ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_diff[[col]], aggr_diff_known[[col]], tolerance = tol) diff| Expected '4.16117526350566', got '4.05278032325274' ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_rhs1[[col]], aggr_rhs1_known[[col]], tolerance = tol) diff| Expected '-1.85798478381758', got '-1.90259612233785' ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_post[[col]], aggr_post_known[[col]], tolerance = tol) diff| Expected '5.59184398518008', got '5.59459245576706' ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_cum[[col]], aggr_cum_known[[col]], tolerance = tol) diff| Expected '27.9592199038248', got '27.9729625412797' ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_pre[[col]], aggr_pre_known[[col]], tolerance = tol) diff| Expected '0.498243385335269', got '0.542854723855542' ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_both[[col]], aggr_both_known[[col]], tolerance = tol) diff| Mean relative difference: 0.00777654 ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_diff[[col]], aggr_diff_known[[col]], tolerance = tol) diff| Expected '6.01167438087804', got '6.12006932113096' ----- FAILED[data]: test_aggr_es.R<96--104> call| expect_equivalent(aggr_rhs1[[col]], aggr_rhs1_known[[col]], tolerance = tol) diff| Expected '1.49824338533527', got '1.54285472385554' ----- FAILED[data]: test_iplot_data.R<69--73> call| expect_equivalent(iplot_data_est[[col]], iplot_data_est_known[[col]], call| --> tolerance = tol) diff| Mean relative difference: 0.0226864 ----- FAILED[data]: test_iplot_data.R<69--73> call| expect_equivalent(iplot_data_est_log[[col]], iplot_data_est_log_known[[col]], call| --> tolerance = tol) diff| Mean relative difference: 0.2264364 ----- FAILED[data]: test_iplot_data.R<69--73> call| expect_equivalent(iplot_data_est[[col]], iplot_data_est_known[[col]], call| --> tolerance = tol) diff| Mean relative difference: 0.01597973 ----- FAILED[data]: test_iplot_data.R<69--73> call| expect_equivalent(iplot_data_est_log[[col]], iplot_data_est_log_known[[col]], call| --> tolerance = tol) diff| Mean relative difference: 0.09714743 Error: 37 out of 70 tests failed Execution halted