R Under development (unstable) (2025-09-30 r88885 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.217 seconds > Computing stats. > Formatting tables. - - - 'any_table' execution time: 0.269 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.22 seconds > Computing stats. > Computing stats. > Formatting tables. - - - 'any_table' execution time: 0.303 seconds > Computing stats. > Computing stats. > Formatting tables. - - - 'crosstabs' execution time: 0.184 seconds > Computing stats. > Formatting tables. - - - 'crosstabs' execution time: 0.348 seconds > Computing stats. > Formatting tables. - - - 'crosstabs' execution time: 0.572 seconds > Computing stats. > Formatting tables. - - - 'crosstabs' execution time: 0.206 seconds > Computing stats. > Formatting tables. + year = 2023 + year = 2024 - - - 'crosstabs' execution time: 0.374 seconds > Computing stats. > Formatting tables. - - - 'crosstabs' execution time: 0.152 seconds > Computing stats. > Formatting tables. - - - 'frequency' execution time: 0.202 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.029 seconds - - - 'recode' execution time: 0.007 seconds - - - 'recode' execution time: 0.001 seconds - - - 'recode' execution time: 0.009 seconds - - - 'recode' execution time: 0.015 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.013 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.021 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.027 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.022 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.015 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.017 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.02 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.022 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.022 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.013 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.05 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.016 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.023 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.026 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.029 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.034 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.031 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.043 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.031 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.023 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.028 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.045 seconds > Executing nested merge. ~ NOTE: 69 missings generated from grouping variables (6.9 %). Number of observations: 931/1.000 - - - 'summarise_plus' execution time: 0.022 seconds > Executing nested merge. ~ NOTE: 69 missings generated from grouping variables (6.9 %). Number of observations: 931/1.000 - - - 'summarise_plus' execution time: 0.021 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: 69 missings generated from grouping variables (6.9 %). Number of observations: 931/1.000 - - - 'summarise_plus' execution time: 0.022 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: 69 missings generated from grouping variables (6.9 %). Number of observations: 931/1.000 - - - 'summarise_plus' execution time: 0.025 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.028 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.032 seconds > Executing nested merge. ~ NOTE: 61 missings generated from grouping variables (6.8 %). Number of observations: 830/891 - - - 'summarise_plus' execution time: 0.086 seconds > Executing nested merge. ~ NOTE: 69 missings generated from grouping variables (6.9 %). Number of observations: 931/1.000 - - - 'summarise_plus' execution time: 0.014 seconds > Executing nested merge. ~ NOTE: 69 missings generated from grouping variables (6.9 %). Number of observations: 931/1.000 - - - 'summarise_plus' execution time: 0.015 seconds > Executing nested merge. ~ NOTE: 69 missings generated from grouping variables (6.9 %). Number of observations: 931/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: 69 missings generated from grouping variables (6.9 %). Number of observations: 931/1.000 - - - 'summarise_plus' execution time: 0.025 seconds > Executing nested merge. ~ NOTE: 69 missings generated from grouping variables (6.9 %). Number of observations: 931/1.000 - - - 'summarise_plus' execution time: 0.022 seconds > Executing nested merge. ~ NOTE: 69 missings generated from grouping variables (6.9 %). Number of observations: 931/1.000 - - - 'summarise_plus' execution time: 0.022 seconds > Executing nested merge. ~ NOTE: 69 missings generated from grouping variables (6.9 %). Number of observations: 931/1.000 - - - 'summarise_plus' execution time: 0.039 seconds > Executing nested merge. ~ NOTE: 69 missings generated from grouping variables (6.9 %). Number of observations: 931/1.000 - - - 'summarise_plus' execution time: 0.017 seconds > Executing nested merge. ~ NOTE: 151 missings generated from grouping variables (15.1 %). Number of observations: 849/1.000 - - - 'summarise_plus' execution time: 0.017 seconds > Executing nested merge. ~ NOTE: 69 missings generated from grouping variables (6.9 %). Number of observations: 931/1.000 - - - 'summarise_plus' execution time: 0.019 seconds > Executing nested merge. ~ NOTE: 69 missings generated from grouping variables (6.9 %). Number of observations: 931/1.000 > Merging back. - - - 'summarise_plus' execution time: 0.021 seconds > Executing nested merge. ~ NOTE: 69 missings generated from grouping variables (6.9 %). Number of observations: 931/1.000 > Merging back. - - - 'summarise_plus' execution time: 0.032 seconds > Executing merge: + total > Executing combination merge: + year + sex ~ NOTE: 69 missings generated from grouping variables (6.9 %). Number of observations: 931/1.000 > Putting results together. - - - 'summarise_plus' execution time: 0.027 seconds > Executing merge: + total > Executing combination merge: + year + sex ~ NOTE: 69 missings generated from grouping variables (6.9 %). Number of observations: 931/1.000 > Putting results together. - - - 'summarise_plus' execution time: 0.026 seconds > Executing nested merge. ~ NOTE: 69 missings generated from grouping variables (6.9 %). Number of observations: 931/1.000 - - - 'summarise_plus' execution time: 0.015 seconds > Executing merge: + total > Executing combination merge: + year + sex ~ NOTE: 69 missings generated from grouping variables (6.9 %). Number of observations: 931/1.000 + age ~ NOTE: 89 missings generated from grouping variables (8.9 %). Number of observations: 911/1.000 + education ~ NOTE: 72 missings generated from grouping variables (7.2 %). Number of observations: 928/1.000 + year + sex ~ NOTE: 69 missings generated from grouping variables (6.9 %). Number of observations: 931/1.000 + year + age ~ NOTE: 89 missings generated from grouping variables (8.9 %). Number of observations: 911/1.000 + year + education ~ NOTE: 72 missings generated from grouping variables (7.2 %). Number of observations: 928/1.000 + sex + age ~ NOTE: 151 missings generated from grouping variables (15.1 %). Number of observations: 849/1.000 + sex + education ~ NOTE: 138 missings generated from grouping variables (13.8 %). Number of observations: 862/1.000 + age + education ~ NOTE: 150 missings generated from grouping variables (15 %). Number of observations: 850/1.000 + year + sex + age ~ NOTE: 151 missings generated from grouping variables (15.1 %). Number of observations: 849/1.000 + year + sex + education ~ NOTE: 138 missings generated from grouping variables (13.8 %). Number of observations: 862/1.000 + year + age + education ~ NOTE: 150 missings generated from grouping variables (15 %). Number of observations: 850/1.000 + sex + age + education ~ NOTE: 209 missings generated from grouping variables (20.9 %). Number of observations: 791/1.000 + year + sex + age + education ~ NOTE: 209 missings generated from grouping variables (20.9 %). Number of observations: 791/1.000 > Putting results together. - - - 'summarise_plus' execution time: 0.404 seconds > Executing merge: + total > Executing combination merge: + age ~ NOTE: 89 missings generated from grouping variables (8.9 %). Number of observations: 911/1.000 + year + sex ~ NOTE: 69 missings generated from grouping variables (6.9 %). Number of observations: 931/1.000 + sex + age ~ NOTE: 151 missings generated from grouping variables (15.1 %). Number of observations: 849/1.000 > Putting results together. - - - 'summarise_plus' execution time: 0.117 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.015 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.014 seconds > Executing nested merge. ~ NOTE: 151 missings generated from grouping variables (15.1 %). Number of observations: 849/1.000 - - - 'summarise_plus' execution time: 0.019 seconds > Executing nested merge. ~ NOTE: 151 missings generated from grouping variables (15.1 %). Number of observations: 849/1.000 - - - 'summarise_plus' execution time: 0.026 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.02 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.015 seconds > Executing nested merge. ~ NOTE: 109 missings generated from grouping variables (10.9 %). Number of observations: 891/1.000 - - - 'summarise_plus' execution time: 0.024 seconds > Executing nested merge. - - - 'summarise_plus' execution time: 0.025 seconds [ FAIL 0 | WARN 0 | SKIP 0 | PASS 423 ] > > proc.time() user system elapsed 40.85 2.23 43.07