R Under development (unstable) (2025-11-19 r89040 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 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. > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(qol) The qol-package brings powerful concepts from 'SAS' to 'R' to make life easier and produce bigger and more complex outputs in less time with less code. -> Use ?qol to get an overview. > > test_check("qol") > Computing stats. > Formatting tables. - - - 'any_table' execution time: 0.241 seconds > Computing stats. > Formatting tables. - - - 'any_table' execution time: 0.247 seconds > Computing stats. ! WARNING: Variable 'Test1' not found in the data frame. ! WARNING: Variable 'Test2' not found in the data frame. > Formatting tables. - - - 'any_table' execution time: 0.244 seconds > Computing stats. > Computing stats. > Formatting tables. - - - 'any_table' execution time: 0.243 seconds > Computing stats. > Formatting tables + tab1 + tab2 - - - 'combine_into_workbook' execution time: 0.568 seconds - - - 'build_master' execution time: 0 seconds - - - 'build_rstheme' execution time: 0.003 seconds > Computing stats. - - - 'running_number' execution time: 0 seconds > Formatting tables. - - - 'crosstabs' execution time: 0.128 seconds > Computing stats. - - - 'running_number' execution time: 0 seconds > Formatting tables. - - - 'crosstabs' execution time: 0.239 seconds > Computing stats. - - - 'running_number' execution time: 0 seconds > Formatting tables. - - - 'crosstabs' execution time: 0.434 seconds > Computing stats. - - - 'running_number' execution time: 0 seconds > Formatting tables. - - - 'crosstabs' execution time: 0.209 seconds > Computing stats. - - - 'running_number' execution time: 0 seconds > Formatting tables. + year = 2023 + year = 2024 - - - 'crosstabs' execution time: 0.355 seconds > Computing stats. - - - 'running_number' execution time: 0 seconds > Formatting tables. - - - 'crosstabs' execution time: 0.079 seconds > Computing stats. > Formatting tables. - - - 'frequencies' execution time: 0.119 seconds ! WARNING: Type mismatch: Current value 2 is of type double but should be of type character. age_group will be converted to character. - - - 'recode' execution time: 0.015 seconds - - - 'recode' execution time: 0.005 seconds - - - 'recode' execution time: 0.001 seconds - - - 'recode' execution time: 0.006 seconds - - - 'recode' execution time: 0.013 seconds - - - 'running_number' execution time: 0.005 seconds ~ NOTE: Cases are marked in current data frame order. Only last variable 'household_id' inside provided by vector will be used. - - - 'mark_cases' execution time: 0 seconds - - - 'mark_cases' execution time: 0.004 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.011 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.011 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.018 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.012 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.012 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.011 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.011 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.032 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.013 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.013 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.013 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.013 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.028 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.016 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.014 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.016 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.019 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.019 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.024 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.019 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.046 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.025 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.02 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.015 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.025 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.029 seconds > Executing nested merge. ~ NOTE: 85 missings generated from grouping variables (8.5 %). Number of observations: 915/1.000 - - - 'summarise_plus' execution time: 0.016 seconds > Executing nested merge. ~ NOTE: 85 missings generated from grouping variables (8.5 %). Number of observations: 915/1.000 - - - 'summarise_plus' execution time: 0.031 seconds ! WARNING: The provided class variable 'list' is also part of the analysis variables. This variable will be omitted as analysis variable during computation. ! WARNING: The provided class variable 'list' is not part of the data frame. This variable will be omitted during computation. > Executing nested merge. ~ NOTE: 85 missings generated from grouping variables (8.5 %). Number of observations: 915/1.000 - - - 'summarise_plus' execution time: 0.018 seconds ! WARNING: The provided class variable 'list' is also part of the analysis variables. This variable will be omitted as analysis variable during computation. ! WARNING: The provided class variable 'list' is not part of the data frame. This variable will be omitted during computation. > Executing nested merge. ~ NOTE: 85 missings generated from grouping variables (8.5 %). Number of observations: 915/1.000 - - - 'summarise_plus' execution time: 0.015 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.02 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.018 seconds > Executing nested merge. ~ NOTE: 74 missings generated from grouping variables (8.5 %). Number of observations: 796/870 - - - 'summarise_plus' execution time: 0.071 seconds > Executing nested merge. ~ NOTE: 85 missings generated from grouping variables (8.5 %). Number of observations: 915/1.000 - - - 'summarise_plus' execution time: 0.013 seconds > Executing nested merge. ~ NOTE: 85 missings generated from grouping variables (8.5 %). Number of observations: 915/1.000 - - - 'summarise_plus' execution time: 0.014 seconds > Executing nested merge. ~ NOTE: 85 missings generated from grouping variables (8.5 %). Number of observations: 915/1.000 ! WARNING: To calculate percentiles there may be no NAs in the value variables. - - - 'summarise_plus' execution time: 0.021 seconds > Executing nested merge. ~ NOTE: 85 missings generated from grouping variables (8.5 %). Number of observations: 915/1.000 - - - 'summarise_plus' execution time: 0.019 seconds > Executing nested merge. ~ NOTE: 85 missings generated from grouping variables (8.5 %). Number of observations: 915/1.000 - - - 'summarise_plus' execution time: 0.031 seconds > Executing nested merge. ~ NOTE: 85 missings generated from grouping variables (8.5 %). Number of observations: 915/1.000 - - - 'summarise_plus' execution time: 0.02 seconds > Executing nested merge. ~ NOTE: 85 missings generated from grouping variables (8.5 %). Number of observations: 915/1.000 - - - 'summarise_plus' execution time: 0.017 seconds > Executing nested merge. ~ NOTE: 85 missings generated from grouping variables (8.5 %). Number of observations: 915/1.000 - - - 'summarise_plus' execution time: 0.018 seconds > Executing nested merge. ~ NOTE: 124 missings generated from grouping variables (12.4 %). Number of observations: 876/1.000 - - - 'summarise_plus' execution time: 0.02 seconds > Executing nested merge. ~ NOTE: 85 missings generated from grouping variables (8.5 %). Number of observations: 915/1.000 - - - 'summarise_plus' execution time: 0.032 seconds > Executing nested merge. ~ NOTE: 85 missings generated from grouping variables (8.5 %). Number of observations: 915/1.000 > Merging back. - - - 'summarise_plus' execution time: 0.018 seconds > Executing nested merge. ~ NOTE: 85 missings generated from grouping variables (8.5 %). Number of observations: 915/1.000 > Merging back. - - - 'summarise_plus' execution time: 0.022 seconds > Executing merge: + total > Executing combination merge: + year + sex ~ NOTE: 85 missings generated from grouping variables (8.5 %). Number of observations: 915/1.000 > Putting results together. - - - 'summarise_plus' execution time: 0.023 seconds > Executing merge: + total > Executing combination merge: + year + sex ~ NOTE: 85 missings generated from grouping variables (8.5 %). Number of observations: 915/1.000 > Putting results together. - - - 'summarise_plus' execution time: 0.037 seconds > Executing merge: + total > Executing combination merge: + year + sex ~ NOTE: 85 missings generated from grouping variables (8.5 %). Number of observations: 915/1.000 + age ~ NOTE: 47 missings generated from grouping variables (4.7 %). Number of observations: 953/1.000 + education ~ NOTE: 97 missings generated from grouping variables (9.7 %). Number of observations: 903/1.000 + year + sex ~ NOTE: 85 missings generated from grouping variables (8.5 %). Number of observations: 915/1.000 + year + age ~ NOTE: 47 missings generated from grouping variables (4.7 %). Number of observations: 953/1.000 + year + education ~ NOTE: 97 missings generated from grouping variables (9.7 %). Number of observations: 903/1.000 + sex + age ~ NOTE: 124 missings generated from grouping variables (12.4 %). Number of observations: 876/1.000 + sex + education ~ NOTE: 175 missings generated from grouping variables (17.5 %). Number of observations: 825/1.000 + age + education ~ NOTE: 137 missings generated from grouping variables (13.7 %). Number of observations: 863/1.000 + year + sex + age ~ NOTE: 124 missings generated from grouping variables (12.4 %). Number of observations: 876/1.000 + year + sex + education ~ NOTE: 175 missings generated from grouping variables (17.5 %). Number of observations: 825/1.000 + year + age + education ~ NOTE: 137 missings generated from grouping variables (13.7 %). Number of observations: 863/1.000 + sex + age + education ~ NOTE: 208 missings generated from grouping variables (20.8 %). Number of observations: 792/1.000 + year + sex + age + education ~ NOTE: 208 missings generated from grouping variables (20.8 %). Number of observations: 792/1.000 > Putting results together. - - - 'summarise_plus' execution time: 0.34 seconds > Executing merge: + total > Executing combination merge: + age ~ NOTE: 47 missings generated from grouping variables (4.7 %). Number of observations: 953/1.000 + year + sex ~ NOTE: 85 missings generated from grouping variables (8.5 %). Number of observations: 915/1.000 + sex + age ~ NOTE: 124 missings generated from grouping variables (12.4 %). Number of observations: 876/1.000 > Putting results together. - - - 'summarise_plus' execution time: 0.096 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.022 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.014 seconds > Executing nested merge. ~ NOTE: 124 missings generated from grouping variables (12.4 %). Number of observations: 876/1.000 - - - 'summarise_plus' execution time: 0.018 seconds > Executing nested merge. ~ NOTE: 124 missings generated from grouping variables (12.4 %). Number of observations: 876/1.000 - - - 'summarise_plus' execution time: 0.014 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.017 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.026 seconds > Executing nested merge. ~ NOTE: 130 missings generated from grouping variables (13 %). Number of observations: 870/1.000 - - - 'summarise_plus' execution time: 0.019 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.021 seconds [ FAIL 0 | WARN 0 | SKIP 0 | PASS 439 ] > > proc.time() user system elapsed 29.17 1.67 30.82