R Under development (unstable) (2025-10-06 r88901 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.249 seconds > Computing stats. > Formatting tables. - - - 'any_table' execution time: 0.275 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.255 seconds > Computing stats. > Computing stats. > Formatting tables. - - - 'any_table' execution time: 0.242 seconds > Computing stats. > Computing stats. > Formatting tables. - - - 'crosstabs' execution time: 0.231 seconds > Computing stats. > Formatting tables. - - - 'crosstabs' execution time: 0.401 seconds > Computing stats. > Formatting tables. - - - 'crosstabs' execution time: 0.755 seconds > Computing stats. > Formatting tables. - - - 'crosstabs' execution time: 0.284 seconds > Computing stats. > Formatting tables. + year = 2023 + year = 2024 - - - 'crosstabs' execution time: 0.506 seconds > Computing stats. > Formatting tables. - - - 'crosstabs' execution time: 0.081 seconds > Computing stats. > Formatting tables. - - - 'frequency' execution time: 0.176 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.03 seconds - - - 'recode' execution time: 0.008 seconds - - - 'recode' execution time: 0.001 seconds - - - 'recode' execution time: 0.007 seconds - - - 'recode' execution time: 0.017 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.022 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.021 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.013 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.022 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.021 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.018 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.016 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.021 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.018 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.021 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.02 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.021 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.04 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.025 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.026 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.025 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.023 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.023 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.027 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.03 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.031 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.018 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.029 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.039 seconds > Executing nested merge. ~ NOTE: 10 missings generated from grouping variables (1 %). Number of observations: 990/1.000 - - - 'summarise_plus' execution time: 0.023 seconds > Executing nested merge. ~ NOTE: 10 missings generated from grouping variables (1 %). Number of observations: 990/1.000 - - - 'summarise_plus' execution time: 0.023 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: 10 missings generated from grouping variables (1 %). Number of observations: 990/1.000 - - - 'summarise_plus' execution time: 0.023 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: 10 missings generated from grouping variables (1 %). Number of observations: 990/1.000 - - - 'summarise_plus' execution time: 0.022 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.028 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.02 seconds > Executing nested merge. ~ NOTE: 9 missings generated from grouping variables (1.1 %). Number of observations: 839/848 - - - 'summarise_plus' execution time: 0.09 seconds > Executing nested merge. ~ NOTE: 10 missings generated from grouping variables (1 %). Number of observations: 990/1.000 - - - 'summarise_plus' execution time: 0.02 seconds > Executing nested merge. ~ NOTE: 10 missings generated from grouping variables (1 %). Number of observations: 990/1.000 - - - 'summarise_plus' execution time: 0.019 seconds > Executing nested merge. ~ NOTE: 10 missings generated from grouping variables (1 %). Number of observations: 990/1.000 ! WARNING: To calculate percentiles there may be no NAs in the value variables. - - - 'summarise_plus' execution time: 0.031 seconds > Executing nested merge. ~ NOTE: 10 missings generated from grouping variables (1 %). Number of observations: 990/1.000 - - - 'summarise_plus' execution time: 0.024 seconds > Executing nested merge. ~ NOTE: 10 missings generated from grouping variables (1 %). Number of observations: 990/1.000 - - - 'summarise_plus' execution time: 0.036 seconds > Executing nested merge. ~ NOTE: 10 missings generated from grouping variables (1 %). Number of observations: 990/1.000 - - - 'summarise_plus' execution time: 0.026 seconds > Executing nested merge. ~ NOTE: 10 missings generated from grouping variables (1 %). Number of observations: 990/1.000 - - - 'summarise_plus' execution time: 0.026 seconds > Executing nested merge. ~ NOTE: 10 missings generated from grouping variables (1 %). Number of observations: 990/1.000 - - - 'summarise_plus' execution time: 0.026 seconds > Executing nested merge. ~ NOTE: 97 missings generated from grouping variables (9.7 %). Number of observations: 903/1.000 - - - 'summarise_plus' execution time: 0.025 seconds > Executing nested merge. ~ NOTE: 10 missings generated from grouping variables (1 %). Number of observations: 990/1.000 - - - 'summarise_plus' execution time: 0.02 seconds > Executing nested merge. ~ NOTE: 10 missings generated from grouping variables (1 %). Number of observations: 990/1.000 > Merging back. - - - 'summarise_plus' execution time: 0.022 seconds > Executing nested merge. ~ NOTE: 10 missings generated from grouping variables (1 %). Number of observations: 990/1.000 > Merging back. - - - 'summarise_plus' execution time: 0.031 seconds > Executing merge: + total > Executing combination merge: + year + sex ~ NOTE: 10 missings generated from grouping variables (1 %). Number of observations: 990/1.000 > Putting results together. - - - 'summarise_plus' execution time: 0.03 seconds > Executing merge: + total > Executing combination merge: + year + sex ~ NOTE: 10 missings generated from grouping variables (1 %). Number of observations: 990/1.000 > Putting results together. - - - 'summarise_plus' execution time: 0.033 seconds > Executing nested merge. ~ NOTE: 10 missings generated from grouping variables (1 %). Number of observations: 990/1.000 - - - 'summarise_plus' execution time: 0.022 seconds > Executing merge: + total > Executing combination merge: + year + sex ~ NOTE: 10 missings generated from grouping variables (1 %). Number of observations: 990/1.000 + age ~ NOTE: 87 missings generated from grouping variables (8.7 %). Number of observations: 913/1.000 + education ~ NOTE: 82 missings generated from grouping variables (8.2 %). Number of observations: 918/1.000 + year + sex ~ NOTE: 10 missings generated from grouping variables (1 %). Number of observations: 990/1.000 + year + age ~ NOTE: 87 missings generated from grouping variables (8.7 %). Number of observations: 913/1.000 + year + education ~ NOTE: 82 missings generated from grouping variables (8.2 %). Number of observations: 918/1.000 + sex + age ~ NOTE: 97 missings generated from grouping variables (9.7 %). Number of observations: 903/1.000 + sex + education ~ NOTE: 91 missings generated from grouping variables (9.1 %). Number of observations: 909/1.000 + age + education ~ NOTE: 164 missings generated from grouping variables (16.4 %). Number of observations: 836/1.000 + year + sex + age ~ NOTE: 97 missings generated from grouping variables (9.7 %). Number of observations: 903/1.000 + year + sex + education ~ NOTE: 91 missings generated from grouping variables (9.1 %). Number of observations: 909/1.000 + year + age + education ~ NOTE: 164 missings generated from grouping variables (16.4 %). Number of observations: 836/1.000 + sex + age + education ~ NOTE: 173 missings generated from grouping variables (17.3 %). Number of observations: 827/1.000 + year + sex + age + education ~ NOTE: 173 missings generated from grouping variables (17.3 %). Number of observations: 827/1.000 > Putting results together. - - - 'summarise_plus' execution time: 0.391 seconds > Executing merge: + total > Executing combination merge: + age ~ NOTE: 87 missings generated from grouping variables (8.7 %). Number of observations: 913/1.000 + year + sex ~ NOTE: 10 missings generated from grouping variables (1 %). Number of observations: 990/1.000 + sex + age ~ NOTE: 97 missings generated from grouping variables (9.7 %). Number of observations: 903/1.000 > Putting results together. - - - 'summarise_plus' execution time: 0.129 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.019 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.029 seconds > Executing nested merge. ~ NOTE: 97 missings generated from grouping variables (9.7 %). Number of observations: 903/1.000 - - - 'summarise_plus' execution time: 0.022 seconds > Executing nested merge. ~ NOTE: 97 missings generated from grouping variables (9.7 %). Number of observations: 903/1.000 - - - 'summarise_plus' execution time: 0.019 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.015 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.015 seconds > Executing nested merge. ~ NOTE: 152 missings generated from grouping variables (15.2 %). Number of observations: 848/1.000 - - - 'summarise_plus' execution time: 0.027 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.034 seconds [ FAIL 0 | WARN 0 | SKIP 0 | PASS 423 ] > > proc.time() user system elapsed 41.45 2.23 43.78