CRAN Package Check Results for Package infer

Last updated on 2025-04-09 18:51:12 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.7 7.74 303.19 310.93 OK
r-devel-linux-x86_64-debian-gcc 1.0.7 6.64 210.33 216.97 OK
r-devel-linux-x86_64-fedora-clang 1.0.7 514.59 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.7 521.54 ERROR
r-devel-macos-arm64 1.0.7 128.00 OK
r-devel-macos-x86_64 1.0.7 341.00 OK
r-devel-windows-x86_64 1.0.7 10.00 289.00 299.00 OK
r-patched-linux-x86_64 1.0.7 8.38 294.27 302.65 OK
r-release-linux-x86_64 1.0.7 8.58 288.15 296.73 OK
r-release-macos-arm64 1.0.7 128.00 OK
r-release-macos-x86_64 1.0.7 195.00 OK
r-release-windows-x86_64 1.0.7 12.00 270.00 282.00 OK
r-oldrel-macos-arm64 1.0.7 OK
r-oldrel-macos-x86_64 1.0.7 306.00 OK
r-oldrel-windows-x86_64 1.0.7 13.00 354.00 367.00 OK

Check Details

Version: 1.0.7
Check: tests
Result: ERROR Running ‘testthat.R’ [66s/217s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(infer) > > test_check("infer") Dropping unused factor levels DK from the supplied explanatory variable 'partyid'. Dropping unused factor levels DK from the supplied explanatory variable 'partyid'. Dropping unused factor levels DK from the supplied explanatory variable 'partyid'. Dropping unused factor levels DK from the supplied explanatory variable 'partyid'. Setting `type = "bootstrap"` in `generate()`. Setting `type = "bootstrap"` in `generate()`. Setting `type = "bootstrap"` in `generate()`. Setting `type = "bootstrap"` in `generate()`. Setting `type = "bootstrap"` in `generate()`. Setting `type = "draw"` in `generate()`. Setting `type = "permute"` in `generate()`. Setting `type = "draw"` in `generate()`. Setting `type = "permute"` in `generate()`. Setting `type = "permute"` in `generate()`. Setting `type = "permute"` in `generate()`. Setting `type = "permute"` in `generate()`. Setting `type = "bootstrap"` in `generate()`. Setting `type = "bootstrap"` in `generate()`. Setting `type = "bootstrap"` in `generate()`. Setting `type = "bootstrap"` in `generate()`. Using `level = 0.95` to compute confidence interval. Using `level = 0.95` to compute confidence interval. Using `level = 0.95` to compute confidence interval. Using `level = 0.95` to compute confidence interval. Dropping unused factor levels DK from the supplied explanatory variable 'partyid'. Dropping unused factor levels DK from the supplied explanatory variable 'partyid'. list() list() NULL Dropping unused factor levels DK from the supplied response variable 'partyid'. Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union Setting `type = "bootstrap"` in `generate()`. Dropping unused factor levels DK from the supplied explanatory variable 'partyid'. Dropping unused factor levels DK from the supplied explanatory variable 'partyid'. [ FAIL 2 | WARN 0 | SKIP 109 | PASS 349 ] ══ Skipped tests (109) ═════════════════════════════════════════════════════════ • On CRAN (109): 'test-aliases.R:14:3', 'test-assume.R:99:3', 'test-assume.R:194:3', 'test-calculate.R:4:3', 'test-calculate.R:9:3', 'test-calculate.R:45:3', 'test-calculate.R:82:3', 'test-calculate.R:96:3', 'test-calculate.R:132:3', 'test-calculate.R:144:3', 'test-calculate.R:155:3', 'test-calculate.R:193:3', 'test-calculate.R:201:3', 'test-calculate.R:223:3', 'test-calculate.R:320:3', 'test-calculate.R:334:3', 'test-calculate.R:359:3', 'test-calculate.R:416:3', 'test-calculate.R:441:3', 'test-calculate.R:464:3', 'test-calculate.R:477:3', 'test-calculate.R:499:3', 'test-calculate.R:509:3', 'test-calculate.R:521:3', 'test-calculate.R:674:4', 'test-calculate.R:694:3', 'test-calculate.R:739:3', 'test-fit.R:68:3', 'test-fit.R:104:3', 'test-generate.R:38:3', 'test-generate.R:79:3', 'test-generate.R:164:3', 'test-generate.R:261:3', 'test-generate.R:283:3', 'test-generate.R:416:3', 'test-generate.R:495:3', 'test-get_confidence_interval.R:103:3', 'test-get_confidence_interval.R:109:3', 'test-get_confidence_interval.R:198:3', 'test-get_confidence_interval.R:225:3', 'test-get_confidence_interval.R:400:3', 'test-get_confidence_interval.R:489:4', 'test-get_p_value.R:8:3', 'test-get_p_value.R:61:3', 'test-get_p_value.R:71:3', 'test-get_p_value.R:78:3', 'test-get_p_value.R:121:3', 'test-get_p_value.R:187:3', 'test-get_p_value.R:214:3', 'test-get_p_value.R:335:3', 'test-get_p_value.R:436:3', 'test-hypothesize.R:62:3', 'test-hypothesize.R:87:3', 'test-hypothesize.R:96:3', 'test-hypothesize.R:105:3', 'test-hypothesize.R:114:4', 'test-hypothesize.R:123:3', 'test-hypothesize.R:132:3', 'test-hypothesize.R:141:3', 'test-hypothesize.R:150:3', 'test-hypothesize.R:162:3', 'test-hypothesize.R:197:3', 'test-hypothesize.R:219:3', 'test-observe.R:139:4', 'test-rep_sample_n.R:18:3', 'test-rep_sample_n.R:51:3', 'test-rep_sample_n.R:145:3', 'test-rep_sample_n.R:192:3', 'test-shade_confidence_interval.R:6:3', 'test-shade_confidence_interval.R:39:3', 'test-shade_confidence_interval.R:48:3', 'test-shade_confidence_interval.R:61:3', 'test-shade_p_value.R:6:3', 'test-shade_p_value.R:90:3', 'test-shade_p_value.R:116:3', 'test-shade_p_value.R:133:3', 'test-shade_p_value.R:141:3', 'test-shade_p_value.R:161:4', 'test-specify.R:20:3', 'test-specify.R:27:3', 'test-specify.R:49:3', 'test-specify.R:65:3', 'test-specify.R:79:3', 'test-specify.R:87:4', 'test-utils.R:59:3', 'test-utils.R:78:3', 'test-utils.R:86:3', 'test-utils.R:93:3', 'test-utils.R:108:4', 'test-visualize.R:50:3', 'test-visualize.R:101:3', 'test-visualize.R:437:3', 'test-visualize.R:467:3', 'test-visualize.R:491:3', 'test-visualize.R:545:3', 'test-visualize.R:574:3', 'test-visualize.R:595:5', 'test-visualize.R:613:3', 'test-visualize.R:646:3', 'test-visualize.R:713:3', 'test-wrappers.R:3:3', 'test-wrappers.R:77:3', 'test-wrappers.R:86:3', 'test-wrappers.R:220:3', 'test-wrappers.R:296:3', 'test-wrappers.R:368:3', 'test-wrappers.R:410:4', 'test-wrappers.R:436:4', 'test-wrappers.R:460:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-shade_p_value.R:157:4'): `shade_p_value()` handles 0-area shading without issue (#528) ── Expected `... <- NULL` to run without any conditions. i Actually got a <lifecycle_stage> with text: is.ggplot() is deprecated ── Failure ('test-shade_p_value.R:161:4'): `shade_p_value()` handles 0-area shading without issue (#528) ── Expected `print(zero_area_shade)` to run without any conditions. i Actually got a <simpleError> with text: object 'zero_area_shade' not found Backtrace: ▆ 1. ├─infer:::expect_doppelganger(...) at test-shade_p_value.R:161:4 2. │ └─vdiffr::expect_doppelganger(title, fig, ...) at tests/testthat/helper-data.R:5:3 3. │ └─vdiffr (local) writer(fig, testcase, title) 4. │ └─vdiffr:::print_plot(plot, title) 5. └─testthat::expect_no_condition(print(zero_area_shade)) [ FAIL 2 | WARN 0 | SKIP 109 | PASS 349 ] Deleting unused snapshots: • shade_confidence_interval/ci-both-fill.svg • shade_confidence_interval/ci-both-nofill.svg • shade_confidence_interval/ci-extra-aes-2.svg • shade_confidence_interval/ci-sim-nofill.svg • shade_confidence_interval/ci-theor-fill.svg • shade_confidence_interval/ci-theor-nofill.svg • shade_p_value/pval-both-both.svg • shade_p_value/pval-both-corrupt.svg • shade_p_value/pval-both-left.svg • shade_p_value/pval-both-null.svg • shade_p_value/pval-both-right.svg • shade_p_value/pval-direction-both.svg • shade_p_value/pval-direction-left.svg • shade_p_value/pval-extra-aes-2.svg • shade_p_value/pval-extra-aes-3.svg • shade_p_value/pval-sim-both.svg • shade_p_value/pval-sim-corrupt.svg • shade_p_value/pval-sim-left.svg • shade_p_value/pval-sim-null.svg • shade_p_value/pval-stat-match.svg • shade_p_value/pval-theor-both.svg • shade_p_value/pval-theor-corrupt.svg • shade_p_value/pval-theor-left.svg • shade_p_value/pval-theor-null.svg • shade_p_value/pval-theor-right.svg • visualize/ci-vis.svg • visualize/df-obs-stat-2.svg • visualize/method-both.svg • visualize/vis-both-both-1.svg • visualize/vis-both-both-2.svg • visualize/vis-both-left-1.svg • visualize/vis-both-left-2.svg • visualize/vis-both-none-1.svg • visualize/vis-both-none-2.svg • visualize/vis-both-right-1.svg • visualize/vis-both-right-2.svg • visualize/vis-no-hypothesize-both.svg • visualize/vis-sim-both-1.svg • visualize/vis-sim-both-2.svg • visualize/vis-sim-left-1.svg • visualize/vis-sim-none-1.svg • visualize/vis-sim-right-1.svg • visualize/vis-theor-both-1.svg • visualize/vis-theor-both-2.svg • visualize/vis-theor-left-1.svg • visualize/vis-theor-none-1.svg • visualize/vis-theor-none-2.svg • visualize/vis-theor-none-3.svg • visualize/vis-theor-none-4.svg • visualize/vis-theor-right-1.svg • visualize/visualise.svg • visualize/viz-assume-2t-ci.svg • visualize/viz-assume-2t-p-val-both.svg • visualize/viz-assume-2t-p-val-left.svg • visualize/viz-assume-2t-p-val-right.svg • visualize/viz-assume-2t.svg • visualize/viz-assume-2z-ci.svg • visualize/viz-assume-2z-p-val-both.svg • visualize/viz-assume-2z-p-val-left.svg • visualize/viz-assume-2z-p-val-right.svg • visualize/viz-assume-2z.svg • visualize/viz-assume-f-p-val.svg • visualize/viz-assume-t-both.svg • visualize/viz-assume-t-ci.svg • visualize/viz-assume-t-p-val-both.svg • visualize/viz-assume-t-p-val-left.svg • visualize/viz-assume-t-p-val-right.svg • visualize/viz-assume-t-sim.svg • visualize/viz-assume-t.svg • visualize/viz-assume-z-ci.svg • visualize/viz-assume-z-p-val-both.svg • visualize/viz-assume-z-p-val-left.svg • visualize/viz-assume-z-p-val-right.svg • visualize/viz-assume-z.svg • visualize/viz-fit-conf-int.svg • visualize/viz-fit-no-h0.svg • visualize/viz-fit-p-val-both.svg • visualize/viz-fit-p-val-left.svg • visualize/viz-fit-p-val-right.svg Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.7
Check: tests
Result: ERROR Running ‘testthat.R’ [65s/283s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(infer) > > test_check("infer") Dropping unused factor levels DK from the supplied explanatory variable 'partyid'. Dropping unused factor levels DK from the supplied explanatory variable 'partyid'. Dropping unused factor levels DK from the supplied explanatory variable 'partyid'. Dropping unused factor levels DK from the supplied explanatory variable 'partyid'. Setting `type = "bootstrap"` in `generate()`. Setting `type = "bootstrap"` in `generate()`. Setting `type = "bootstrap"` in `generate()`. Setting `type = "bootstrap"` in `generate()`. Setting `type = "bootstrap"` in `generate()`. Setting `type = "draw"` in `generate()`. Setting `type = "permute"` in `generate()`. Setting `type = "draw"` in `generate()`. Setting `type = "permute"` in `generate()`. Setting `type = "permute"` in `generate()`. Setting `type = "permute"` in `generate()`. Setting `type = "permute"` in `generate()`. Setting `type = "bootstrap"` in `generate()`. Setting `type = "bootstrap"` in `generate()`. Setting `type = "bootstrap"` in `generate()`. Setting `type = "bootstrap"` in `generate()`. Using `level = 0.95` to compute confidence interval. Using `level = 0.95` to compute confidence interval. Using `level = 0.95` to compute confidence interval. Using `level = 0.95` to compute confidence interval. Dropping unused factor levels DK from the supplied explanatory variable 'partyid'. Dropping unused factor levels DK from the supplied explanatory variable 'partyid'. list() list() NULL Dropping unused factor levels DK from the supplied response variable 'partyid'. Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union Setting `type = "bootstrap"` in `generate()`. Dropping unused factor levels DK from the supplied explanatory variable 'partyid'. Dropping unused factor levels DK from the supplied explanatory variable 'partyid'. [ FAIL 2 | WARN 0 | SKIP 109 | PASS 349 ] ══ Skipped tests (109) ═════════════════════════════════════════════════════════ • On CRAN (109): 'test-aliases.R:14:3', 'test-assume.R:99:3', 'test-assume.R:194:3', 'test-calculate.R:4:3', 'test-calculate.R:9:3', 'test-calculate.R:45:3', 'test-calculate.R:82:3', 'test-calculate.R:96:3', 'test-calculate.R:132:3', 'test-calculate.R:144:3', 'test-calculate.R:155:3', 'test-calculate.R:193:3', 'test-calculate.R:201:3', 'test-calculate.R:223:3', 'test-calculate.R:320:3', 'test-calculate.R:334:3', 'test-calculate.R:359:3', 'test-calculate.R:416:3', 'test-calculate.R:441:3', 'test-calculate.R:464:3', 'test-calculate.R:477:3', 'test-calculate.R:499:3', 'test-calculate.R:509:3', 'test-calculate.R:521:3', 'test-calculate.R:674:4', 'test-calculate.R:694:3', 'test-calculate.R:739:3', 'test-fit.R:68:3', 'test-fit.R:104:3', 'test-generate.R:38:3', 'test-generate.R:79:3', 'test-generate.R:164:3', 'test-generate.R:261:3', 'test-generate.R:283:3', 'test-generate.R:416:3', 'test-generate.R:495:3', 'test-get_confidence_interval.R:103:3', 'test-get_confidence_interval.R:109:3', 'test-get_confidence_interval.R:198:3', 'test-get_confidence_interval.R:225:3', 'test-get_confidence_interval.R:400:3', 'test-get_confidence_interval.R:489:4', 'test-get_p_value.R:8:3', 'test-get_p_value.R:61:3', 'test-get_p_value.R:71:3', 'test-get_p_value.R:78:3', 'test-get_p_value.R:121:3', 'test-get_p_value.R:187:3', 'test-get_p_value.R:214:3', 'test-get_p_value.R:335:3', 'test-get_p_value.R:436:3', 'test-hypothesize.R:62:3', 'test-hypothesize.R:87:3', 'test-hypothesize.R:96:3', 'test-hypothesize.R:105:3', 'test-hypothesize.R:114:4', 'test-hypothesize.R:123:3', 'test-hypothesize.R:132:3', 'test-hypothesize.R:141:3', 'test-hypothesize.R:150:3', 'test-hypothesize.R:162:3', 'test-hypothesize.R:197:3', 'test-hypothesize.R:219:3', 'test-observe.R:139:4', 'test-rep_sample_n.R:18:3', 'test-rep_sample_n.R:51:3', 'test-rep_sample_n.R:145:3', 'test-rep_sample_n.R:192:3', 'test-shade_confidence_interval.R:6:3', 'test-shade_confidence_interval.R:39:3', 'test-shade_confidence_interval.R:48:3', 'test-shade_confidence_interval.R:61:3', 'test-shade_p_value.R:6:3', 'test-shade_p_value.R:90:3', 'test-shade_p_value.R:116:3', 'test-shade_p_value.R:133:3', 'test-shade_p_value.R:141:3', 'test-shade_p_value.R:161:4', 'test-specify.R:20:3', 'test-specify.R:27:3', 'test-specify.R:49:3', 'test-specify.R:65:3', 'test-specify.R:79:3', 'test-specify.R:87:4', 'test-utils.R:59:3', 'test-utils.R:78:3', 'test-utils.R:86:3', 'test-utils.R:93:3', 'test-utils.R:108:4', 'test-visualize.R:50:3', 'test-visualize.R:101:3', 'test-visualize.R:437:3', 'test-visualize.R:467:3', 'test-visualize.R:491:3', 'test-visualize.R:545:3', 'test-visualize.R:574:3', 'test-visualize.R:595:5', 'test-visualize.R:613:3', 'test-visualize.R:646:3', 'test-visualize.R:713:3', 'test-wrappers.R:3:3', 'test-wrappers.R:77:3', 'test-wrappers.R:86:3', 'test-wrappers.R:220:3', 'test-wrappers.R:296:3', 'test-wrappers.R:368:3', 'test-wrappers.R:410:4', 'test-wrappers.R:436:4', 'test-wrappers.R:460:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-shade_p_value.R:157:4'): `shade_p_value()` handles 0-area shading without issue (#528) ── Expected `... <- NULL` to run without any conditions. i Actually got a <lifecycle_stage> with text: is.ggplot() is deprecated ── Failure ('test-shade_p_value.R:161:4'): `shade_p_value()` handles 0-area shading without issue (#528) ── Expected `print(zero_area_shade)` to run without any conditions. i Actually got a <simpleError> with text: object 'zero_area_shade' not found Backtrace: ▆ 1. ├─infer:::expect_doppelganger(...) at test-shade_p_value.R:161:4 2. │ └─vdiffr::expect_doppelganger(title, fig, ...) at tests/testthat/helper-data.R:5:3 3. │ └─vdiffr (local) writer(fig, testcase, title) 4. │ └─vdiffr:::print_plot(plot, title) 5. └─testthat::expect_no_condition(print(zero_area_shade)) [ FAIL 2 | WARN 0 | SKIP 109 | PASS 349 ] Deleting unused snapshots: • shade_confidence_interval/ci-both-fill.svg • shade_confidence_interval/ci-both-nofill.svg • shade_confidence_interval/ci-extra-aes-2.svg • shade_confidence_interval/ci-sim-nofill.svg • shade_confidence_interval/ci-theor-fill.svg • shade_confidence_interval/ci-theor-nofill.svg • shade_p_value/pval-both-both.svg • shade_p_value/pval-both-corrupt.svg • shade_p_value/pval-both-left.svg • shade_p_value/pval-both-null.svg • shade_p_value/pval-both-right.svg • shade_p_value/pval-direction-both.svg • shade_p_value/pval-direction-left.svg • shade_p_value/pval-extra-aes-2.svg • shade_p_value/pval-extra-aes-3.svg • shade_p_value/pval-sim-both.svg • shade_p_value/pval-sim-corrupt.svg • shade_p_value/pval-sim-left.svg • shade_p_value/pval-sim-null.svg • shade_p_value/pval-stat-match.svg • shade_p_value/pval-theor-both.svg • shade_p_value/pval-theor-corrupt.svg • shade_p_value/pval-theor-left.svg • shade_p_value/pval-theor-null.svg • shade_p_value/pval-theor-right.svg • visualize/ci-vis.svg • visualize/df-obs-stat-2.svg • visualize/method-both.svg • visualize/vis-both-both-1.svg • visualize/vis-both-both-2.svg • visualize/vis-both-left-1.svg • visualize/vis-both-left-2.svg • visualize/vis-both-none-1.svg • visualize/vis-both-none-2.svg • visualize/vis-both-right-1.svg • visualize/vis-both-right-2.svg • visualize/vis-no-hypothesize-both.svg • visualize/vis-sim-both-1.svg • visualize/vis-sim-both-2.svg • visualize/vis-sim-left-1.svg • visualize/vis-sim-none-1.svg • visualize/vis-sim-right-1.svg • visualize/vis-theor-both-1.svg • visualize/vis-theor-both-2.svg • visualize/vis-theor-left-1.svg • visualize/vis-theor-none-1.svg • visualize/vis-theor-none-2.svg • visualize/vis-theor-none-3.svg • visualize/vis-theor-none-4.svg • visualize/vis-theor-right-1.svg • visualize/visualise.svg • visualize/viz-assume-2t-ci.svg • visualize/viz-assume-2t-p-val-both.svg • visualize/viz-assume-2t-p-val-left.svg • visualize/viz-assume-2t-p-val-right.svg • visualize/viz-assume-2t.svg • visualize/viz-assume-2z-ci.svg • visualize/viz-assume-2z-p-val-both.svg • visualize/viz-assume-2z-p-val-left.svg • visualize/viz-assume-2z-p-val-right.svg • visualize/viz-assume-2z.svg • visualize/viz-assume-f-p-val.svg • visualize/viz-assume-t-both.svg • visualize/viz-assume-t-ci.svg • visualize/viz-assume-t-p-val-both.svg • visualize/viz-assume-t-p-val-left.svg • visualize/viz-assume-t-p-val-right.svg • visualize/viz-assume-t-sim.svg • visualize/viz-assume-t.svg • visualize/viz-assume-z-ci.svg • visualize/viz-assume-z-p-val-both.svg • visualize/viz-assume-z-p-val-left.svg • visualize/viz-assume-z-p-val-right.svg • visualize/viz-assume-z.svg • visualize/viz-fit-conf-int.svg • visualize/viz-fit-no-h0.svg • visualize/viz-fit-p-val-both.svg • visualize/viz-fit-p-val-left.svg • visualize/viz-fit-p-val-right.svg Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc