Last updated on 2025-03-03 01:50:50 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.1.3 | 4.49 | 253.32 | 257.81 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.1.3 | 3.18 | 154.29 | 157.47 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.1.3 | 243.00 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.1.3 | 216.51 | OK | |||
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 | 6.00 | 253.00 | 259.00 | ERROR | |
r-patched-linux-x86_64 | 0.1.3 | 5.06 | 243.63 | 248.69 | OK | |
r-release-linux-x86_64 | 0.1.3 | 4.27 | 243.64 | 247.91 | 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 | 5.00 | 267.00 | 272.00 | OK | |
r-oldrel-macos-arm64 | 0.1.3 | OK | ||||
r-oldrel-macos-x86_64 | 0.1.3 | 278.00 | OK | |||
r-oldrel-windows-x86_64 | 0.1.3 | 7.00 | 345.00 | 352.00 | OK |
Version: 0.1.3
Check: examples
Result: ERROR
Running examples in ‘metalite.ae-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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/home/hornik/tmp/scratch/RtmpLrU195/file4663921beb821.Rdata
Error in unlist(attr(text, "text_indent_first"), attr(text, "text_indent_left"), :
'recursive' must be a length-1 vector
Calls: tlf_ae_specific ... rtf_encode_table -> paste -> as_rtf_footnote -> unlist
Execution halted
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
extend_ae_specific_inference 11.254 0.104 16.577
extend_ae_specific_events 3.756 0.011 5.262
extend_ae_specific_duration 2.910 0.041 5.229
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.1.3
Check: tests
Result: ERROR
Running ‘testthat.R’ [131s/167s]
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/home/hornik/tmp/scratch/RtmpN8V6My/file4bec65453b577.Rdata
The output is saved in/home/hornik/tmp/scratch/RtmpN8V6My/ednp_ae0listing.rtf
any
any
The outdata is saved in/home/hornik/tmp/scratch/RtmpN8V6My/file4bec671c946e1.Rdata
The output is saved in/home/hornik/tmp/scratch/RtmpN8V6My/ae0summary0a.rtf
any
any
The outdata is saved in/home/hornik/tmp/scratch/RtmpN8V6My/file4bec69567cb3.Rdata
The output is saved in/home/hornik/tmp/scratch/RtmpN8V6My/ae0summary0b.rtf
The outdata is saved in/home/hornik/tmp/scratch/RtmpN8V6My/file4bec6467cca0b.Rdata
The outdata is saved in/home/hornik/tmp/scratch/RtmpN8V6My/file4bec67375b490.Rdata
The outdata is saved in/home/hornik/tmp/scratch/RtmpN8V6My/file4bec63558c377.Rdata
The outdata is saved in/home/hornik/tmp/scratch/RtmpN8V6My/file4bec6fb885ac.Rdata
The outdata is saved in/home/hornik/tmp/scratch/RtmpN8V6My/file4bec65d9a8f62.Rdata
any
rel
ser
The outdata is saved in/home/hornik/tmp/scratch/RtmpN8V6My/file4bec624f11b3b.Rdata
The output is saved in/home/hornik/tmp/scratch/RtmpN8V6My/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 a length-1 vector
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 a length-1 vector
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 a length-1 vector
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 a length-1 vector
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 a length-1 vector
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 a length-1 vector
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 a length-1 vector
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-debian-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 a length-1 vector
--- 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 a length-1 vector
--- 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 a length-1 vector
--- 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
Flavor: r-devel-linux-x86_64-debian-clang
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 inD:\temp\2025_02_27_10_07_47_22165\RtmpA5YBiN\file1d078c555d9b.Rdata
Error in unlist(attr(text, "text_indent_first"), attr(text, "text_indent_left"), :
'recursive' must be a length-1 vector
Calls: tlf_ae_specific ... rtf_encode_table -> paste -> as_rtf_footnote -> unlist
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.1.3
Check: tests
Result: ERROR
Running 'testthat.R' [111s]
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 inD:\temp\2025_02_27_10_07_47_22165\RtmpcxbV15\file1bed03cff3b1.Rdata
The output is saved inD:\temp\2025_02_27_10_07_47_22165\RtmpcxbV15\ednp_ae0listing.rtf
any
any
The outdata is saved inD:\temp\2025_02_27_10_07_47_22165\RtmpcxbV15\file1bed036205cc.Rdata
The output is saved inD:\temp\2025_02_27_10_07_47_22165\RtmpcxbV15\ae0summary0a.rtf
any
any
The outdata is saved inD:\temp\2025_02_27_10_07_47_22165\RtmpcxbV15\file1bed03b157afd.Rdata
The output is saved inD:\temp\2025_02_27_10_07_47_22165\RtmpcxbV15\ae0summary0b.rtf
The outdata is saved inD:\temp\2025_02_27_10_07_47_22165\RtmpcxbV15\file1bed0298e286e.Rdata
The outdata is saved inD:\temp\2025_02_27_10_07_47_22165\RtmpcxbV15\file1bed05b2c4ac6.Rdata
The outdata is saved inD:\temp\2025_02_27_10_07_47_22165\RtmpcxbV15\file1bed041c264a5.Rdata
The outdata is saved inD:\temp\2025_02_27_10_07_47_22165\RtmpcxbV15\file1bed02d605b07.Rdata
The outdata is saved inD:\temp\2025_02_27_10_07_47_22165\RtmpcxbV15\file1bed05b6c3a75.Rdata
any
rel
ser
The outdata is saved inD:\temp\2025_02_27_10_07_47_22165\RtmpcxbV15\file1bed05bcf84e.Rdata
The output is saved inD:\temp\2025_02_27_10_07_47_22165\RtmpcxbV15\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 a length-1 vector
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 a length-1 vector
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 a length-1 vector
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 a length-1 vector
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 a length-1 vector
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 a length-1 vector
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 a length-1 vector
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-windows-x86_64
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 a length-1 vector
--- 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 a length-1 vector
--- 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 a length-1 vector
--- 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
Flavor: r-devel-windows-x86_64