CRAN Package Check Results for Package metalite.sl

Last updated on 2025-03-01 06:51:14 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 7.11 111.04 118.15 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.0 5.81 79.79 85.60 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.0 210.63 OK
r-devel-linux-x86_64-fedora-gcc 0.1.0 212.52 OK
r-devel-macos-arm64 0.1.0 71.00 OK
r-devel-macos-x86_64 0.1.0 127.00 OK
r-devel-windows-x86_64 0.1.0 9.00 135.00 144.00 OK
r-patched-linux-x86_64 0.1.0 7.96 106.37 114.33 OK
r-release-linux-x86_64 0.1.0 6.74 105.83 112.57 OK
r-release-macos-arm64 0.1.0 75.00 OK
r-release-macos-x86_64 0.1.0 148.00 OK
r-release-windows-x86_64 0.1.0 10.00 135.00 145.00 OK
r-oldrel-macos-arm64 0.1.0 OK
r-oldrel-macos-x86_64 0.1.0 136.00 OK
r-oldrel-windows-x86_64 0.1.0 12.00 165.00 177.00 OK

Check Details

Version: 0.1.0
Check: examples
Result: ERROR Running examples in ‘metalite.sl-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: rtf_exp_duration > ### Title: Exposure duration table > ### Aliases: rtf_exp_duration > > ### ** Examples > > meta <- meta_sl_exposure_example() > > meta |> + prepare_exp_duration(population = "apat", parameter = "expdur") |> + format_exp_duration(display_col = c("n", "prop", "total")) |> + rtf_exp_duration( + source = "Source: [CDISCpilot: adam-adsl; adex]", + path_outdata = tempfile(fileext = ".Rdata"), + path_outtable = tempfile(fileext = ".rtf") + ) The outdata is saved in/home/hornik/tmp/scratch/RtmpWXk746/file48ab272b5efe7.Rdata Error in unlist(attr(text, "text_indent_first"), attr(text, "text_indent_left"), : 'recursive' must be a length-1 vector Calls: rtf_exp_duration ... rtf_encode_table -> paste -> as_rtf_footnote -> unlist Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [9s/10s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(metalite.sl) > > test_check("metalite.sl") The outdata is saved in/home/hornik/tmp/scratch/RtmpKiLoz0/file4a94d1a672d2d.Rdata The output is saved in/home/hornik/tmp/scratch/RtmpKiLoz0/disposition1.rtf The outdata is saved in/home/hornik/tmp/scratch/RtmpKiLoz0/file4a94d6f8b7ce4.Rdata The output is saved in/home/hornik/tmp/scratch/RtmpKiLoz0/disposition2.rtf 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 Attaching package: 'tidyr' The following object is masked from 'package:testthat': matches The outdata is saved in/home/hornik/tmp/scratch/RtmpKiLoz0/file4a94d2905903e.Rdata The outdata is saved in/home/hornik/tmp/scratch/RtmpKiLoz0/file4a94d511a6b9e.Rdata The outdata is saved in/home/hornik/tmp/scratch/RtmpKiLoz0/file4a94d3d65a05.Rdata The outdata is saved in/home/hornik/tmp/scratch/RtmpKiLoz0/file4a94d5a20b229.Rdata The output is saved in/home/hornik/tmp/scratch/RtmpKiLoz0/trt_compliance.rtf The outdata is saved in/home/hornik/tmp/scratch/RtmpKiLoz0/file4a94d280efb85.Rdata The output is saved in/home/hornik/tmp/scratch/RtmpKiLoz0/trt_compliance1.rtf [ FAIL 3 | WARN 0 | SKIP 4 | PASS 41 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test-independent-testing-disposition.R:32:3', 'test-independent-testing-disposition.R:55:3', 'test-independent-testing-trt_compliance.R:32:3', 'test-independent-testing-trt_compliance.R:55:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-independent-testing-rtf_exp_duration.R:19:3'): rtf output: n, and prop, NO total. With 2 decimal places. ── Error in `unlist(attr(text, "text_indent_first"), attr(text, "text_indent_left"), attr(text, "text_indent_right"))`: 'recursive' must be a length-1 vector Backtrace: ▆ 1. └─metalite.sl::rtf_exp_duration(...) at test-independent-testing-rtf_exp_duration.R:19:3 2. └─metalite.sl::rtf_sl_summary(...) 3. └─metalite.sl:::rtf_output(outdata, path_outdata, path_outtable) 4. ├─r2rtf::write_rtf(r2rtf::rtf_encode(outdata$rtf), file = path_outtable) 5. │ ├─base::write(paste(unlist(rtf), collapse = "\n"), file) 6. │ │ └─base::cat(...) 7. │ ├─base::paste(unlist(rtf), collapse = "\n") 8. │ └─base::unlist(rtf) 9. └─r2rtf::rtf_encode(outdata$rtf) 10. └─r2rtf:::rtf_encode_table(tbl, verbose = verbose) 11. ├─base::paste(as_rtf_footnote(tbl_1), collapse = "\n") 12. └─r2rtf:::as_rtf_footnote(tbl_1) 13. └─base::unlist(...) ── Error ('test-independent-testing-rtf_exp_duration.R:38:3'): rtf output: n, prop and total, with Landscape ── Error in `unlist(attr(text, "text_indent_first"), attr(text, "text_indent_left"), attr(text, "text_indent_right"))`: 'recursive' must be a length-1 vector Backtrace: ▆ 1. └─metalite.sl::rtf_exp_duration(...) at test-independent-testing-rtf_exp_duration.R:38:3 2. └─metalite.sl::rtf_sl_summary(...) 3. └─metalite.sl:::rtf_output(outdata, path_outdata, path_outtable) 4. ├─r2rtf::write_rtf(r2rtf::rtf_encode(outdata$rtf), file = path_outtable) 5. │ ├─base::write(paste(unlist(rtf), collapse = "\n"), file) 6. │ │ └─base::cat(...) 7. │ ├─base::paste(unlist(rtf), collapse = "\n") 8. │ └─base::unlist(rtf) 9. └─r2rtf::rtf_encode(outdata$rtf) 10. └─r2rtf:::rtf_encode_table(tbl, verbose = verbose) 11. ├─base::paste(as_rtf_footnote(tbl_1), collapse = "\n") 12. └─r2rtf:::as_rtf_footnote(tbl_1) 13. └─base::unlist(...) ── Error ('test-independent-testing-rtf_exp_duration.R:57:3'): rtf output: n, prop and total, with no value of col_rel_width ── Error in `unlist(attr(text, "text_indent_first"), attr(text, "text_indent_left"), attr(text, "text_indent_right"))`: 'recursive' must be a length-1 vector Backtrace: ▆ 1. └─metalite.sl::rtf_exp_duration(...) at test-independent-testing-rtf_exp_duration.R:57:3 2. └─metalite.sl::rtf_sl_summary(...) 3. └─metalite.sl:::rtf_output(outdata, path_outdata, path_outtable) 4. ├─r2rtf::write_rtf(r2rtf::rtf_encode(outdata$rtf), file = path_outtable) 5. │ ├─base::write(paste(unlist(rtf), collapse = "\n"), file) 6. │ │ └─base::cat(...) 7. │ ├─base::paste(unlist(rtf), collapse = "\n") 8. │ └─base::unlist(rtf) 9. └─r2rtf::rtf_encode(outdata$rtf) 10. └─r2rtf:::rtf_encode_table(tbl, verbose = verbose) 11. ├─base::paste(as_rtf_footnote(tbl_1), collapse = "\n") 12. └─r2rtf:::as_rtf_footnote(tbl_1) 13. └─base::unlist(...) [ FAIL 3 | WARN 0 | SKIP 4 | PASS 41 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘baseline-character.Rmd’ using rmarkdown --- finished re-building ‘baseline-character.Rmd’ --- re-building ‘disposition.Rmd’ using rmarkdown --- finished re-building ‘disposition.Rmd’ --- re-building ‘exp_duration.Rmd’ using rmarkdown Quitting from lines 149-155 [unnamed-chunk-11] (exp_duration.Rmd) Error: processing vignette 'exp_duration.Rmd' failed with diagnostics: 'recursive' must be a length-1 vector --- failed re-building ‘exp_duration.Rmd’ --- re-building ‘interactive-baseline.Rmd’ using rmarkdown --- finished re-building ‘interactive-baseline.Rmd’ --- re-building ‘metalite.sl.Rmd’ using rmarkdown --- finished re-building ‘metalite.sl.Rmd’ --- re-building ‘trt_compliance.Rmd’ using rmarkdown --- finished re-building ‘trt_compliance.Rmd’ SUMMARY: processing the following file failed: ‘exp_duration.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.1.0
Check: examples
Result: ERROR Running examples in ‘metalite.sl-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: rtf_exp_duration > ### Title: Exposure duration table > ### Aliases: rtf_exp_duration > > ### ** Examples > > meta <- meta_sl_exposure_example() > > meta |> + prepare_exp_duration(population = "apat", parameter = "expdur") |> + format_exp_duration(display_col = c("n", "prop", "total")) |> + rtf_exp_duration( + source = "Source: [CDISCpilot: adam-adsl; adex]", + path_outdata = tempfile(fileext = ".Rdata"), + path_outtable = tempfile(fileext = ".rtf") + ) The outdata is saved in/tmp/RtmpJZeasj/file11ac823cc9da58.Rdata Error in unlist(attr(text, "text_indent_first"), attr(text, "text_indent_left"), : 'recursive' must be a length-1 vector Calls: rtf_exp_duration ... rtf_encode_table -> paste -> as_rtf_footnote -> unlist Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [6s/9s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # 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/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(metalite.sl) > > test_check("metalite.sl") The outdata is saved in/tmp/Rtmp5OQiuv/file11ebc27e59ac07.Rdata The output is saved in/tmp/Rtmp5OQiuv/disposition1.rtf The outdata is saved in/tmp/Rtmp5OQiuv/file11ebc21664fe33.Rdata The output is saved in/tmp/Rtmp5OQiuv/disposition2.rtf 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 Attaching package: 'tidyr' The following object is masked from 'package:testthat': matches The outdata is saved in/tmp/Rtmp5OQiuv/file11ebc232e98cda.Rdata The outdata is saved in/tmp/Rtmp5OQiuv/file11ebc24b6aba82.Rdata The outdata is saved in/tmp/Rtmp5OQiuv/file11ebc26b3d2c39.Rdata The outdata is saved in/tmp/Rtmp5OQiuv/file11ebc2a31e14a.Rdata The output is saved in/tmp/Rtmp5OQiuv/trt_compliance.rtf The outdata is saved in/tmp/Rtmp5OQiuv/file11ebc26d43705f.Rdata The output is saved in/tmp/Rtmp5OQiuv/trt_compliance1.rtf [ FAIL 3 | WARN 0 | SKIP 4 | PASS 41 ] ══ Skipped tests (4) ═══════════════════════════════════════════════════════════ • On CRAN (4): 'test-independent-testing-disposition.R:32:3', 'test-independent-testing-disposition.R:55:3', 'test-independent-testing-trt_compliance.R:32:3', 'test-independent-testing-trt_compliance.R:55:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-independent-testing-rtf_exp_duration.R:19:3'): rtf output: n, and prop, NO total. With 2 decimal places. ── Error in `unlist(attr(text, "text_indent_first"), attr(text, "text_indent_left"), attr(text, "text_indent_right"))`: 'recursive' must be a length-1 vector Backtrace: ▆ 1. └─metalite.sl::rtf_exp_duration(...) at test-independent-testing-rtf_exp_duration.R:19:3 2. └─metalite.sl::rtf_sl_summary(...) 3. └─metalite.sl:::rtf_output(outdata, path_outdata, path_outtable) 4. ├─r2rtf::write_rtf(r2rtf::rtf_encode(outdata$rtf), file = path_outtable) 5. │ ├─base::write(paste(unlist(rtf), collapse = "\n"), file) 6. │ │ └─base::cat(...) 7. │ ├─base::paste(unlist(rtf), collapse = "\n") 8. │ └─base::unlist(rtf) 9. └─r2rtf::rtf_encode(outdata$rtf) 10. └─r2rtf:::rtf_encode_table(tbl, verbose = verbose) 11. ├─base::paste(as_rtf_footnote(tbl_1), collapse = "\n") 12. └─r2rtf:::as_rtf_footnote(tbl_1) 13. └─base::unlist(...) ── Error ('test-independent-testing-rtf_exp_duration.R:38:3'): rtf output: n, prop and total, with Landscape ── Error in `unlist(attr(text, "text_indent_first"), attr(text, "text_indent_left"), attr(text, "text_indent_right"))`: 'recursive' must be a length-1 vector Backtrace: ▆ 1. └─metalite.sl::rtf_exp_duration(...) at test-independent-testing-rtf_exp_duration.R:38:3 2. └─metalite.sl::rtf_sl_summary(...) 3. └─metalite.sl:::rtf_output(outdata, path_outdata, path_outtable) 4. ├─r2rtf::write_rtf(r2rtf::rtf_encode(outdata$rtf), file = path_outtable) 5. │ ├─base::write(paste(unlist(rtf), collapse = "\n"), file) 6. │ │ └─base::cat(...) 7. │ ├─base::paste(unlist(rtf), collapse = "\n") 8. │ └─base::unlist(rtf) 9. └─r2rtf::rtf_encode(outdata$rtf) 10. └─r2rtf:::rtf_encode_table(tbl, verbose = verbose) 11. ├─base::paste(as_rtf_footnote(tbl_1), collapse = "\n") 12. └─r2rtf:::as_rtf_footnote(tbl_1) 13. └─base::unlist(...) ── Error ('test-independent-testing-rtf_exp_duration.R:57:3'): rtf output: n, prop and total, with no value of col_rel_width ── Error in `unlist(attr(text, "text_indent_first"), attr(text, "text_indent_left"), attr(text, "text_indent_right"))`: 'recursive' must be a length-1 vector Backtrace: ▆ 1. └─metalite.sl::rtf_exp_duration(...) at test-independent-testing-rtf_exp_duration.R:57:3 2. └─metalite.sl::rtf_sl_summary(...) 3. └─metalite.sl:::rtf_output(outdata, path_outdata, path_outtable) 4. ├─r2rtf::write_rtf(r2rtf::rtf_encode(outdata$rtf), file = path_outtable) 5. │ ├─base::write(paste(unlist(rtf), collapse = "\n"), file) 6. │ │ └─base::cat(...) 7. │ ├─base::paste(unlist(rtf), collapse = "\n") 8. │ └─base::unlist(rtf) 9. └─r2rtf::rtf_encode(outdata$rtf) 10. └─r2rtf:::rtf_encode_table(tbl, verbose = verbose) 11. ├─base::paste(as_rtf_footnote(tbl_1), collapse = "\n") 12. └─r2rtf:::as_rtf_footnote(tbl_1) 13. └─base::unlist(...) [ FAIL 3 | WARN 0 | SKIP 4 | PASS 41 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc