CRAN Package Check Results for Package rtables

Last updated on 2024-06-22 03:49:41 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.6.8 38.28 848.97 887.25 OK
r-devel-linux-x86_64-debian-gcc 0.6.7 26.31 155.41 181.72 ERROR
r-devel-linux-x86_64-fedora-clang 0.6.8 1059.93 NOTE
r-devel-linux-x86_64-fedora-gcc 0.6.8 1050.06 OK
r-devel-windows-x86_64 0.6.7 26.00 452.00 478.00 NOTE
r-patched-linux-x86_64 0.6.7 39.57 736.06 775.63 OK
r-release-linux-x86_64 0.6.7 29.73 738.32 768.05 OK
r-release-macos-arm64 0.6.8 267.00 NOTE
r-release-macos-x86_64 0.6.8 769.00 NOTE
r-release-windows-x86_64 0.6.7 28.00 516.00 544.00 NOTE
r-oldrel-macos-arm64 0.6.8 320.00 ERROR
r-oldrel-macos-x86_64 0.6.8 698.00 ERROR
r-oldrel-windows-x86_64 0.6.8 26.00 487.00 513.00 NOTE

Check Details

Version: 0.6.7
Check: for code/documentation mismatches
Result: WARN Codoc mismatches from Rd file 'formatters_methods.Rd': \S4method{nlines}{TableRow} Code: function(x, colwidths, max_width) Docs: function(x, colwidths = NULL, max_width = NULL) Mismatches in argument default values: Name: 'colwidths' Code: Docs: NULL Name: 'max_width' Code: Docs: NULL \S4method{nlines}{LabelRow} Code: function(x, colwidths, max_width) Docs: function(x, colwidths = NULL, max_width = NULL) Mismatches in argument default values: Name: 'colwidths' Code: Docs: NULL Name: 'max_width' Code: Docs: NULL \S4method{nlines}{RefFootnote} Code: function(x, colwidths, max_width) Docs: function(x, colwidths = NULL, max_width = NULL) Mismatches in argument default values: Name: 'colwidths' Code: Docs: NULL Name: 'max_width' Code: Docs: NULL \S4method{nlines}{InstantiatedColumnInfo} Code: function(x, colwidths, max_width) Docs: function(x, colwidths = NULL, max_width = NULL) Mismatches in argument default values: Name: 'colwidths' Code: Docs: NULL Name: 'max_width' Code: Docs: NULL Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.6.7
Check: examples
Result: ERROR Running examples in ‘rtables-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: add_colcounts > ### Title: Add the column population counts to the header > ### Aliases: add_colcounts > > ### ** Examples > > lyt <- basic_table() %>% + split_cols_by("ARM") %>% + add_colcounts() %>% + split_rows_by("RACE", split_fun = drop_split_levels) %>% + analyze("AGE", afun = function(x) list(min = min(x), max = max(x))) > lyt A Pre-data Table Layout Column-Split Structure: ARM (lvls) Row-Split Structure: RACE (lvls) -> AGE (** analysis **) > > tbl <- build_table(lyt, DM) Error in nlines(strsplit(s, "\n", fixed = TRUE), max_width = w) : argument "fontspec" is missing, with no default Calls: build_table ... FUN -> FUN -> vapply -> FUN -> wrap_txt -> open_font_dev Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.6.7
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/4s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > test_check("rtables", reporter = "check") Loading required package: rtables Loading required package: formatters Attaching package: 'formatters' The following object is masked from 'package:base': %||% Loading required package: magrittr Attaching package: 'magrittr' The following objects are masked from 'package:testthat': equals, is_less_than, not Attaching package: 'rtables' The following object is masked from 'package:utils': str Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union Error in `FUN()`: ! In path: "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/rtables.Rcheck/tests/testthat/setup-fakedata.R" Caused by error in `nlines()`: ! argument "fontspec" is missing, with no default Backtrace: ▆ 1. ├─testthat::test_check("rtables", reporter = "check") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_setup(".", env) 7. │ └─testthat::source_dir(path, "^setup.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(path, env = env, chdir = chdir, wrap = wrap) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. │ └─rtables:::tt_to_test_wrapping() at tests/testthat/setup-fakedata.R:187:1 15. │ └─... %>% build_table(trimmed_data) at tests/testthat/setup-fakedata.R:174:3 16. ├─rtables::build_table(., trimmed_data) 17. │ └─rtables::update_ref_indexing(tab) 18. │ ├─formatters::make_row_df(tt) 19. │ └─rtables::make_row_df(tt) 20. │ └─rtables (local) .local(...) 21. │ ├─formatters::make_row_df(...) 22. │ └─rtables::make_row_df(...) 23. │ └─rtables (local) .local(...) 24. │ ├─formatters::make_row_df(...) 25. │ └─rtables::make_row_df(...) 26. │ └─rtables (local) .local(...) 27. │ ├─formatters::make_row_df(...) 28. │ └─rtables::make_row_df(...) 29. │ └─rtables (local) .local(...) 30. │ ├─formatters::pagdfrow(...) 31. │ │ └─base::data.frame(...) 32. │ ├─formatters::nlines(tt, colwidths = colwidths, max_width = max_width) 33. │ └─rtables::nlines(tt, colwidths = colwidths, max_width = max_width) 34. │ └─rtables (local) .local(x, colwidths, max_width) 35. │ ├─base::unlist(...) 36. │ └─base::mapply(...) 37. │ └─rtables (local) `<fn>`(s = dots[[1L]][[1L]], w = dots[[2L]][[1L]]) 38. │ ├─formatters::nlines(strsplit(s, "\n", fixed = TRUE), max_width = w) 39. │ └─formatters::nlines(strsplit(s, "\n", fixed = TRUE), max_width = w) 40. │ ├─base::unlist(...) 41. │ └─base::vapply(...) 42. │ ├─formatters (local) FUN(X[[i]], ...) 43. │ └─formatters (local) FUN(X[[i]], ...) 44. │ └─base::vapply(...) 45. │ └─formatters (local) FUN(X[[i]], ...) 46. │ └─formatters::wrap_txt(xi, max_width, fontspec = fontspec) 47. │ └─formatters::open_font_dev(fontspec) 48. └─base::.handleSimpleError(...) 49. └─testthat (local) h(simpleError(msg, call)) 50. └─rlang::abort(...) Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.6.7
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘advanced_usage.Rmd’ using rmarkdown Quitting from lines 31-38 [unnamed-chunk-2] (advanced_usage.Rmd) Error: processing vignette 'advanced_usage.Rmd' failed with diagnostics: argument "fontspec" is missing, with no default --- failed re-building ‘advanced_usage.Rmd’ --- re-building ‘baseline.Rmd’ using rmarkdown Quitting from lines 42-50 [unnamed-chunk-3] (baseline.Rmd) Error: processing vignette 'baseline.Rmd' failed with diagnostics: argument "fontspec" is missing, with no default --- failed re-building ‘baseline.Rmd’ --- re-building ‘clinical_trials.Rmd’ using rmarkdown Quitting from lines 65-78 [unnamed-chunk-4] (clinical_trials.Rmd) Error: processing vignette 'clinical_trials.Rmd' failed with diagnostics: argument "fontspec" is missing, with no default --- failed re-building ‘clinical_trials.Rmd’ --- re-building ‘custom_appearance.Rmd’ using rmarkdown Quitting from lines 58-70 [unnamed-chunk-4] (custom_appearance.Rmd) Error: processing vignette 'custom_appearance.Rmd' failed with diagnostics: argument "fontspec" is missing, with no default --- failed re-building ‘custom_appearance.Rmd’ --- re-building ‘example_analysis_coxreg.Rmd’ using rmarkdown Quitting from lines 376-378 [unnamed-chunk-10] (example_analysis_coxreg.Rmd) Error: processing vignette 'example_analysis_coxreg.Rmd' failed with diagnostics: argument "fontspec" is missing, with no default --- failed re-building ‘example_analysis_coxreg.Rmd’ --- re-building ‘exploratory_analysis.Rmd’ using rmarkdown Quitting from lines 55-57 [unnamed-chunk-5] (exploratory_analysis.Rmd) Error: processing vignette 'exploratory_analysis.Rmd' failed with diagnostics: argument "fontspec" is missing, with no default --- failed re-building ‘exploratory_analysis.Rmd’ --- re-building ‘format_precedence.Rmd’ using rmarkdown Quitting from lines 73-81 [unnamed-chunk-4] (format_precedence.Rmd) Error: processing vignette 'format_precedence.Rmd' failed with diagnostics: argument "fontspec" is missing, with no default --- failed re-building ‘format_precedence.Rmd’ --- re-building ‘introduction.Rmd’ using rmarkdown Quitting from lines 91-102 [unnamed-chunk-4] (introduction.Rmd) Error: processing vignette 'introduction.Rmd' failed with diagnostics: argument "fontspec" is missing, with no default --- failed re-building ‘introduction.Rmd’ --- re-building ‘introspecting_tables.Rmd’ using rmarkdown Quitting from lines 30-40 [unnamed-chunk-3] (introspecting_tables.Rmd) Error: processing vignette 'introspecting_tables.Rmd' failed with diagnostics: argument "fontspec" is missing, with no default --- failed re-building ‘introspecting_tables.Rmd’ --- re-building ‘manual_table_construction.Rmd’ using rmarkdown Quitting from lines 65-66 [unnamed-chunk-5] (manual_table_construction.Rmd) Error: processing vignette 'manual_table_construction.Rmd' failed with diagnostics: argument "fontspec" is missing, with no default --- failed re-building ‘manual_table_construction.Rmd’ --- re-building ‘sorting_pruning.Rmd’ using rmarkdown Quitting from lines 37-51 [unnamed-chunk-3] (sorting_pruning.Rmd) Error: processing vignette 'sorting_pruning.Rmd' failed with diagnostics: argument "fontspec" is missing, with no default --- failed re-building ‘sorting_pruning.Rmd’ --- re-building ‘split_functions.Rmd’ using rmarkdown Quitting from lines 118-127 [examples] (split_functions.Rmd) Error: processing vignette 'split_functions.Rmd' failed with diagnostics: argument "fontspec" is missing, with no default --- failed re-building ‘split_functions.Rmd’ --- re-building ‘subsetting_tables.Rmd’ using rmarkdown Quitting from lines 39-49 [unnamed-chunk-3] (subsetting_tables.Rmd) Error: processing vignette 'subsetting_tables.Rmd' failed with diagnostics: argument "fontspec" is missing, with no default --- failed re-building ‘subsetting_tables.Rmd’ --- re-building ‘tabulation_concepts.Rmd’ using rmarkdown Quitting from lines 90-102 [unnamed-chunk-6] (tabulation_concepts.Rmd) Error: processing vignette 'tabulation_concepts.Rmd' failed with diagnostics: argument "fontspec" is missing, with no default --- failed re-building ‘tabulation_concepts.Rmd’ --- re-building ‘tabulation_dplyr.Rmd’ using rmarkdown Quitting from lines 45-70 [unnamed-chunk-4] (tabulation_dplyr.Rmd) Error: processing vignette 'tabulation_dplyr.Rmd' failed with diagnostics: argument "fontspec" is missing, with no default --- failed re-building ‘tabulation_dplyr.Rmd’ --- re-building ‘title_footer.Rmd’ using rmarkdown Quitting from lines 46-61 [unnamed-chunk-3] (title_footer.Rmd) Error: processing vignette 'title_footer.Rmd' failed with diagnostics: argument "fontspec" is missing, with no default --- failed re-building ‘title_footer.Rmd’ SUMMARY: processing the following files failed: ‘advanced_usage.Rmd’ ‘baseline.Rmd’ ‘clinical_trials.Rmd’ ‘custom_appearance.Rmd’ ‘example_analysis_coxreg.Rmd’ ‘exploratory_analysis.Rmd’ ‘format_precedence.Rmd’ ‘introduction.Rmd’ ‘introspecting_tables.Rmd’ ‘manual_table_construction.Rmd’ ‘sorting_pruning.Rmd’ ‘split_functions.Rmd’ ‘subsetting_tables.Rmd’ ‘tabulation_concepts.Rmd’ ‘tabulation_dplyr.Rmd’ ‘title_footer.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.6.8
Check: installed package size
Result: NOTE installed size is 5.6Mb sub-directories of 1Mb or more: R 1.5Mb doc 1.5Mb help 2.4Mb Flavors: r-devel-linux-x86_64-fedora-clang, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64

Version: 0.6.7
Check: installed package size
Result: NOTE installed size is 5.4Mb sub-directories of 1Mb or more: R 1.4Mb doc 1.4Mb help 2.4Mb Flavors: r-devel-windows-x86_64, r-release-windows-x86_64

Version: 0.6.8
Check: running R code from vignettes
Result: ERROR Errors in running code in vignettes: when running code in ‘col_counts.Rmd’ ... > tbl4 When sourcing ‘col_counts.R’: Error: error in evaluating the argument 'x' in selecting a method for function 'toString': Detected different colcount visibility among sibling facets (those arising from the same split_cols_by* layout instruction). This is not supported. Set count values to NA if you want a blank space to appear as the displayed count for particular facets. First disagreement occured at paths: ARM[A: Drug X]->SEX[F] ARM[A: Drug X]->SEX[M] Execution halted ‘advanced_usage.Rmd’ using ‘UTF-8’... [2s/2s] OK ‘baseline.Rmd’ using ‘UTF-8’... [1s/1s] OK ‘clinical_trials.Rmd’ using ‘UTF-8’... [9s/10s] OK ‘col_counts.Rmd’ using ‘UTF-8’... failed ‘custom_appearance.Rmd’ using ‘UTF-8’... [5s/5s] OK ‘example_analysis_coxreg.Rmd’ using ‘UTF-8’... [2s/2s] OK ‘exploratory_analysis.Rmd’ using ‘UTF-8’... [4s/4s] OK ‘format_precedence.Rmd’ using ‘UTF-8’... [3s/3s] OK ‘introduction.Rmd’ using ‘UTF-8’... [3s/3s] OK ‘introspecting_tables.Rmd’ using ‘UTF-8’... [2s/2s] OK ‘manual_table_construction.Rmd’ using ‘UTF-8’... [1s/1s] OK ‘sorting_pruning.Rmd’ using ‘UTF-8’... [6s/6s] OK ‘split_functions.Rmd’ using ‘UTF-8’... [2s/2s] OK ‘subsetting_tables.Rmd’ using ‘UTF-8’... [3s/3s] OK ‘tabulation_concepts.Rmd’ using ‘UTF-8’... [3s/3s] OK ‘tabulation_dplyr.Rmd’ using ‘UTF-8’... [2s/2s] OK ‘title_footer.Rmd’ using ‘UTF-8’... [4s/4s] OK Flavor: r-oldrel-macos-arm64

Version: 0.6.8
Check: running R code from vignettes
Result: ERROR Errors in running code in vignettes: when running code in ‘col_counts.Rmd’ ... > tbl4 When sourcing ‘col_counts.R’: Error: error in evaluating the argument 'x' in selecting a method for function 'toString': Detected different colcount visibility among sibling facets (those arising from the same split_cols_by* layout instruction). This is not supported. Set count values to NA if you want a blank space to appear as the displayed count for particular facets. First disagreement occured at paths: ARM[A: Drug X]->SEX[F] ARM[A: Drug X]->SEX[M] Execution halted ‘advanced_usage.Rmd’ using ‘UTF-8’... [3s/4s] OK ‘baseline.Rmd’ using ‘UTF-8’... [2s/3s] OK ‘clinical_trials.Rmd’ using ‘UTF-8’... [15s/22s] OK ‘col_counts.Rmd’ using ‘UTF-8’... failed ‘custom_appearance.Rmd’ using ‘UTF-8’... [8s/10s] OK ‘example_analysis_coxreg.Rmd’ using ‘UTF-8’... [3s/6s] OK ‘exploratory_analysis.Rmd’ using ‘UTF-8’... [6s/11s] OK ‘format_precedence.Rmd’ using ‘UTF-8’... [4s/6s] OK ‘introduction.Rmd’ using ‘UTF-8’... [5s/6s] OK ‘introspecting_tables.Rmd’ using ‘UTF-8’... [3s/4s] OK ‘manual_table_construction.Rmd’ using ‘UTF-8’... [1s/2s] OK ‘sorting_pruning.Rmd’ using ‘UTF-8’... [10s/14s] OK ‘split_functions.Rmd’ using ‘UTF-8’... [4s/6s] OK ‘subsetting_tables.Rmd’ using ‘UTF-8’... [4s/6s] OK ‘tabulation_concepts.Rmd’ using ‘UTF-8’... [6s/8s] OK ‘tabulation_dplyr.Rmd’ using ‘UTF-8’... [3s/5s] OK ‘title_footer.Rmd’ using ‘UTF-8’... [6s/9s] OK Flavor: r-oldrel-macos-x86_64