CRAN Package Check Results for Package metalite.sl

Last updated on 2025-02-22 06:51:37 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 8.95 117.47 126.42 OK
r-devel-linux-x86_64-debian-gcc 0.1.0 5.30 79.96 85.26 OK
r-devel-linux-x86_64-fedora-clang 0.1.0 189.27 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.0 191.69 ERROR
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 9.24 105.77 115.01 OK
r-release-linux-x86_64 0.1.0 8.06 103.93 111.99 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 9.00 134.00 143.00 OK
r-oldrel-macos-arm64 0.1.0 71.00 OK
r-oldrel-macos-x86_64 0.1.0 136.00 OK
r-oldrel-windows-x86_64 0.1.0 12.00 169.00 181.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: > ### 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/Rtmp83TD5h/working_dir/RtmpcuI9h1/file34a70f1fe49c29.Rdata Error in unlist(attr(text, "text_indent_first"), attr(text, "text_indent_left"), : 'recursive' must be of length 1 Calls: rtf_exp_duration ... rtf_encode_table -> paste -> as_rtf_footnote -> unlist Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [13s/16s] 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/Rtmp83TD5h/working_dir/RtmpljREOc/file34bcb252f54d66.Rdata The output is saved in/tmp/Rtmp83TD5h/working_dir/RtmpljREOc/disposition1.rtf The outdata is saved in/tmp/Rtmp83TD5h/working_dir/RtmpljREOc/file34bcb262df64d4.Rdata The output is saved in/tmp/Rtmp83TD5h/working_dir/RtmpljREOc/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/Rtmp83TD5h/working_dir/RtmpljREOc/file34bcb253beb777.Rdata The outdata is saved in/tmp/Rtmp83TD5h/working_dir/RtmpljREOc/file34bcb25b99e937.Rdata The outdata is saved in/tmp/Rtmp83TD5h/working_dir/RtmpljREOc/file34bcb2772cb89c.Rdata The outdata is saved in/tmp/Rtmp83TD5h/working_dir/RtmpljREOc/file34bcb27fb50460.Rdata The output is saved in/tmp/Rtmp83TD5h/working_dir/RtmpljREOc/trt_compliance.rtf The outdata is saved in/tmp/Rtmp83TD5h/working_dir/RtmpljREOc/file34bcb26a7e9b1d.Rdata The output is saved in/tmp/Rtmp83TD5h/working_dir/RtmpljREOc/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 of length 1 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 of length 1 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 of length 1 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-fedora-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 of length 1 --- 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-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.1.0
Check: examples
Result: ERROR Running examples in ‘metalite.sl-Ex.R’ failed The error most likely occurred in: > ### 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/Rtmpgs8LAp/working_dir/RtmpWpViG7/file32581298f69c.Rdata Error in unlist(attr(text, "text_indent_first"), attr(text, "text_indent_left"), : 'recursive' must be of length 1 Calls: rtf_exp_duration ... rtf_encode_table -> paste -> as_rtf_footnote -> unlist Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [12s/15s] 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/Rtmpgs8LAp/working_dir/Rtmpw59Lwv/file32710e445ca9d8.Rdata The output is saved in/tmp/Rtmpgs8LAp/working_dir/Rtmpw59Lwv/disposition1.rtf The outdata is saved in/tmp/Rtmpgs8LAp/working_dir/Rtmpw59Lwv/file32710e4db90651.Rdata The output is saved in/tmp/Rtmpgs8LAp/working_dir/Rtmpw59Lwv/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/Rtmpgs8LAp/working_dir/Rtmpw59Lwv/file32710e39d11ce9.Rdata The outdata is saved in/tmp/Rtmpgs8LAp/working_dir/Rtmpw59Lwv/file32710e5be39a9b.Rdata The outdata is saved in/tmp/Rtmpgs8LAp/working_dir/Rtmpw59Lwv/file32710e7408ec19.Rdata The outdata is saved in/tmp/Rtmpgs8LAp/working_dir/Rtmpw59Lwv/file32710e78733958.Rdata The output is saved in/tmp/Rtmpgs8LAp/working_dir/Rtmpw59Lwv/trt_compliance.rtf The outdata is saved in/tmp/Rtmpgs8LAp/working_dir/Rtmpw59Lwv/file32710e6cfa46fa.Rdata The output is saved in/tmp/Rtmpgs8LAp/working_dir/Rtmpw59Lwv/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 of length 1 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 of length 1 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 of length 1 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-fedora-gcc