Last updated on 2026-04-26 03:50:09 CEST.
| Package | ERROR | NOTE | OK |
|---|---|---|---|
| CodeDepends | 12 | ||
| junco | 8 | 4 | |
| SearchTrees | 2 | 10 | |
| switchr | 3 | 2 | 7 |
Current CRAN status: OK: 12
Current CRAN status: ERROR: 8, OK: 4
Version: 0.1.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [229s/297s]
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/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> options(rgl.useNULL = TRUE)
> library(testthat)
> library(junco)
Loading required package: formatters
Attaching package: 'formatters'
The following object is masked from 'package:base':
%||%
Loading required package: rtables
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
>
> test_check("junco")
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
mmrm() registered as emmeans extension
Saving _problems/test-tt_to_tblfile-206.R
Saving _problems/test-tt_to_tblfile-206.R
Saving _problems/test-tt_to_tblfile-206.R
Saving _problems/test-tt_to_tblfile-223.R
Saving _problems/test-tt_to_tblfile-239.R
Saving _problems/test-tt_to_tblfile-240.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-432.R
Saving _problems/test-tt_to_tblfile-434.R
Saving _problems/test-tt_to_tblfile-436.R
[ FAIL 15 | WARN 0 | SKIP 116 | PASS 526 ]
══ Skipped tests (116) ═════════════════════════════════════════════════════════
• On CRAN (116): 'test-a_freq_j.R:1:1', 'test-a_freq_j.R:26:1',
'test-a_freq_j.R:54:1', 'test-a_freq_j.R:84:1',
'test-a_summarize_aval_chg_diff.R:6:1',
'test-a_summarize_aval_chg_diff.R:62:1', 'test-ancova.R:4:1',
'test-blank_line.R:1:1', 'test-cmhrms.R:63:1', 'test-cmhrms.R:86:1',
'test-cmp_functions.R:1:1', 'test-cmp_functions.R:8:1',
'test-cmp_functions.R:23:1', 'test-cmp_functions.R:41:1',
'test-colwidths.R:101:1', 'test-count_pct.R:10:1', 'test-count_pct.R:48:1',
'test-count_pct.R:89:1', 'test-count_pct.R:112:1', 'test-count_pct.R:133:1',
'test-count_pct.R:185:1', 'test-count_pct.R:228:1', 'test-count_pct.R:267:1',
'test-count_pct.R:311:1', 'test-count_pct.R:453:1', 'test-coxph_hr.R:5:1',
'test-coxph_hr.R:48:1', 'test-coxph_hr.R:79:1',
'test-coxreg_multivar.R:29:1', 'test-coxreg_multivar.R:37:1',
'test-coxreg_multivar.R:47:1', 'test-coxreg_multivar.R:76:1',
'test-coxreg_multivar.R:94:1', 'test-coxreg_multivar.R:123:1',
'test-docx_exporter_functions.R:8:1', 'test-estimate_proportion_diff.R:1:1',
'test-estimate_proportion_diff.R:36:1', 'test-event_free.R:1:1',
'test-event_free.R:21:1', 'test-event_free.R:42:1', 'test-event_free.R:74:1',
'test-get_ref_info.R:6:1', 'test-get_ref_info.R:77:1',
'test-jjcs_num_formats.R:10:1', 'test-jjcs_num_formats.R:124:1',
'test-jjcs_num_formats.R:219:1', 'test-jjcsformats.R:12:1',
'test-jjcsformats.R:155:1', 'test-jjcsformats.R:167:1',
'test-junco_utils_default_stats_formats_labels.R:12:1',
'test-junco_utils_default_stats_formats_labels.R:18:1',
'test-junco_utils_default_stats_formats_labels.R:26:1',
'test-junco_utils_default_stats_formats_labels.R:32:1',
'test-junco_utils_default_stats_formats_labels.R:41:1',
'test-kaplan_meier.R:3:1', 'test-kaplan_meier.R:20:1',
'test-kaplan_meier.R:44:1', 'test-kaplan_meier.R:63:1',
'test-kaplan_meier.R:87:1', 'test-kaplan_meier.R:117:1',
'test-markup_unicodify.R:1:1', 'test-mmrm.R:3:1', 'test-mmrm.R:42:1',
'test-mmrm_rbmi.R:5:1', 'test-odds_ratio.R:115:1', 'test-odds_ratio.R:154:1',
'test-proportions.R:1:1', 'test-proportions.R:9:1',
'test-proportions.R:18:1', 'test-proportions.R:28:1',
'test-proportions.R:39:1', 'test-proportions.R:47:1',
'test-proportions.R:80:1', 'test-proportions.R:92:1',
'test-proportions.R:105:1', 'test-proportions.R:112:1',
'test-proportions.R:170:1', 'test-rbmi.R:78:3', 'test-rbmi.R:119:3',
'test-rbmi.R:150:3', 'test-rbmi.R:169:3', 'test-resp01_functions.R:3:1',
'test-resp01_functions.R:15:1', 'test-resp01_functions.R:27:1',
'test-resp01_functions.R:70:1', 'test-resp01_functions.R:98:1',
'test-resp01_functions.R:126:1', 'test-resp01_functions.R:155:1',
'test-resp01_functions.R:177:1', 'test-resp01_functions.R:200:1',
'test-resp01_functions.R:224:1', 'test-resp01_functions.R:256:1',
'test-response_by_var.R:18:1', 'test-summarize_ancova.R:126:1',
'test-summarize_ancova.R:145:1', 'test-summarize_mmrm.R:15:1',
'test-summarize_mmrm.R:33:1', 'test-summarize_mmrm.R:70:1',
'test-summarize_mmrm.R:107:1', 'test-summarize_mmrm.R:144:1',
'test-summarize_mmrm.R:177:1', 'test-tabulate_lsmeans.R:1:1',
'test-tabulate_lsmeans.R:49:1', 'test-tabulate_lsmeans_wide.R:3:1',
'test-tabulate_lsmeans_wide.R:121:1', 'test-tabulate_lsmeans_wide.R:194:1',
'test-tabulate_lsmeans_wide.R:281:1', 'test-tabulate_lsmeans_wide.R:310:1',
'test-tabulate_lsmeans_wide.R:355:1', 'test-tabulate_rbmi.R:287:1',
'test-tern_utils_default_stats_formats_labels.R:15:1',
'test-tern_utils_default_stats_formats_labels.R:142:1',
'test-tern_utils_default_stats_formats_labels.R:253:1',
'test-tern_utils_default_stats_formats_labels.R:315:1',
'test-test_proportion_diff.R:1:1', 'test-tt_to_tblfile.R:193:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-tt_to_tblfile.R:206:5'): tt_to_tlgrtf works with wide table ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:206:5'): tt_to_tlgrtf works with wide table ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:206:5'): tt_to_tlgrtf works with wide table ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:223:3'): tt_to_tlgrtf works with argument combined_rtf = TRUE ──
Snapshot of `cmb_fl` has changed.
── Failure ('test-tt_to_tblfile.R:239:3'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `rtf_out_wrapper(tbl, "test1")` has changed.
── Failure ('test-tt_to_tblfile.R:240:3'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `rtf_out_wrapper(tbl, "test1b", colwidths = 120)` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:432:3'): round_type in tt_to_tlgrtf works as expected for tabletree object ──
Snapshot of `rtf_sas` has changed.
── Failure ('test-tt_to_tblfile.R:434:3'): round_type in tt_to_tlgrtf works as expected for tabletree object ──
Snapshot of `rtf_iec_mod` has changed.
── Failure ('test-tt_to_tblfile.R:436:3'): round_type in tt_to_tlgrtf works as expected for tabletree object ──
Snapshot of `rtf_iec` has changed.
── Snapshots ───────────────────────────────────────────────────────────────────
To review and process snapshots locally:
* Locate check directory.
* Copy 'tests/testthat/_snaps' to local package.
* Run `testthat::snapshot_accept()` to accept all changes.
* Run `testthat::snapshot_review()` to review all changes.
[ FAIL 15 | WARN 0 | SKIP 116 | PASS 526 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.1.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [138s/162s]
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/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> options(rgl.useNULL = TRUE)
> library(testthat)
> library(junco)
Loading required package: formatters
Attaching package: 'formatters'
The following object is masked from 'package:base':
%||%
Loading required package: rtables
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
>
> test_check("junco")
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
mmrm() registered as emmeans extension
Saving _problems/test-tt_to_tblfile-206.R
Saving _problems/test-tt_to_tblfile-206.R
Saving _problems/test-tt_to_tblfile-206.R
Saving _problems/test-tt_to_tblfile-223.R
Saving _problems/test-tt_to_tblfile-239.R
Saving _problems/test-tt_to_tblfile-240.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-432.R
Saving _problems/test-tt_to_tblfile-434.R
Saving _problems/test-tt_to_tblfile-436.R
[ FAIL 15 | WARN 0 | SKIP 116 | PASS 526 ]
══ Skipped tests (116) ═════════════════════════════════════════════════════════
• On CRAN (116): 'test-a_freq_j.R:1:1', 'test-a_freq_j.R:26:1',
'test-a_freq_j.R:54:1', 'test-a_freq_j.R:84:1',
'test-a_summarize_aval_chg_diff.R:6:1',
'test-a_summarize_aval_chg_diff.R:62:1', 'test-ancova.R:4:1',
'test-blank_line.R:1:1', 'test-cmhrms.R:63:1', 'test-cmhrms.R:86:1',
'test-cmp_functions.R:1:1', 'test-cmp_functions.R:8:1',
'test-cmp_functions.R:23:1', 'test-cmp_functions.R:41:1',
'test-colwidths.R:101:1', 'test-count_pct.R:10:1', 'test-count_pct.R:48:1',
'test-count_pct.R:89:1', 'test-count_pct.R:112:1', 'test-count_pct.R:133:1',
'test-count_pct.R:185:1', 'test-count_pct.R:228:1', 'test-count_pct.R:267:1',
'test-count_pct.R:311:1', 'test-count_pct.R:453:1', 'test-coxph_hr.R:5:1',
'test-coxph_hr.R:48:1', 'test-coxph_hr.R:79:1',
'test-coxreg_multivar.R:29:1', 'test-coxreg_multivar.R:37:1',
'test-coxreg_multivar.R:47:1', 'test-coxreg_multivar.R:76:1',
'test-coxreg_multivar.R:94:1', 'test-coxreg_multivar.R:123:1',
'test-docx_exporter_functions.R:8:1', 'test-estimate_proportion_diff.R:1:1',
'test-estimate_proportion_diff.R:36:1', 'test-event_free.R:1:1',
'test-event_free.R:21:1', 'test-event_free.R:42:1', 'test-event_free.R:74:1',
'test-get_ref_info.R:6:1', 'test-get_ref_info.R:77:1',
'test-jjcs_num_formats.R:10:1', 'test-jjcs_num_formats.R:124:1',
'test-jjcs_num_formats.R:219:1', 'test-jjcsformats.R:12:1',
'test-jjcsformats.R:155:1', 'test-jjcsformats.R:167:1',
'test-junco_utils_default_stats_formats_labels.R:12:1',
'test-junco_utils_default_stats_formats_labels.R:18:1',
'test-junco_utils_default_stats_formats_labels.R:26:1',
'test-junco_utils_default_stats_formats_labels.R:32:1',
'test-junco_utils_default_stats_formats_labels.R:41:1',
'test-kaplan_meier.R:3:1', 'test-kaplan_meier.R:20:1',
'test-kaplan_meier.R:44:1', 'test-kaplan_meier.R:63:1',
'test-kaplan_meier.R:87:1', 'test-kaplan_meier.R:117:1',
'test-markup_unicodify.R:1:1', 'test-mmrm.R:3:1', 'test-mmrm.R:42:1',
'test-mmrm_rbmi.R:5:1', 'test-odds_ratio.R:115:1', 'test-odds_ratio.R:154:1',
'test-proportions.R:1:1', 'test-proportions.R:9:1',
'test-proportions.R:18:1', 'test-proportions.R:28:1',
'test-proportions.R:39:1', 'test-proportions.R:47:1',
'test-proportions.R:80:1', 'test-proportions.R:92:1',
'test-proportions.R:105:1', 'test-proportions.R:112:1',
'test-proportions.R:170:1', 'test-rbmi.R:78:3', 'test-rbmi.R:119:3',
'test-rbmi.R:150:3', 'test-rbmi.R:169:3', 'test-resp01_functions.R:3:1',
'test-resp01_functions.R:15:1', 'test-resp01_functions.R:27:1',
'test-resp01_functions.R:70:1', 'test-resp01_functions.R:98:1',
'test-resp01_functions.R:126:1', 'test-resp01_functions.R:155:1',
'test-resp01_functions.R:177:1', 'test-resp01_functions.R:200:1',
'test-resp01_functions.R:224:1', 'test-resp01_functions.R:256:1',
'test-response_by_var.R:18:1', 'test-summarize_ancova.R:126:1',
'test-summarize_ancova.R:145:1', 'test-summarize_mmrm.R:15:1',
'test-summarize_mmrm.R:33:1', 'test-summarize_mmrm.R:70:1',
'test-summarize_mmrm.R:107:1', 'test-summarize_mmrm.R:144:1',
'test-summarize_mmrm.R:177:1', 'test-tabulate_lsmeans.R:1:1',
'test-tabulate_lsmeans.R:49:1', 'test-tabulate_lsmeans_wide.R:3:1',
'test-tabulate_lsmeans_wide.R:121:1', 'test-tabulate_lsmeans_wide.R:194:1',
'test-tabulate_lsmeans_wide.R:281:1', 'test-tabulate_lsmeans_wide.R:310:1',
'test-tabulate_lsmeans_wide.R:355:1', 'test-tabulate_rbmi.R:287:1',
'test-tern_utils_default_stats_formats_labels.R:15:1',
'test-tern_utils_default_stats_formats_labels.R:142:1',
'test-tern_utils_default_stats_formats_labels.R:253:1',
'test-tern_utils_default_stats_formats_labels.R:315:1',
'test-test_proportion_diff.R:1:1', 'test-tt_to_tblfile.R:193:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-tt_to_tblfile.R:206:5'): tt_to_tlgrtf works with wide table ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:206:5'): tt_to_tlgrtf works with wide table ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:206:5'): tt_to_tlgrtf works with wide table ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:223:3'): tt_to_tlgrtf works with argument combined_rtf = TRUE ──
Snapshot of `cmb_fl` has changed.
── Failure ('test-tt_to_tblfile.R:239:3'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `rtf_out_wrapper(tbl, "test1")` has changed.
── Failure ('test-tt_to_tblfile.R:240:3'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `rtf_out_wrapper(tbl, "test1b", colwidths = 120)` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:432:3'): round_type in tt_to_tlgrtf works as expected for tabletree object ──
Snapshot of `rtf_sas` has changed.
── Failure ('test-tt_to_tblfile.R:434:3'): round_type in tt_to_tlgrtf works as expected for tabletree object ──
Snapshot of `rtf_iec_mod` has changed.
── Failure ('test-tt_to_tblfile.R:436:3'): round_type in tt_to_tlgrtf works as expected for tabletree object ──
Snapshot of `rtf_iec` has changed.
── Snapshots ───────────────────────────────────────────────────────────────────
To review and process snapshots locally:
* Locate check directory.
* Copy 'tests/testthat/_snaps' to local package.
* Run `testthat::snapshot_accept()` to accept all changes.
* Run `testthat::snapshot_review()` to review all changes.
[ FAIL 15 | WARN 0 | SKIP 116 | PASS 526 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [368s/463s]
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/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> options(rgl.useNULL = TRUE)
> library(testthat)
> library(junco)
Loading required package: formatters
Attaching package: 'formatters'
The following object is masked from 'package:base':
%||%
Loading required package: rtables
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
>
> test_check("junco")
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
mmrm() registered as emmeans extension
Saving _problems/test-tt_to_tblfile-206.R
Saving _problems/test-tt_to_tblfile-206.R
Saving _problems/test-tt_to_tblfile-206.R
Saving _problems/test-tt_to_tblfile-223.R
Saving _problems/test-tt_to_tblfile-239.R
Saving _problems/test-tt_to_tblfile-240.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-432.R
Saving _problems/test-tt_to_tblfile-434.R
Saving _problems/test-tt_to_tblfile-436.R
[ FAIL 15 | WARN 0 | SKIP 116 | PASS 526 ]
══ Skipped tests (116) ═════════════════════════════════════════════════════════
• On CRAN (116): 'test-a_freq_j.R:1:1', 'test-a_freq_j.R:26:1',
'test-a_freq_j.R:54:1', 'test-a_freq_j.R:84:1',
'test-a_summarize_aval_chg_diff.R:6:1',
'test-a_summarize_aval_chg_diff.R:62:1', 'test-ancova.R:4:1',
'test-blank_line.R:1:1', 'test-cmhrms.R:63:1', 'test-cmhrms.R:86:1',
'test-cmp_functions.R:1:1', 'test-cmp_functions.R:8:1',
'test-cmp_functions.R:23:1', 'test-cmp_functions.R:41:1',
'test-colwidths.R:101:1', 'test-count_pct.R:10:1', 'test-count_pct.R:48:1',
'test-count_pct.R:89:1', 'test-count_pct.R:112:1', 'test-count_pct.R:133:1',
'test-count_pct.R:185:1', 'test-count_pct.R:228:1', 'test-count_pct.R:267:1',
'test-count_pct.R:311:1', 'test-count_pct.R:453:1', 'test-coxph_hr.R:5:1',
'test-coxph_hr.R:48:1', 'test-coxph_hr.R:79:1',
'test-coxreg_multivar.R:29:1', 'test-coxreg_multivar.R:37:1',
'test-coxreg_multivar.R:47:1', 'test-coxreg_multivar.R:76:1',
'test-coxreg_multivar.R:94:1', 'test-coxreg_multivar.R:123:1',
'test-docx_exporter_functions.R:8:1', 'test-estimate_proportion_diff.R:1:1',
'test-estimate_proportion_diff.R:36:1', 'test-event_free.R:1:1',
'test-event_free.R:21:1', 'test-event_free.R:42:1', 'test-event_free.R:74:1',
'test-get_ref_info.R:6:1', 'test-get_ref_info.R:77:1',
'test-jjcs_num_formats.R:10:1', 'test-jjcs_num_formats.R:124:1',
'test-jjcs_num_formats.R:219:1', 'test-jjcsformats.R:12:1',
'test-jjcsformats.R:155:1', 'test-jjcsformats.R:167:1',
'test-junco_utils_default_stats_formats_labels.R:12:1',
'test-junco_utils_default_stats_formats_labels.R:18:1',
'test-junco_utils_default_stats_formats_labels.R:26:1',
'test-junco_utils_default_stats_formats_labels.R:32:1',
'test-junco_utils_default_stats_formats_labels.R:41:1',
'test-kaplan_meier.R:3:1', 'test-kaplan_meier.R:20:1',
'test-kaplan_meier.R:44:1', 'test-kaplan_meier.R:63:1',
'test-kaplan_meier.R:87:1', 'test-kaplan_meier.R:117:1',
'test-markup_unicodify.R:1:1', 'test-mmrm.R:3:1', 'test-mmrm.R:42:1',
'test-mmrm_rbmi.R:5:1', 'test-odds_ratio.R:115:1', 'test-odds_ratio.R:154:1',
'test-proportions.R:1:1', 'test-proportions.R:9:1',
'test-proportions.R:18:1', 'test-proportions.R:28:1',
'test-proportions.R:39:1', 'test-proportions.R:47:1',
'test-proportions.R:80:1', 'test-proportions.R:92:1',
'test-proportions.R:105:1', 'test-proportions.R:112:1',
'test-proportions.R:170:1', 'test-rbmi.R:78:3', 'test-rbmi.R:119:3',
'test-rbmi.R:150:3', 'test-rbmi.R:169:3', 'test-resp01_functions.R:3:1',
'test-resp01_functions.R:15:1', 'test-resp01_functions.R:27:1',
'test-resp01_functions.R:70:1', 'test-resp01_functions.R:98:1',
'test-resp01_functions.R:126:1', 'test-resp01_functions.R:155:1',
'test-resp01_functions.R:177:1', 'test-resp01_functions.R:200:1',
'test-resp01_functions.R:224:1', 'test-resp01_functions.R:256:1',
'test-response_by_var.R:18:1', 'test-summarize_ancova.R:126:1',
'test-summarize_ancova.R:145:1', 'test-summarize_mmrm.R:15:1',
'test-summarize_mmrm.R:33:1', 'test-summarize_mmrm.R:70:1',
'test-summarize_mmrm.R:107:1', 'test-summarize_mmrm.R:144:1',
'test-summarize_mmrm.R:177:1', 'test-tabulate_lsmeans.R:1:1',
'test-tabulate_lsmeans.R:49:1', 'test-tabulate_lsmeans_wide.R:3:1',
'test-tabulate_lsmeans_wide.R:121:1', 'test-tabulate_lsmeans_wide.R:194:1',
'test-tabulate_lsmeans_wide.R:281:1', 'test-tabulate_lsmeans_wide.R:310:1',
'test-tabulate_lsmeans_wide.R:355:1', 'test-tabulate_rbmi.R:287:1',
'test-tern_utils_default_stats_formats_labels.R:15:1',
'test-tern_utils_default_stats_formats_labels.R:142:1',
'test-tern_utils_default_stats_formats_labels.R:253:1',
'test-tern_utils_default_stats_formats_labels.R:315:1',
'test-test_proportion_diff.R:1:1', 'test-tt_to_tblfile.R:193:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-tt_to_tblfile.R:206:5'): tt_to_tlgrtf works with wide table ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:206:5'): tt_to_tlgrtf works with wide table ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:206:5'): tt_to_tlgrtf works with wide table ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:223:3'): tt_to_tlgrtf works with argument combined_rtf = TRUE ──
Snapshot of `cmb_fl` has changed.
── Failure ('test-tt_to_tblfile.R:239:3'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `rtf_out_wrapper(tbl, "test1")` has changed.
── Failure ('test-tt_to_tblfile.R:240:3'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `rtf_out_wrapper(tbl, "test1b", colwidths = 120)` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:432:3'): round_type in tt_to_tlgrtf works as expected for tabletree object ──
Snapshot of `rtf_sas` has changed.
── Failure ('test-tt_to_tblfile.R:434:3'): round_type in tt_to_tlgrtf works as expected for tabletree object ──
Snapshot of `rtf_iec_mod` has changed.
── Failure ('test-tt_to_tblfile.R:436:3'): round_type in tt_to_tlgrtf works as expected for tabletree object ──
Snapshot of `rtf_iec` has changed.
── Snapshots ───────────────────────────────────────────────────────────────────
To review and process snapshots locally:
* Locate check directory.
* Copy 'tests/testthat/_snaps' to local package.
* Run `testthat::snapshot_accept()` to accept all changes.
* Run `testthat::snapshot_review()` to review all changes.
[ FAIL 15 | WARN 0 | SKIP 116 | PASS 526 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.1.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [7m/18m]
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/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> options(rgl.useNULL = TRUE)
> library(testthat)
> library(junco)
Loading required package: formatters
Attaching package: 'formatters'
The following object is masked from 'package:base':
%||%
Loading required package: rtables
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
>
> test_check("junco")
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
mmrm() registered as emmeans extension
Saving _problems/test-tt_to_tblfile-206.R
Saving _problems/test-tt_to_tblfile-206.R
Saving _problems/test-tt_to_tblfile-206.R
Saving _problems/test-tt_to_tblfile-223.R
Saving _problems/test-tt_to_tblfile-239.R
Saving _problems/test-tt_to_tblfile-240.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-432.R
Saving _problems/test-tt_to_tblfile-434.R
Saving _problems/test-tt_to_tblfile-436.R
[ FAIL 15 | WARN 0 | SKIP 116 | PASS 526 ]
══ Skipped tests (116) ═════════════════════════════════════════════════════════
• On CRAN (116): 'test-a_freq_j.R:1:1', 'test-a_freq_j.R:26:1',
'test-a_freq_j.R:54:1', 'test-a_freq_j.R:84:1',
'test-a_summarize_aval_chg_diff.R:6:1',
'test-a_summarize_aval_chg_diff.R:62:1', 'test-ancova.R:4:1',
'test-blank_line.R:1:1', 'test-cmhrms.R:63:1', 'test-cmhrms.R:86:1',
'test-cmp_functions.R:1:1', 'test-cmp_functions.R:8:1',
'test-cmp_functions.R:23:1', 'test-cmp_functions.R:41:1',
'test-colwidths.R:101:1', 'test-count_pct.R:10:1', 'test-count_pct.R:48:1',
'test-count_pct.R:89:1', 'test-count_pct.R:112:1', 'test-count_pct.R:133:1',
'test-count_pct.R:185:1', 'test-count_pct.R:228:1', 'test-count_pct.R:267:1',
'test-count_pct.R:311:1', 'test-count_pct.R:453:1', 'test-coxph_hr.R:5:1',
'test-coxph_hr.R:48:1', 'test-coxph_hr.R:79:1',
'test-coxreg_multivar.R:29:1', 'test-coxreg_multivar.R:37:1',
'test-coxreg_multivar.R:47:1', 'test-coxreg_multivar.R:76:1',
'test-coxreg_multivar.R:94:1', 'test-coxreg_multivar.R:123:1',
'test-docx_exporter_functions.R:8:1', 'test-estimate_proportion_diff.R:1:1',
'test-estimate_proportion_diff.R:36:1', 'test-event_free.R:1:1',
'test-event_free.R:21:1', 'test-event_free.R:42:1', 'test-event_free.R:74:1',
'test-get_ref_info.R:6:1', 'test-get_ref_info.R:77:1',
'test-jjcs_num_formats.R:10:1', 'test-jjcs_num_formats.R:124:1',
'test-jjcs_num_formats.R:219:1', 'test-jjcsformats.R:12:1',
'test-jjcsformats.R:155:1', 'test-jjcsformats.R:167:1',
'test-junco_utils_default_stats_formats_labels.R:12:1',
'test-junco_utils_default_stats_formats_labels.R:18:1',
'test-junco_utils_default_stats_formats_labels.R:26:1',
'test-junco_utils_default_stats_formats_labels.R:32:1',
'test-junco_utils_default_stats_formats_labels.R:41:1',
'test-kaplan_meier.R:3:1', 'test-kaplan_meier.R:20:1',
'test-kaplan_meier.R:44:1', 'test-kaplan_meier.R:63:1',
'test-kaplan_meier.R:87:1', 'test-kaplan_meier.R:117:1',
'test-markup_unicodify.R:1:1', 'test-mmrm.R:3:1', 'test-mmrm.R:42:1',
'test-mmrm_rbmi.R:5:1', 'test-odds_ratio.R:115:1', 'test-odds_ratio.R:154:1',
'test-proportions.R:1:1', 'test-proportions.R:9:1',
'test-proportions.R:18:1', 'test-proportions.R:28:1',
'test-proportions.R:39:1', 'test-proportions.R:47:1',
'test-proportions.R:80:1', 'test-proportions.R:92:1',
'test-proportions.R:105:1', 'test-proportions.R:112:1',
'test-proportions.R:170:1', 'test-rbmi.R:78:3', 'test-rbmi.R:119:3',
'test-rbmi.R:150:3', 'test-rbmi.R:169:3', 'test-resp01_functions.R:3:1',
'test-resp01_functions.R:15:1', 'test-resp01_functions.R:27:1',
'test-resp01_functions.R:70:1', 'test-resp01_functions.R:98:1',
'test-resp01_functions.R:126:1', 'test-resp01_functions.R:155:1',
'test-resp01_functions.R:177:1', 'test-resp01_functions.R:200:1',
'test-resp01_functions.R:224:1', 'test-resp01_functions.R:256:1',
'test-response_by_var.R:18:1', 'test-summarize_ancova.R:126:1',
'test-summarize_ancova.R:145:1', 'test-summarize_mmrm.R:15:1',
'test-summarize_mmrm.R:33:1', 'test-summarize_mmrm.R:70:1',
'test-summarize_mmrm.R:107:1', 'test-summarize_mmrm.R:144:1',
'test-summarize_mmrm.R:177:1', 'test-tabulate_lsmeans.R:1:1',
'test-tabulate_lsmeans.R:49:1', 'test-tabulate_lsmeans_wide.R:3:1',
'test-tabulate_lsmeans_wide.R:121:1', 'test-tabulate_lsmeans_wide.R:194:1',
'test-tabulate_lsmeans_wide.R:281:1', 'test-tabulate_lsmeans_wide.R:310:1',
'test-tabulate_lsmeans_wide.R:355:1', 'test-tabulate_rbmi.R:287:1',
'test-tern_utils_default_stats_formats_labels.R:15:1',
'test-tern_utils_default_stats_formats_labels.R:142:1',
'test-tern_utils_default_stats_formats_labels.R:253:1',
'test-tern_utils_default_stats_formats_labels.R:315:1',
'test-test_proportion_diff.R:1:1', 'test-tt_to_tblfile.R:193:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-tt_to_tblfile.R:206:5'): tt_to_tlgrtf works with wide table ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:206:5'): tt_to_tlgrtf works with wide table ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:206:5'): tt_to_tlgrtf works with wide table ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:223:3'): tt_to_tlgrtf works with argument combined_rtf = TRUE ──
Snapshot of `cmb_fl` has changed.
── Failure ('test-tt_to_tblfile.R:239:3'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `rtf_out_wrapper(tbl, "test1")` has changed.
── Failure ('test-tt_to_tblfile.R:240:3'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `rtf_out_wrapper(tbl, "test1b", colwidths = 120)` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:432:3'): round_type in tt_to_tlgrtf works as expected for tabletree object ──
Snapshot of `rtf_sas` has changed.
── Failure ('test-tt_to_tblfile.R:434:3'): round_type in tt_to_tlgrtf works as expected for tabletree object ──
Snapshot of `rtf_iec_mod` has changed.
── Failure ('test-tt_to_tblfile.R:436:3'): round_type in tt_to_tlgrtf works as expected for tabletree object ──
Snapshot of `rtf_iec` has changed.
── Snapshots ───────────────────────────────────────────────────────────────────
To review and process snapshots locally:
* Locate check directory.
* Copy 'tests/testthat/_snaps' to local package.
* Run `testthat::snapshot_accept()` to accept all changes.
* Run `testthat::snapshot_review()` to review all changes.
[ FAIL 15 | WARN 0 | SKIP 116 | PASS 526 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.1.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [220s/289s]
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/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> options(rgl.useNULL = TRUE)
> library(testthat)
> library(junco)
Loading required package: formatters
Attaching package: 'formatters'
The following object is masked from 'package:base':
%||%
Loading required package: rtables
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
>
> test_check("junco")
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
mmrm() registered as emmeans extension
Saving _problems/test-tt_to_tblfile-206.R
Saving _problems/test-tt_to_tblfile-206.R
Saving _problems/test-tt_to_tblfile-206.R
Saving _problems/test-tt_to_tblfile-223.R
Saving _problems/test-tt_to_tblfile-239.R
Saving _problems/test-tt_to_tblfile-240.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-432.R
Saving _problems/test-tt_to_tblfile-434.R
Saving _problems/test-tt_to_tblfile-436.R
[ FAIL 15 | WARN 0 | SKIP 116 | PASS 526 ]
══ Skipped tests (116) ═════════════════════════════════════════════════════════
• On CRAN (116): 'test-a_freq_j.R:1:1', 'test-a_freq_j.R:26:1',
'test-a_freq_j.R:54:1', 'test-a_freq_j.R:84:1',
'test-a_summarize_aval_chg_diff.R:6:1',
'test-a_summarize_aval_chg_diff.R:62:1', 'test-ancova.R:4:1',
'test-blank_line.R:1:1', 'test-cmhrms.R:63:1', 'test-cmhrms.R:86:1',
'test-cmp_functions.R:1:1', 'test-cmp_functions.R:8:1',
'test-cmp_functions.R:23:1', 'test-cmp_functions.R:41:1',
'test-colwidths.R:101:1', 'test-count_pct.R:10:1', 'test-count_pct.R:48:1',
'test-count_pct.R:89:1', 'test-count_pct.R:112:1', 'test-count_pct.R:133:1',
'test-count_pct.R:185:1', 'test-count_pct.R:228:1', 'test-count_pct.R:267:1',
'test-count_pct.R:311:1', 'test-count_pct.R:453:1', 'test-coxph_hr.R:5:1',
'test-coxph_hr.R:48:1', 'test-coxph_hr.R:79:1',
'test-coxreg_multivar.R:29:1', 'test-coxreg_multivar.R:37:1',
'test-coxreg_multivar.R:47:1', 'test-coxreg_multivar.R:76:1',
'test-coxreg_multivar.R:94:1', 'test-coxreg_multivar.R:123:1',
'test-docx_exporter_functions.R:8:1', 'test-estimate_proportion_diff.R:1:1',
'test-estimate_proportion_diff.R:36:1', 'test-event_free.R:1:1',
'test-event_free.R:21:1', 'test-event_free.R:42:1', 'test-event_free.R:74:1',
'test-get_ref_info.R:6:1', 'test-get_ref_info.R:77:1',
'test-jjcs_num_formats.R:10:1', 'test-jjcs_num_formats.R:124:1',
'test-jjcs_num_formats.R:219:1', 'test-jjcsformats.R:12:1',
'test-jjcsformats.R:155:1', 'test-jjcsformats.R:167:1',
'test-junco_utils_default_stats_formats_labels.R:12:1',
'test-junco_utils_default_stats_formats_labels.R:18:1',
'test-junco_utils_default_stats_formats_labels.R:26:1',
'test-junco_utils_default_stats_formats_labels.R:32:1',
'test-junco_utils_default_stats_formats_labels.R:41:1',
'test-kaplan_meier.R:3:1', 'test-kaplan_meier.R:20:1',
'test-kaplan_meier.R:44:1', 'test-kaplan_meier.R:63:1',
'test-kaplan_meier.R:87:1', 'test-kaplan_meier.R:117:1',
'test-markup_unicodify.R:1:1', 'test-mmrm.R:3:1', 'test-mmrm.R:42:1',
'test-mmrm_rbmi.R:5:1', 'test-odds_ratio.R:115:1', 'test-odds_ratio.R:154:1',
'test-proportions.R:1:1', 'test-proportions.R:9:1',
'test-proportions.R:18:1', 'test-proportions.R:28:1',
'test-proportions.R:39:1', 'test-proportions.R:47:1',
'test-proportions.R:80:1', 'test-proportions.R:92:1',
'test-proportions.R:105:1', 'test-proportions.R:112:1',
'test-proportions.R:170:1', 'test-rbmi.R:78:3', 'test-rbmi.R:119:3',
'test-rbmi.R:150:3', 'test-rbmi.R:169:3', 'test-resp01_functions.R:3:1',
'test-resp01_functions.R:15:1', 'test-resp01_functions.R:27:1',
'test-resp01_functions.R:70:1', 'test-resp01_functions.R:98:1',
'test-resp01_functions.R:126:1', 'test-resp01_functions.R:155:1',
'test-resp01_functions.R:177:1', 'test-resp01_functions.R:200:1',
'test-resp01_functions.R:224:1', 'test-resp01_functions.R:256:1',
'test-response_by_var.R:18:1', 'test-summarize_ancova.R:126:1',
'test-summarize_ancova.R:145:1', 'test-summarize_mmrm.R:15:1',
'test-summarize_mmrm.R:33:1', 'test-summarize_mmrm.R:70:1',
'test-summarize_mmrm.R:107:1', 'test-summarize_mmrm.R:144:1',
'test-summarize_mmrm.R:177:1', 'test-tabulate_lsmeans.R:1:1',
'test-tabulate_lsmeans.R:49:1', 'test-tabulate_lsmeans_wide.R:3:1',
'test-tabulate_lsmeans_wide.R:121:1', 'test-tabulate_lsmeans_wide.R:194:1',
'test-tabulate_lsmeans_wide.R:281:1', 'test-tabulate_lsmeans_wide.R:310:1',
'test-tabulate_lsmeans_wide.R:355:1', 'test-tabulate_rbmi.R:287:1',
'test-tern_utils_default_stats_formats_labels.R:15:1',
'test-tern_utils_default_stats_formats_labels.R:142:1',
'test-tern_utils_default_stats_formats_labels.R:253:1',
'test-tern_utils_default_stats_formats_labels.R:315:1',
'test-test_proportion_diff.R:1:1', 'test-tt_to_tblfile.R:193:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-tt_to_tblfile.R:206:5'): tt_to_tlgrtf works with wide table ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:206:5'): tt_to_tlgrtf works with wide table ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:206:5'): tt_to_tlgrtf works with wide table ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:223:3'): tt_to_tlgrtf works with argument combined_rtf = TRUE ──
Snapshot of `cmb_fl` has changed.
── Failure ('test-tt_to_tblfile.R:239:3'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `rtf_out_wrapper(tbl, "test1")` has changed.
── Failure ('test-tt_to_tblfile.R:240:3'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `rtf_out_wrapper(tbl, "test1b", colwidths = 120)` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:432:3'): round_type in tt_to_tlgrtf works as expected for tabletree object ──
Snapshot of `rtf_sas` has changed.
── Failure ('test-tt_to_tblfile.R:434:3'): round_type in tt_to_tlgrtf works as expected for tabletree object ──
Snapshot of `rtf_iec_mod` has changed.
── Failure ('test-tt_to_tblfile.R:436:3'): round_type in tt_to_tlgrtf works as expected for tabletree object ──
Snapshot of `rtf_iec` has changed.
── Snapshots ───────────────────────────────────────────────────────────────────
To review and process snapshots locally:
* Locate check directory.
* Copy 'tests/testthat/_snaps' to local package.
* Run `testthat::snapshot_accept()` to accept all changes.
* Run `testthat::snapshot_review()` to review all changes.
[ FAIL 15 | WARN 0 | SKIP 116 | PASS 526 ]
Error:
! Test failures.
Execution halted
Flavor: r-patched-linux-x86_64
Version: 0.1.4
Check: tests
Result: ERROR
Running ‘testthat.R’ [221s/287s]
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/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> options(rgl.useNULL = TRUE)
> library(testthat)
> library(junco)
Loading required package: formatters
Attaching package: 'formatters'
The following object is masked from 'package:base':
%||%
Loading required package: rtables
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
>
> test_check("junco")
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
mmrm() registered as emmeans extension
Saving _problems/test-tt_to_tblfile-206.R
Saving _problems/test-tt_to_tblfile-206.R
Saving _problems/test-tt_to_tblfile-206.R
Saving _problems/test-tt_to_tblfile-223.R
Saving _problems/test-tt_to_tblfile-239.R
Saving _problems/test-tt_to_tblfile-240.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-432.R
Saving _problems/test-tt_to_tblfile-434.R
Saving _problems/test-tt_to_tblfile-436.R
[ FAIL 15 | WARN 0 | SKIP 116 | PASS 526 ]
══ Skipped tests (116) ═════════════════════════════════════════════════════════
• On CRAN (116): 'test-a_freq_j.R:1:1', 'test-a_freq_j.R:26:1',
'test-a_freq_j.R:54:1', 'test-a_freq_j.R:84:1',
'test-a_summarize_aval_chg_diff.R:6:1',
'test-a_summarize_aval_chg_diff.R:62:1', 'test-ancova.R:4:1',
'test-blank_line.R:1:1', 'test-cmhrms.R:63:1', 'test-cmhrms.R:86:1',
'test-cmp_functions.R:1:1', 'test-cmp_functions.R:8:1',
'test-cmp_functions.R:23:1', 'test-cmp_functions.R:41:1',
'test-colwidths.R:101:1', 'test-count_pct.R:10:1', 'test-count_pct.R:48:1',
'test-count_pct.R:89:1', 'test-count_pct.R:112:1', 'test-count_pct.R:133:1',
'test-count_pct.R:185:1', 'test-count_pct.R:228:1', 'test-count_pct.R:267:1',
'test-count_pct.R:311:1', 'test-count_pct.R:453:1', 'test-coxph_hr.R:5:1',
'test-coxph_hr.R:48:1', 'test-coxph_hr.R:79:1',
'test-coxreg_multivar.R:29:1', 'test-coxreg_multivar.R:37:1',
'test-coxreg_multivar.R:47:1', 'test-coxreg_multivar.R:76:1',
'test-coxreg_multivar.R:94:1', 'test-coxreg_multivar.R:123:1',
'test-docx_exporter_functions.R:8:1', 'test-estimate_proportion_diff.R:1:1',
'test-estimate_proportion_diff.R:36:1', 'test-event_free.R:1:1',
'test-event_free.R:21:1', 'test-event_free.R:42:1', 'test-event_free.R:74:1',
'test-get_ref_info.R:6:1', 'test-get_ref_info.R:77:1',
'test-jjcs_num_formats.R:10:1', 'test-jjcs_num_formats.R:124:1',
'test-jjcs_num_formats.R:219:1', 'test-jjcsformats.R:12:1',
'test-jjcsformats.R:155:1', 'test-jjcsformats.R:167:1',
'test-junco_utils_default_stats_formats_labels.R:12:1',
'test-junco_utils_default_stats_formats_labels.R:18:1',
'test-junco_utils_default_stats_formats_labels.R:26:1',
'test-junco_utils_default_stats_formats_labels.R:32:1',
'test-junco_utils_default_stats_formats_labels.R:41:1',
'test-kaplan_meier.R:3:1', 'test-kaplan_meier.R:20:1',
'test-kaplan_meier.R:44:1', 'test-kaplan_meier.R:63:1',
'test-kaplan_meier.R:87:1', 'test-kaplan_meier.R:117:1',
'test-markup_unicodify.R:1:1', 'test-mmrm.R:3:1', 'test-mmrm.R:42:1',
'test-mmrm_rbmi.R:5:1', 'test-odds_ratio.R:115:1', 'test-odds_ratio.R:154:1',
'test-proportions.R:1:1', 'test-proportions.R:9:1',
'test-proportions.R:18:1', 'test-proportions.R:28:1',
'test-proportions.R:39:1', 'test-proportions.R:47:1',
'test-proportions.R:80:1', 'test-proportions.R:92:1',
'test-proportions.R:105:1', 'test-proportions.R:112:1',
'test-proportions.R:170:1', 'test-rbmi.R:78:3', 'test-rbmi.R:119:3',
'test-rbmi.R:150:3', 'test-rbmi.R:169:3', 'test-resp01_functions.R:3:1',
'test-resp01_functions.R:15:1', 'test-resp01_functions.R:27:1',
'test-resp01_functions.R:70:1', 'test-resp01_functions.R:98:1',
'test-resp01_functions.R:126:1', 'test-resp01_functions.R:155:1',
'test-resp01_functions.R:177:1', 'test-resp01_functions.R:200:1',
'test-resp01_functions.R:224:1', 'test-resp01_functions.R:256:1',
'test-response_by_var.R:18:1', 'test-summarize_ancova.R:126:1',
'test-summarize_ancova.R:145:1', 'test-summarize_mmrm.R:15:1',
'test-summarize_mmrm.R:33:1', 'test-summarize_mmrm.R:70:1',
'test-summarize_mmrm.R:107:1', 'test-summarize_mmrm.R:144:1',
'test-summarize_mmrm.R:177:1', 'test-tabulate_lsmeans.R:1:1',
'test-tabulate_lsmeans.R:49:1', 'test-tabulate_lsmeans_wide.R:3:1',
'test-tabulate_lsmeans_wide.R:121:1', 'test-tabulate_lsmeans_wide.R:194:1',
'test-tabulate_lsmeans_wide.R:281:1', 'test-tabulate_lsmeans_wide.R:310:1',
'test-tabulate_lsmeans_wide.R:355:1', 'test-tabulate_rbmi.R:287:1',
'test-tern_utils_default_stats_formats_labels.R:15:1',
'test-tern_utils_default_stats_formats_labels.R:142:1',
'test-tern_utils_default_stats_formats_labels.R:253:1',
'test-tern_utils_default_stats_formats_labels.R:315:1',
'test-test_proportion_diff.R:1:1', 'test-tt_to_tblfile.R:193:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-tt_to_tblfile.R:206:5'): tt_to_tlgrtf works with wide table ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:206:5'): tt_to_tlgrtf works with wide table ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:206:5'): tt_to_tlgrtf works with wide table ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:223:3'): tt_to_tlgrtf works with argument combined_rtf = TRUE ──
Snapshot of `cmb_fl` has changed.
── Failure ('test-tt_to_tblfile.R:239:3'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `rtf_out_wrapper(tbl, "test1")` has changed.
── Failure ('test-tt_to_tblfile.R:240:3'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `rtf_out_wrapper(tbl, "test1b", colwidths = 120)` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:432:3'): round_type in tt_to_tlgrtf works as expected for tabletree object ──
Snapshot of `rtf_sas` has changed.
── Failure ('test-tt_to_tblfile.R:434:3'): round_type in tt_to_tlgrtf works as expected for tabletree object ──
Snapshot of `rtf_iec_mod` has changed.
── Failure ('test-tt_to_tblfile.R:436:3'): round_type in tt_to_tlgrtf works as expected for tabletree object ──
Snapshot of `rtf_iec` has changed.
── Snapshots ───────────────────────────────────────────────────────────────────
To review and process snapshots locally:
* Locate check directory.
* Copy 'tests/testthat/_snaps' to local package.
* Run `testthat::snapshot_accept()` to accept all changes.
* Run `testthat::snapshot_review()` to review all changes.
[ FAIL 15 | WARN 0 | SKIP 116 | PASS 526 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-linux-x86_64
Version: 0.1.4
Check: tests
Result: ERROR
Running 'testthat.R' [192s]
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/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> options(rgl.useNULL = TRUE)
> library(testthat)
> library(junco)
Loading required package: formatters
Attaching package: 'formatters'
The following object is masked from 'package:base':
%||%
Loading required package: rtables
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
>
> test_check("junco")
Attaching package: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
mmrm() registered as emmeans extension
Saving _problems/test-tt_to_tblfile-206.R
Saving _problems/test-tt_to_tblfile-206.R
Saving _problems/test-tt_to_tblfile-206.R
Saving _problems/test-tt_to_tblfile-223.R
Saving _problems/test-tt_to_tblfile-239.R
Saving _problems/test-tt_to_tblfile-240.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-280.R
Saving _problems/test-tt_to_tblfile-432.R
Saving _problems/test-tt_to_tblfile-434.R
Saving _problems/test-tt_to_tblfile-436.R
[ FAIL 15 | WARN 0 | SKIP 116 | PASS 526 ]
══ Skipped tests (116) ═════════════════════════════════════════════════════════
• On CRAN (116): 'test-a_freq_j.R:1:1', 'test-a_freq_j.R:26:1',
'test-a_freq_j.R:54:1', 'test-a_freq_j.R:84:1',
'test-a_summarize_aval_chg_diff.R:6:1',
'test-a_summarize_aval_chg_diff.R:62:1', 'test-ancova.R:4:1',
'test-blank_line.R:1:1', 'test-cmhrms.R:63:1', 'test-cmhrms.R:86:1',
'test-cmp_functions.R:1:1', 'test-cmp_functions.R:8:1',
'test-cmp_functions.R:23:1', 'test-cmp_functions.R:41:1',
'test-colwidths.R:101:1', 'test-count_pct.R:10:1', 'test-count_pct.R:48:1',
'test-count_pct.R:89:1', 'test-count_pct.R:112:1', 'test-count_pct.R:133:1',
'test-count_pct.R:185:1', 'test-count_pct.R:228:1', 'test-count_pct.R:267:1',
'test-count_pct.R:311:1', 'test-count_pct.R:453:1', 'test-coxph_hr.R:5:1',
'test-coxph_hr.R:48:1', 'test-coxph_hr.R:79:1',
'test-coxreg_multivar.R:29:1', 'test-coxreg_multivar.R:37:1',
'test-coxreg_multivar.R:47:1', 'test-coxreg_multivar.R:76:1',
'test-coxreg_multivar.R:94:1', 'test-coxreg_multivar.R:123:1',
'test-docx_exporter_functions.R:8:1', 'test-estimate_proportion_diff.R:1:1',
'test-estimate_proportion_diff.R:36:1', 'test-event_free.R:1:1',
'test-event_free.R:21:1', 'test-event_free.R:42:1', 'test-event_free.R:74:1',
'test-get_ref_info.R:6:1', 'test-get_ref_info.R:77:1',
'test-jjcs_num_formats.R:10:1', 'test-jjcs_num_formats.R:124:1',
'test-jjcs_num_formats.R:219:1', 'test-jjcsformats.R:12:1',
'test-jjcsformats.R:155:1', 'test-jjcsformats.R:167:1',
'test-junco_utils_default_stats_formats_labels.R:12:1',
'test-junco_utils_default_stats_formats_labels.R:18:1',
'test-junco_utils_default_stats_formats_labels.R:26:1',
'test-junco_utils_default_stats_formats_labels.R:32:1',
'test-junco_utils_default_stats_formats_labels.R:41:1',
'test-kaplan_meier.R:3:1', 'test-kaplan_meier.R:20:1',
'test-kaplan_meier.R:44:1', 'test-kaplan_meier.R:63:1',
'test-kaplan_meier.R:87:1', 'test-kaplan_meier.R:117:1',
'test-markup_unicodify.R:1:1', 'test-mmrm.R:3:1', 'test-mmrm.R:42:1',
'test-mmrm_rbmi.R:5:1', 'test-odds_ratio.R:115:1', 'test-odds_ratio.R:154:1',
'test-proportions.R:1:1', 'test-proportions.R:9:1',
'test-proportions.R:18:1', 'test-proportions.R:28:1',
'test-proportions.R:39:1', 'test-proportions.R:47:1',
'test-proportions.R:80:1', 'test-proportions.R:92:1',
'test-proportions.R:105:1', 'test-proportions.R:112:1',
'test-proportions.R:170:1', 'test-rbmi.R:78:3', 'test-rbmi.R:119:3',
'test-rbmi.R:150:3', 'test-rbmi.R:169:3', 'test-resp01_functions.R:3:1',
'test-resp01_functions.R:15:1', 'test-resp01_functions.R:27:1',
'test-resp01_functions.R:70:1', 'test-resp01_functions.R:98:1',
'test-resp01_functions.R:126:1', 'test-resp01_functions.R:155:1',
'test-resp01_functions.R:177:1', 'test-resp01_functions.R:200:1',
'test-resp01_functions.R:224:1', 'test-resp01_functions.R:256:1',
'test-response_by_var.R:18:1', 'test-summarize_ancova.R:126:1',
'test-summarize_ancova.R:145:1', 'test-summarize_mmrm.R:15:1',
'test-summarize_mmrm.R:33:1', 'test-summarize_mmrm.R:70:1',
'test-summarize_mmrm.R:107:1', 'test-summarize_mmrm.R:144:1',
'test-summarize_mmrm.R:177:1', 'test-tabulate_lsmeans.R:1:1',
'test-tabulate_lsmeans.R:49:1', 'test-tabulate_lsmeans_wide.R:3:1',
'test-tabulate_lsmeans_wide.R:121:1', 'test-tabulate_lsmeans_wide.R:194:1',
'test-tabulate_lsmeans_wide.R:281:1', 'test-tabulate_lsmeans_wide.R:310:1',
'test-tabulate_lsmeans_wide.R:355:1', 'test-tabulate_rbmi.R:287:1',
'test-tern_utils_default_stats_formats_labels.R:15:1',
'test-tern_utils_default_stats_formats_labels.R:142:1',
'test-tern_utils_default_stats_formats_labels.R:253:1',
'test-tern_utils_default_stats_formats_labels.R:315:1',
'test-test_proportion_diff.R:1:1', 'test-tt_to_tblfile.R:193:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-tt_to_tblfile.R:206:5'): tt_to_tlgrtf works with wide table ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:206:5'): tt_to_tlgrtf works with wide table ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:206:5'): tt_to_tlgrtf works with wide table ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:223:3'): tt_to_tlgrtf works with argument combined_rtf = TRUE ──
Snapshot of `cmb_fl` has changed.
── Failure ('test-tt_to_tblfile.R:239:3'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `rtf_out_wrapper(tbl, "test1")` has changed.
── Failure ('test-tt_to_tblfile.R:240:3'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `rtf_out_wrapper(tbl, "test1b", colwidths = 120)` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:280:5'): tt_to_tlgrtf converts table tree to tlg without error ──
Snapshot of `fl` has changed.
── Failure ('test-tt_to_tblfile.R:432:3'): round_type in tt_to_tlgrtf works as expected for tabletree object ──
Snapshot of `rtf_sas` has changed.
── Failure ('test-tt_to_tblfile.R:434:3'): round_type in tt_to_tlgrtf works as expected for tabletree object ──
Snapshot of `rtf_iec_mod` has changed.
── Failure ('test-tt_to_tblfile.R:436:3'): round_type in tt_to_tlgrtf works as expected for tabletree object ──
Snapshot of `rtf_iec` has changed.
── Snapshots ───────────────────────────────────────────────────────────────────
To review and process snapshots locally:
* Locate check directory.
* Copy 'tests/testthat/_snaps' to local package.
* Run `testthat::snapshot_accept()` to accept all changes.
* Run `testthat::snapshot_review()` to review all changes.
[ FAIL 15 | WARN 0 | SKIP 116 | PASS 526 ]
Error:
! Test failures.
Execution halted
Flavors: r-release-windows-x86_64, r-oldrel-windows-x86_64
Current CRAN status: NOTE: 2, OK: 10
Version: 0.5.5
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Gabriel Becker <gabembecker@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Gabriel",
family = "Becker",
role = c("aut", "cre"),
email = "gabembecker@gmail.com")
as necessary.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Current CRAN status: ERROR: 3, NOTE: 2, OK: 7
Version: 0.14.8
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Gabriel Becker <gabembecker@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Gabriel",
family = "Becker",
role = c("aut", "cre"),
email = "gabembecker@gmail.com")
as necessary.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 0.14.8
Check: tests
Result: ERROR
Running ‘winpath.R’ [1s/4s]
Running the tests in ‘tests/winpath.R’ failed.
Complete output:
> library(switchr)
> ## if(getOption("repos")["CRAN"] == "@CRAN@")
> ## chooseCRANmirror(ind=1L)
> graceful_inet(TRUE)
$on
[1] TRUE
$silent
[1] FALSE
> checkUrlRoundtrip = function(pth) {
+ pth = switchr:::normalizePath2(pth)
+ furl = switchr:::makeFileURL(pth)
+ pth2 = switchr:::fileFromFileURL(furl)
+ if(pth != pth2)
+ stop("Round trip result (", pth2, ") does not match original (", pth, ") when creating file URLs")
+ }
>
> ## regression test to ensure that the roundtrip
> ## between path and file url is working properly
> checkUrlRoundtrip(getwd())
> checkUrlRoundtrip(tempdir())
> if(switchr:::isWindows())
+ checkUrlRoundtrip("\\\\localhost\\c$")
>
> ## regreossion test to ensure that package dependencies
> ## are added to the dontunload list when a package
> ## is specified
> bef = switchrDontUnload()
> af = switchrDontUnload("knitr")
> stopifnot(all(tools::package_dependencies("knitr", recursive = TRUE)[[1]] %in% af))
>
>
> ## regression test for unnecessary (and expensive)
> ## lazy repo construction when install_packages
> ## is passed urls for existing repos (the default
> ## behavior).
> tmplib = tempdir()
> trace(lazyRepo, stop)
Tracing function "lazyRepo" in environment <namespace:switchr>
Warning: Tracing only in the namespace; to untrace you will need:
untrace("lazyRepo", where = getNamespace("switchr"))
[1] "lazyRepo"
attr(,"package")
[1] "switchr"
> install_packages("switchr", repos = defaultRepos(), lib = tmplib)
Error in rbind(avail1, avail2[new, ]) :
number of columns of matrices must match (see arg 2)
Calls: install_packages ... install_packages -> install_packages -> .install_packages -> rbind
Execution halted
Flavor: r-release-macos-arm64
Version: 0.14.8
Check: tests
Result: ERROR
Running ‘winpath.R’ [4s/10s]
Running the tests in ‘tests/winpath.R’ failed.
Complete output:
> library(switchr)
> ## if(getOption("repos")["CRAN"] == "@CRAN@")
> ## chooseCRANmirror(ind=1L)
> graceful_inet(TRUE)
$on
[1] TRUE
$silent
[1] FALSE
> checkUrlRoundtrip = function(pth) {
+ pth = switchr:::normalizePath2(pth)
+ furl = switchr:::makeFileURL(pth)
+ pth2 = switchr:::fileFromFileURL(furl)
+ if(pth != pth2)
+ stop("Round trip result (", pth2, ") does not match original (", pth, ") when creating file URLs")
+ }
>
> ## regression test to ensure that the roundtrip
> ## between path and file url is working properly
> checkUrlRoundtrip(getwd())
> checkUrlRoundtrip(tempdir())
> if(switchr:::isWindows())
+ checkUrlRoundtrip("\\\\localhost\\c$")
>
> ## regreossion test to ensure that package dependencies
> ## are added to the dontunload list when a package
> ## is specified
> bef = switchrDontUnload()
> af = switchrDontUnload("knitr")
> stopifnot(all(tools::package_dependencies("knitr", recursive = TRUE)[[1]] %in% af))
>
>
> ## regression test for unnecessary (and expensive)
> ## lazy repo construction when install_packages
> ## is passed urls for existing repos (the default
> ## behavior).
> tmplib = tempdir()
> trace(lazyRepo, stop)
Tracing function "lazyRepo" in environment <namespace:switchr>
Warning: Tracing only in the namespace; to untrace you will need:
untrace("lazyRepo", where = getNamespace("switchr"))
[1] "lazyRepo"
attr(,"package")
[1] "switchr"
> install_packages("switchr", repos = defaultRepos(), lib = tmplib)
Error in rbind(avail1, avail2[new, ]) :
number of columns of matrices must match (see arg 2)
Calls: install_packages ... install_packages -> install_packages -> .install_packages -> rbind
Execution halted
Flavor: r-release-macos-x86_64
Version: 0.14.8
Check: tests
Result: ERROR
Running 'winpath.R' [6s]
Running the tests in 'tests/winpath.R' failed.
Complete output:
> library(switchr)
> ## if(getOption("repos")["CRAN"] == "@CRAN@")
> ## chooseCRANmirror(ind=1L)
> graceful_inet(TRUE)
$on
[1] TRUE
$silent
[1] FALSE
> checkUrlRoundtrip = function(pth) {
+ pth = switchr:::normalizePath2(pth)
+ furl = switchr:::makeFileURL(pth)
+ pth2 = switchr:::fileFromFileURL(furl)
+ if(pth != pth2)
+ stop("Round trip result (", pth2, ") does not match original (", pth, ") when creating file URLs")
+ }
>
> ## regression test to ensure that the roundtrip
> ## between path and file url is working properly
> checkUrlRoundtrip(getwd())
> checkUrlRoundtrip(tempdir())
> if(switchr:::isWindows())
+ checkUrlRoundtrip("\\\\localhost\\c$")
>
> ## regreossion test to ensure that package dependencies
> ## are added to the dontunload list when a package
> ## is specified
> bef = switchrDontUnload()
> af = switchrDontUnload("knitr")
> stopifnot(all(tools::package_dependencies("knitr", recursive = TRUE)[[1]] %in% af))
>
>
> ## regression test for unnecessary (and expensive)
> ## lazy repo construction when install_packages
> ## is passed urls for existing repos (the default
> ## behavior).
> tmplib = tempdir()
> trace(lazyRepo, stop)
Tracing function "lazyRepo" in environment <namespace:switchr>
Warning: Tracing only in the namespace; to untrace you will need:
untrace("lazyRepo", where = getNamespace("switchr"))
[1] "lazyRepo"
attr(,"package")
[1] "switchr"
> install_packages("switchr", repos = defaultRepos(), lib = tmplib)
Error in rbind(avail1, avail2[new, ]) :
number of columns of matrices must match (see arg 2)
Calls: install_packages ... install_packages -> install_packages -> .install_packages -> rbind
Execution halted
Flavor: r-release-windows-x86_64