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.3 | 4.87 | 264.91 | 269.78 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.1.3 | 3.37 | 157.85 | 161.22 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.1.3 | 414.29 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.1.3 | 397.81 | ERROR | |||
r-devel-macos-arm64 | 0.1.3 | 120.00 | OK | |||
r-devel-macos-x86_64 | 0.1.3 | 255.00 | OK | |||
r-devel-windows-x86_64 | 0.1.3 | 5.00 | 276.00 | 281.00 | OK | |
r-patched-linux-x86_64 | 0.1.3 | 5.27 | 243.81 | 249.08 | OK | |
r-release-linux-x86_64 | 0.1.3 | 4.84 | 241.75 | 246.59 | OK | |
r-release-macos-arm64 | 0.1.3 | 122.00 | OK | |||
r-release-macos-x86_64 | 0.1.3 | 285.00 | OK | |||
r-release-windows-x86_64 | 0.1.3 | 6.00 | 265.00 | 271.00 | OK | |
r-oldrel-macos-arm64 | 0.1.3 | 110.00 | OK | |||
r-oldrel-macos-x86_64 | 0.1.3 | 278.00 | OK | |||
r-oldrel-windows-x86_64 | 0.1.3 | 8.00 | 346.00 | 354.00 | OK |
Version: 0.1.3
Check: examples
Result: ERROR
Running examples in ‘metalite.ae-Ex.R’ failed
The error most likely occurred in:
> ### Name: tlf_ae_specific
> ### Title: Specific adverse events table
> ### Aliases: tlf_ae_specific
>
> ### ** Examples
>
> meta <- meta_ae_example()
>
> meta |>
+ prepare_ae_specific(
+ population = "apat",
+ observation = "wk12",
+ parameter = "rel"
+ ) |>
+ format_ae_specific() |>
+ tlf_ae_specific(
+ source = "Source: [CDISCpilot: adam-adsl; adae]",
+ meddra_version = "24.0",
+ path_outdata = tempfile(fileext = ".Rdata"),
+ path_outtable = tempfile(fileext = ".rtf")
+ )
The outdata is saved in/tmp/Rtmplm2rf6/working_dir/RtmpQDQR5p/file3479a175d2dc2f.Rdata
Error in unlist(attr(text, "text_indent_first"), attr(text, "text_indent_left"), :
'recursive' must be of length 1
Calls: tlf_ae_specific ... rtf_encode_table -> paste -> as_rtf_footnote -> unlist
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.1.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [212s/272s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(metalite.ae)
>
> test_check("metalite.ae")
Generating empty table due to zero observations...
any
any
any
any
any
any
any
any
any
rel
nonser
ser
ser0rel
dth
dtc0rel
disc
disc0drel
disc0ser
disc0ser0rel
The outdata is saved in/tmp/Rtmplm2rf6/working_dir/RtmpWrlEOd/file34bedf4cd1cf27.Rdata
The output is saved in/tmp/Rtmplm2rf6/working_dir/RtmpWrlEOd/ednp_ae0listing.rtf
any
any
The outdata is saved in/tmp/Rtmplm2rf6/working_dir/RtmpWrlEOd/file34bedf15a1b716.Rdata
The output is saved in/tmp/Rtmplm2rf6/working_dir/RtmpWrlEOd/ae0summary0a.rtf
any
any
The outdata is saved in/tmp/Rtmplm2rf6/working_dir/RtmpWrlEOd/file34bedf385fdc98.Rdata
The output is saved in/tmp/Rtmplm2rf6/working_dir/RtmpWrlEOd/ae0summary0b.rtf
The outdata is saved in/tmp/Rtmplm2rf6/working_dir/RtmpWrlEOd/file34bedf5517c978.Rdata
The outdata is saved in/tmp/Rtmplm2rf6/working_dir/RtmpWrlEOd/file34bedf3e0d4cd4.Rdata
The outdata is saved in/tmp/Rtmplm2rf6/working_dir/RtmpWrlEOd/file34bedf27fc6fe5.Rdata
The outdata is saved in/tmp/Rtmplm2rf6/working_dir/RtmpWrlEOd/file34bedf42577b5f.Rdata
The outdata is saved in/tmp/Rtmplm2rf6/working_dir/RtmpWrlEOd/file34bedf1e7fbf35.Rdata
any
rel
ser
The outdata is saved in/tmp/Rtmplm2rf6/working_dir/RtmpWrlEOd/file34bedf55905818.Rdata
The output is saved in/tmp/Rtmplm2rf6/working_dir/RtmpWrlEOd/tlf_ae_summary.rtf
[ FAIL 7 | WARN 0 | SKIP 7 | PASS 206 ]
══ Skipped tests (7) ═══════════════════════════════════════════════════════════
• On CRAN (7): 'test-independent-testing-empty_table.R:68:5',
'test-independent-testing-tlf-ae-listing.R:23:3',
'test-independent-testing-tlf_ae_exp_adj.R:28:3',
'test-independent-testing-tlf_ae_exp_adj.R:58:3',
'test-independent-testing-tlf_ae_summary.R:22:3',
'test-independent-testing-to_mock.R:6:3',
'test-independent-testing-to_mock.R:10:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-independent-testing-tlf_ae_specific.R:13:3'): rtf output: events, dur, n, and prop w/o total ──
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.ae::tlf_ae_specific(...) at test-independent-testing-tlf_ae_specific.R:13:3
2. └─metalite.ae:::rtf_output(outdata, path_outdata, path_outtable)
3. ├─r2rtf::write_rtf(r2rtf::rtf_encode(outdata$rtf), file = path_outtable)
4. │ ├─base::write(paste(unlist(rtf), collapse = "\n"), file)
5. │ │ └─base::cat(...)
6. │ ├─base::paste(unlist(rtf), collapse = "\n")
7. │ └─base::unlist(rtf)
8. └─r2rtf::rtf_encode(outdata$rtf)
9. └─r2rtf:::rtf_encode_table(tbl, verbose = verbose)
10. ├─base::paste(as_rtf_footnote(tbl_1), collapse = "\n")
11. └─r2rtf:::as_rtf_footnote(tbl_1)
12. └─base::unlist(...)
── Error ('test-independent-testing-tlf_ae_specific.R:34:3'): rtf output: events, dur, n, and prop w/ total ──
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.ae::tlf_ae_specific(...) at test-independent-testing-tlf_ae_specific.R:34:3
2. └─metalite.ae:::rtf_output(outdata, path_outdata, path_outtable)
3. ├─r2rtf::write_rtf(r2rtf::rtf_encode(outdata$rtf), file = path_outtable)
4. │ ├─base::write(paste(unlist(rtf), collapse = "\n"), file)
5. │ │ └─base::cat(...)
6. │ ├─base::paste(unlist(rtf), collapse = "\n")
7. │ └─base::unlist(rtf)
8. └─r2rtf::rtf_encode(outdata$rtf)
9. └─r2rtf:::rtf_encode_table(tbl, verbose = verbose)
10. ├─base::paste(as_rtf_footnote(tbl_1), collapse = "\n")
11. └─r2rtf:::as_rtf_footnote(tbl_1)
12. └─base::unlist(...)
── Error ('test-independent-testing-tlf_ae_specific.R:56:3'): rtf output: diff, events, dur, n, and prop w/o total ──
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.ae::tlf_ae_specific(...) at test-independent-testing-tlf_ae_specific.R:56:3
2. └─metalite.ae:::rtf_output(outdata, path_outdata, path_outtable)
3. ├─r2rtf::write_rtf(r2rtf::rtf_encode(outdata$rtf), file = path_outtable)
4. │ ├─base::write(paste(unlist(rtf), collapse = "\n"), file)
5. │ │ └─base::cat(...)
6. │ ├─base::paste(unlist(rtf), collapse = "\n")
7. │ └─base::unlist(rtf)
8. └─r2rtf::rtf_encode(outdata$rtf)
9. └─r2rtf:::rtf_encode_table(tbl, verbose = verbose)
10. ├─base::paste(as_rtf_footnote(tbl_1), collapse = "\n")
11. └─r2rtf:::as_rtf_footnote(tbl_1)
12. └─base::unlist(...)
── Error ('test-independent-testing-tlf_ae_specific.R:78:3'): rtf output: diff, events, dur, n, and prop w/ total ──
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.ae::tlf_ae_specific(...) at test-independent-testing-tlf_ae_specific.R:78:3
2. └─metalite.ae:::rtf_output(outdata, path_outdata, path_outtable)
3. ├─r2rtf::write_rtf(r2rtf::rtf_encode(outdata$rtf), file = path_outtable)
4. │ ├─base::write(paste(unlist(rtf), collapse = "\n"), file)
5. │ │ └─base::cat(...)
6. │ ├─base::paste(unlist(rtf), collapse = "\n")
7. │ └─base::unlist(rtf)
8. └─r2rtf::rtf_encode(outdata$rtf)
9. └─r2rtf:::rtf_encode_table(tbl, verbose = verbose)
10. ├─base::paste(as_rtf_footnote(tbl_1), collapse = "\n")
11. └─r2rtf:::as_rtf_footnote(tbl_1)
12. └─base::unlist(...)
── Error ('test-independent-testing-tlf_ae_specific.R:102:3'): rtf output: events, dur, n, and prop w/ total ──
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.ae::tlf_ae_specific(...) at test-independent-testing-tlf_ae_specific.R:102:3
2. └─metalite.ae:::rtf_output(outdata, path_outdata, path_outtable)
3. ├─r2rtf::write_rtf(r2rtf::rtf_encode(outdata$rtf), file = path_outtable)
4. │ ├─base::write(paste(unlist(rtf), collapse = "\n"), file)
5. │ │ └─base::cat(...)
6. │ ├─base::paste(unlist(rtf), collapse = "\n")
7. │ └─base::unlist(rtf)
8. └─r2rtf::rtf_encode(outdata$rtf)
9. └─r2rtf:::rtf_encode_table(tbl, verbose = verbose)
10. ├─base::paste(as_rtf_footnote(tbl_1), collapse = "\n")
11. └─r2rtf:::as_rtf_footnote(tbl_1)
12. └─base::unlist(...)
── Error ('test-independent-testing-tlf_ae_specific.R:179:7'): relative width 'works' ──
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. ├─testthat::expect_message(...) at test-independent-testing-tlf_ae_specific.R:177:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─metalite.ae::tlf_ae_specific(...) at test-independent-testing-tlf_ae_specific.R:179:7
8. └─metalite.ae:::rtf_output(outdata, path_outdata, path_outtable)
9. ├─r2rtf::write_rtf(r2rtf::rtf_encode(outdata$rtf), file = path_outtable)
10. │ ├─base::write(paste(unlist(rtf), collapse = "\n"), file)
11. │ │ └─base::cat(...)
12. │ ├─base::paste(unlist(rtf), collapse = "\n")
13. │ └─base::unlist(rtf)
14. └─r2rtf::rtf_encode(outdata$rtf)
15. └─r2rtf:::rtf_encode_table(tbl, verbose = verbose)
16. ├─base::paste(as_rtf_footnote(tbl_1), collapse = "\n")
17. └─r2rtf:::as_rtf_footnote(tbl_1)
18. └─base::unlist(...)
── Error ('test-independent-testing-tlf_ae_specific_subgroup.R:14:3'): rtf output: n, and prop w/o total ──
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.ae::tlf_ae_specific_subgroup(...) at test-independent-testing-tlf_ae_specific_subgroup.R:14:3
2. └─metalite.ae:::rtf_output(outdata, path_outdata, path_outtable)
3. ├─r2rtf::write_rtf(r2rtf::rtf_encode(outdata$rtf), file = path_outtable)
4. │ ├─base::write(paste(unlist(rtf), collapse = "\n"), file)
5. │ │ └─base::cat(...)
6. │ ├─base::paste(unlist(rtf), collapse = "\n")
7. │ └─base::unlist(rtf)
8. └─r2rtf::rtf_encode(outdata$rtf)
9. └─r2rtf:::rtf_encode_table(tbl, verbose = verbose)
10. ├─base::paste(as_rtf_footnote(tbl_1), collapse = "\n")
11. └─r2rtf:::as_rtf_footnote(tbl_1)
12. └─base::unlist(...)
[ FAIL 7 | WARN 0 | SKIP 7 | PASS 206 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.1.3
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘ae-listing.Rmd’ using rmarkdown
Quitting from lines 100-107 [unnamed-chunk-10] (ae-listing.Rmd)
Error: processing vignette 'ae-listing.Rmd' failed with diagnostics:
'recursive' must be of length 1
--- failed re-building ‘ae-listing.Rmd’
--- re-building ‘ae-specific-subgroup.Rmd’ using rmarkdown
Quitting from lines 159-166 [unnamed-chunk-17] (ae-specific-subgroup.Rmd)
Error: processing vignette 'ae-specific-subgroup.Rmd' failed with diagnostics:
'recursive' must be of length 1
--- failed re-building ‘ae-specific-subgroup.Rmd’
--- re-building ‘ae-specific.Rmd’ using rmarkdown
Quitting from lines 253-260 [unnamed-chunk-22] (ae-specific.Rmd)
Error: processing vignette 'ae-specific.Rmd' failed with diagnostics:
'recursive' must be of length 1
--- failed re-building ‘ae-specific.Rmd’
--- re-building ‘ae-summary.Rmd’ using rmarkdown
--- finished re-building ‘ae-summary.Rmd’
--- re-building ‘exposure-adjusted-event-rate.Rmd’ using rmarkdown
--- finished re-building ‘exposure-adjusted-event-rate.Rmd’
--- re-building ‘metalite-ae.Rmd’ using rmarkdown
--- finished re-building ‘metalite-ae.Rmd’
--- re-building ‘rate-compare.Rmd’ using rmarkdown
--- finished re-building ‘rate-compare.Rmd’
SUMMARY: processing the following files failed:
‘ae-listing.Rmd’ ‘ae-specific-subgroup.Rmd’ ‘ae-specific.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.3
Check: examples
Result: ERROR
Running examples in ‘metalite.ae-Ex.R’ failed
The error most likely occurred in:
> ### Name: tlf_ae_specific
> ### Title: Specific adverse events table
> ### Aliases: tlf_ae_specific
>
> ### ** Examples
>
> meta <- meta_ae_example()
>
> meta |>
+ prepare_ae_specific(
+ population = "apat",
+ observation = "wk12",
+ parameter = "rel"
+ ) |>
+ format_ae_specific() |>
+ tlf_ae_specific(
+ source = "Source: [CDISCpilot: adam-adsl; adae]",
+ meddra_version = "24.0",
+ path_outdata = tempfile(fileext = ".Rdata"),
+ path_outtable = tempfile(fileext = ".rtf")
+ )
The outdata is saved in/tmp/RtmpuVvhIF/working_dir/Rtmphj47as/file323baf46f4271f.Rdata
Error in unlist(attr(text, "text_indent_first"), attr(text, "text_indent_left"), :
'recursive' must be of length 1
Calls: tlf_ae_specific ... rtf_encode_table -> paste -> as_rtf_footnote -> unlist
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.1.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [197s/238s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(metalite.ae)
>
> test_check("metalite.ae")
Generating empty table due to zero observations...
any
any
any
any
any
any
any
any
any
rel
nonser
ser
ser0rel
dth
dtc0rel
disc
disc0drel
disc0ser
disc0ser0rel
The outdata is saved in/tmp/RtmpuVvhIF/working_dir/RtmpV7hrMs/file3278927f330fdb.Rdata
The output is saved in/tmp/RtmpuVvhIF/working_dir/RtmpV7hrMs/ednp_ae0listing.rtf
any
any
The outdata is saved in/tmp/RtmpuVvhIF/working_dir/RtmpV7hrMs/file327892301a9fff.Rdata
The output is saved in/tmp/RtmpuVvhIF/working_dir/RtmpV7hrMs/ae0summary0a.rtf
any
any
The outdata is saved in/tmp/RtmpuVvhIF/working_dir/RtmpV7hrMs/file3278927e79f0de.Rdata
The output is saved in/tmp/RtmpuVvhIF/working_dir/RtmpV7hrMs/ae0summary0b.rtf
The outdata is saved in/tmp/RtmpuVvhIF/working_dir/RtmpV7hrMs/file32789214f49883.Rdata
The outdata is saved in/tmp/RtmpuVvhIF/working_dir/RtmpV7hrMs/file3278922026043f.Rdata
The outdata is saved in/tmp/RtmpuVvhIF/working_dir/RtmpV7hrMs/file3278927c1413b5.Rdata
The outdata is saved in/tmp/RtmpuVvhIF/working_dir/RtmpV7hrMs/file32789237fac9d4.Rdata
The outdata is saved in/tmp/RtmpuVvhIF/working_dir/RtmpV7hrMs/file32789260bd9b9.Rdata
any
rel
ser
The outdata is saved in/tmp/RtmpuVvhIF/working_dir/RtmpV7hrMs/file3278921fbcd7fa.Rdata
The output is saved in/tmp/RtmpuVvhIF/working_dir/RtmpV7hrMs/tlf_ae_summary.rtf
[ FAIL 7 | WARN 0 | SKIP 7 | PASS 206 ]
══ Skipped tests (7) ═══════════════════════════════════════════════════════════
• On CRAN (7): 'test-independent-testing-empty_table.R:68:5',
'test-independent-testing-tlf-ae-listing.R:23:3',
'test-independent-testing-tlf_ae_exp_adj.R:28:3',
'test-independent-testing-tlf_ae_exp_adj.R:58:3',
'test-independent-testing-tlf_ae_summary.R:22:3',
'test-independent-testing-to_mock.R:6:3',
'test-independent-testing-to_mock.R:10:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-independent-testing-tlf_ae_specific.R:13:3'): rtf output: events, dur, n, and prop w/o total ──
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.ae::tlf_ae_specific(...) at test-independent-testing-tlf_ae_specific.R:13:3
2. └─metalite.ae:::rtf_output(outdata, path_outdata, path_outtable)
3. ├─r2rtf::write_rtf(r2rtf::rtf_encode(outdata$rtf), file = path_outtable)
4. │ ├─base::write(paste(unlist(rtf), collapse = "\n"), file)
5. │ │ └─base::cat(...)
6. │ ├─base::paste(unlist(rtf), collapse = "\n")
7. │ └─base::unlist(rtf)
8. └─r2rtf::rtf_encode(outdata$rtf)
9. └─r2rtf:::rtf_encode_table(tbl, verbose = verbose)
10. ├─base::paste(as_rtf_footnote(tbl_1), collapse = "\n")
11. └─r2rtf:::as_rtf_footnote(tbl_1)
12. └─base::unlist(...)
── Error ('test-independent-testing-tlf_ae_specific.R:34:3'): rtf output: events, dur, n, and prop w/ total ──
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.ae::tlf_ae_specific(...) at test-independent-testing-tlf_ae_specific.R:34:3
2. └─metalite.ae:::rtf_output(outdata, path_outdata, path_outtable)
3. ├─r2rtf::write_rtf(r2rtf::rtf_encode(outdata$rtf), file = path_outtable)
4. │ ├─base::write(paste(unlist(rtf), collapse = "\n"), file)
5. │ │ └─base::cat(...)
6. │ ├─base::paste(unlist(rtf), collapse = "\n")
7. │ └─base::unlist(rtf)
8. └─r2rtf::rtf_encode(outdata$rtf)
9. └─r2rtf:::rtf_encode_table(tbl, verbose = verbose)
10. ├─base::paste(as_rtf_footnote(tbl_1), collapse = "\n")
11. └─r2rtf:::as_rtf_footnote(tbl_1)
12. └─base::unlist(...)
── Error ('test-independent-testing-tlf_ae_specific.R:56:3'): rtf output: diff, events, dur, n, and prop w/o total ──
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.ae::tlf_ae_specific(...) at test-independent-testing-tlf_ae_specific.R:56:3
2. └─metalite.ae:::rtf_output(outdata, path_outdata, path_outtable)
3. ├─r2rtf::write_rtf(r2rtf::rtf_encode(outdata$rtf), file = path_outtable)
4. │ ├─base::write(paste(unlist(rtf), collapse = "\n"), file)
5. │ │ └─base::cat(...)
6. │ ├─base::paste(unlist(rtf), collapse = "\n")
7. │ └─base::unlist(rtf)
8. └─r2rtf::rtf_encode(outdata$rtf)
9. └─r2rtf:::rtf_encode_table(tbl, verbose = verbose)
10. ├─base::paste(as_rtf_footnote(tbl_1), collapse = "\n")
11. └─r2rtf:::as_rtf_footnote(tbl_1)
12. └─base::unlist(...)
── Error ('test-independent-testing-tlf_ae_specific.R:78:3'): rtf output: diff, events, dur, n, and prop w/ total ──
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.ae::tlf_ae_specific(...) at test-independent-testing-tlf_ae_specific.R:78:3
2. └─metalite.ae:::rtf_output(outdata, path_outdata, path_outtable)
3. ├─r2rtf::write_rtf(r2rtf::rtf_encode(outdata$rtf), file = path_outtable)
4. │ ├─base::write(paste(unlist(rtf), collapse = "\n"), file)
5. │ │ └─base::cat(...)
6. │ ├─base::paste(unlist(rtf), collapse = "\n")
7. │ └─base::unlist(rtf)
8. └─r2rtf::rtf_encode(outdata$rtf)
9. └─r2rtf:::rtf_encode_table(tbl, verbose = verbose)
10. ├─base::paste(as_rtf_footnote(tbl_1), collapse = "\n")
11. └─r2rtf:::as_rtf_footnote(tbl_1)
12. └─base::unlist(...)
── Error ('test-independent-testing-tlf_ae_specific.R:102:3'): rtf output: events, dur, n, and prop w/ total ──
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.ae::tlf_ae_specific(...) at test-independent-testing-tlf_ae_specific.R:102:3
2. └─metalite.ae:::rtf_output(outdata, path_outdata, path_outtable)
3. ├─r2rtf::write_rtf(r2rtf::rtf_encode(outdata$rtf), file = path_outtable)
4. │ ├─base::write(paste(unlist(rtf), collapse = "\n"), file)
5. │ │ └─base::cat(...)
6. │ ├─base::paste(unlist(rtf), collapse = "\n")
7. │ └─base::unlist(rtf)
8. └─r2rtf::rtf_encode(outdata$rtf)
9. └─r2rtf:::rtf_encode_table(tbl, verbose = verbose)
10. ├─base::paste(as_rtf_footnote(tbl_1), collapse = "\n")
11. └─r2rtf:::as_rtf_footnote(tbl_1)
12. └─base::unlist(...)
── Error ('test-independent-testing-tlf_ae_specific.R:179:7'): relative width 'works' ──
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. ├─testthat::expect_message(...) at test-independent-testing-tlf_ae_specific.R:177:3
2. │ └─testthat:::expect_condition_matching(...)
3. │ └─testthat:::quasi_capture(...)
4. │ ├─testthat (local) .capture(...)
5. │ │ └─base::withCallingHandlers(...)
6. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
7. └─metalite.ae::tlf_ae_specific(...) at test-independent-testing-tlf_ae_specific.R:179:7
8. └─metalite.ae:::rtf_output(outdata, path_outdata, path_outtable)
9. ├─r2rtf::write_rtf(r2rtf::rtf_encode(outdata$rtf), file = path_outtable)
10. │ ├─base::write(paste(unlist(rtf), collapse = "\n"), file)
11. │ │ └─base::cat(...)
12. │ ├─base::paste(unlist(rtf), collapse = "\n")
13. │ └─base::unlist(rtf)
14. └─r2rtf::rtf_encode(outdata$rtf)
15. └─r2rtf:::rtf_encode_table(tbl, verbose = verbose)
16. ├─base::paste(as_rtf_footnote(tbl_1), collapse = "\n")
17. └─r2rtf:::as_rtf_footnote(tbl_1)
18. └─base::unlist(...)
── Error ('test-independent-testing-tlf_ae_specific_subgroup.R:14:3'): rtf output: n, and prop w/o total ──
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.ae::tlf_ae_specific_subgroup(...) at test-independent-testing-tlf_ae_specific_subgroup.R:14:3
2. └─metalite.ae:::rtf_output(outdata, path_outdata, path_outtable)
3. ├─r2rtf::write_rtf(r2rtf::rtf_encode(outdata$rtf), file = path_outtable)
4. │ ├─base::write(paste(unlist(rtf), collapse = "\n"), file)
5. │ │ └─base::cat(...)
6. │ ├─base::paste(unlist(rtf), collapse = "\n")
7. │ └─base::unlist(rtf)
8. └─r2rtf::rtf_encode(outdata$rtf)
9. └─r2rtf:::rtf_encode_table(tbl, verbose = verbose)
10. ├─base::paste(as_rtf_footnote(tbl_1), collapse = "\n")
11. └─r2rtf:::as_rtf_footnote(tbl_1)
12. └─base::unlist(...)
[ FAIL 7 | WARN 0 | SKIP 7 | PASS 206 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc