R Under development (unstable) (2025-10-10 r88914 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. > > test_check("qol") > Computing stats. > Formatting tables. - - - 'any_table' execution time: 0.169 seconds > Computing stats. > Formatting tables. - - - 'any_table' execution time: 0.167 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.168 seconds > Computing stats. > Computing stats. > Formatting tables. - - - 'any_table' execution time: 0.168 seconds > Computing stats. > Computing stats. > Formatting tables. - - - 'crosstabs' execution time: 0.136 seconds > Computing stats. > Formatting tables. - - - 'crosstabs' execution time: 0.251 seconds > Computing stats. > Formatting tables. - - - 'crosstabs' execution time: 0.388 seconds > Computing stats. > Formatting tables. - - - 'crosstabs' execution time: 0.159 seconds > Computing stats. > Formatting tables. + year = 2023 + year = 2024 - - - 'crosstabs' execution time: 0.255 seconds > Computing stats. > Formatting tables. - - - 'crosstabs' execution time: 0.08 seconds > Computing stats. > Formatting tables. - - - 'frequency' execution time: 0.136 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.016 seconds - - - 'recode' execution time: 0.005 seconds - - - 'recode' execution time: 0.001 seconds - - - 'recode' execution time: 0.006 seconds - - - 'recode' execution time: 0.016 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.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.019 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.012 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.012 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.016 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.013 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.026 seconds > Executing nested merge. - - - '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.017 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.017 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.017 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.016 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.028 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.021 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.021 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.021 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.023 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.025 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.033 seconds > Executing nested merge. ~ NOTE: 58 missings generated from grouping variables (5.8 %). Number of observations: 942/1.000 - - - 'summarise_plus' execution time: 0.017 seconds > Executing nested merge. ~ NOTE: 58 missings generated from grouping variables (5.8 %). Number of observations: 942/1.000 - - - 'summarise_plus' execution time: 0.017 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: 58 missings generated from grouping variables (5.8 %). Number of observations: 942/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: 58 missings generated from grouping variables (5.8 %). Number of observations: 942/1.000 - - - 'summarise_plus' execution time: 0.018 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.02 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.017 seconds > Executing nested merge. ~ NOTE: 51 missings generated from grouping variables (5.5 %). Number of observations: 868/919 - - - 'summarise_plus' execution time: 0.065 seconds > Executing nested merge. ~ NOTE: 58 missings generated from grouping variables (5.8 %). Number of observations: 942/1.000 - - - 'summarise_plus' execution time: 0.014 seconds > Executing nested merge. ~ NOTE: 58 missings generated from grouping variables (5.8 %). Number of observations: 942/1.000 - - - 'summarise_plus' execution time: 0.014 seconds > Executing nested merge. ~ NOTE: 58 missings generated from grouping variables (5.8 %). Number of observations: 942/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: 58 missings generated from grouping variables (5.8 %). Number of observations: 942/1.000 - - - 'summarise_plus' execution time: 0.025 seconds > Executing nested merge. ~ NOTE: 58 missings generated from grouping variables (5.8 %). Number of observations: 942/1.000 - - - 'summarise_plus' execution time: 0.019 seconds > Executing nested merge. ~ NOTE: 58 missings generated from grouping variables (5.8 %). Number of observations: 942/1.000 - - - 'summarise_plus' execution time: 0.018 seconds > Executing nested merge. ~ NOTE: 58 missings generated from grouping variables (5.8 %). Number of observations: 942/1.000 - - - 'summarise_plus' execution time: 0.017 seconds > Executing nested merge. ~ NOTE: 58 missings generated from grouping variables (5.8 %). Number of observations: 942/1.000 - - - 'summarise_plus' execution time: 0.017 seconds > Executing nested merge. ~ NOTE: 115 missings generated from grouping variables (11.5 %). Number of observations: 885/1.000 - - - 'summarise_plus' execution time: 0.028 seconds > Executing nested merge. ~ NOTE: 58 missings generated from grouping variables (5.8 %). Number of observations: 942/1.000 - - - 'summarise_plus' execution time: 0.013 seconds > Executing nested merge. ~ NOTE: 58 missings generated from grouping variables (5.8 %). Number of observations: 942/1.000 > Merging back. - - - 'summarise_plus' execution time: 0.014 seconds > Executing nested merge. ~ NOTE: 58 missings generated from grouping variables (5.8 %). Number of observations: 942/1.000 > Merging back. - - - 'summarise_plus' execution time: 0.018 seconds > Executing merge: + total > Executing combination merge: + year + sex ~ NOTE: 58 missings generated from grouping variables (5.8 %). Number of observations: 942/1.000 > Putting results together. - - - 'summarise_plus' execution time: 0.021 seconds > Executing merge: + total > Executing combination merge: + year + sex ~ NOTE: 58 missings generated from grouping variables (5.8 %). Number of observations: 942/1.000 > Putting results together. - - - 'summarise_plus' execution time: 0.026 seconds > Executing merge: + total > Executing combination merge: + year + sex ~ NOTE: 58 missings generated from grouping variables (5.8 %). Number of observations: 942/1.000 + age ~ NOTE: 62 missings generated from grouping variables (6.2 %). Number of observations: 938/1.000 + education ~ NOTE: 42 missings generated from grouping variables (4.2 %). Number of observations: 958/1.000 + year + sex ~ NOTE: 58 missings generated from grouping variables (5.8 %). Number of observations: 942/1.000 + year + age ~ NOTE: 62 missings generated from grouping variables (6.2 %). Number of observations: 938/1.000 + year + education ~ NOTE: 42 missings generated from grouping variables (4.2 %). Number of observations: 958/1.000 + sex + age ~ NOTE: 115 missings generated from grouping variables (11.5 %). Number of observations: 885/1.000 + sex + education ~ NOTE: 97 missings generated from grouping variables (9.7 %). Number of observations: 903/1.000 + age + education ~ NOTE: 103 missings generated from grouping variables (10.3 %). Number of observations: 897/1.000 + year + sex + age ~ NOTE: 115 missings generated from grouping variables (11.5 %). Number of observations: 885/1.000 + year + sex + education ~ NOTE: 97 missings generated from grouping variables (9.7 %). Number of observations: 903/1.000 + year + age + education ~ NOTE: 103 missings generated from grouping variables (10.3 %). Number of observations: 897/1.000 + sex + age + education ~ NOTE: 154 missings generated from grouping variables (15.4 %). Number of observations: 846/1.000 + year + sex + age + education ~ NOTE: 154 missings generated from grouping variables (15.4 %). Number of observations: 846/1.000 > Putting results together. - - - 'summarise_plus' execution time: 0.28 seconds > Executing merge: + total > Executing combination merge: + age ~ NOTE: 62 missings generated from grouping variables (6.2 %). Number of observations: 938/1.000 + year + sex ~ NOTE: 58 missings generated from grouping variables (5.8 %). Number of observations: 942/1.000 + sex + age ~ NOTE: 115 missings generated from grouping variables (11.5 %). Number of observations: 885/1.000 > Putting results together. - - - 'summarise_plus' execution time: 0.088 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.012 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.012 seconds > Executing nested merge. ~ NOTE: 115 missings generated from grouping variables (11.5 %). Number of observations: 885/1.000 - - - 'summarise_plus' execution time: 0.016 seconds > Executing nested merge. ~ NOTE: 115 missings generated from grouping variables (11.5 %). Number of observations: 885/1.000 - - - 'summarise_plus' execution time: 0.013 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.042 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.012 seconds > Executing nested merge. ~ NOTE: 81 missings generated from grouping variables (8.1 %). Number of observations: 919/1.000 - - - 'summarise_plus' execution time: 0.019 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.018 seconds [ FAIL 0 | WARN 0 | SKIP 0 | PASS 422 ] > > proc.time() user system elapsed 25.29 1.23 26.48