CRAN Package Check Results for Package infer

Last updated on 2020-05-30 12:48:12 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.1 6.94 378.06 385.00 OK
r-devel-linux-x86_64-debian-gcc 0.5.1 5.41 287.09 292.50 OK
r-devel-linux-x86_64-fedora-clang 0.5.1 534.19 ERROR
r-devel-linux-x86_64-fedora-gcc 0.5.1 804.12 ERROR
r-devel-windows-ix86+x86_64 0.5.1 22.00 522.00 544.00 OK
r-patched-linux-x86_64 0.5.1 6.70 363.08 369.78 OK
r-patched-solaris-x86 0.5.1 710.30 ERROR
r-release-linux-x86_64 0.5.1 7.53 365.52 373.05 OK
r-release-osx-x86_64 0.5.1 FAIL
r-release-windows-ix86+x86_64 0.5.1 17.00 553.00 570.00 OK
r-oldrel-osx-x86_64 0.5.1 NOTE
r-oldrel-windows-ix86+x86_64 0.5.1 14.00 375.00 389.00 OK

Check Details

Version: 0.5.1
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘lifecycle’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 0.5.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [107s/136s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(infer)
     >
     > test_check("infer")
     Setting `type = "permute"` in `generate()`.
     ── 1. Failure: chi-square matches chisq.test value (@test-calculate.R#219) ────
     `infer_way` not equal to `trad_way`.
     Attributes: < Names: 2 string mismatches >
     Attributes: < Length mismatch: comparison on first 3 components >
     Attributes: < Component "class": Lengths (3, 4) differ (string compare on first 3) >
     Attributes: < Component "class": 3 string mismatches >
     Attributes: < Component 2: Modes: numeric, list >
     Attributes: < Component 2: Lengths: 1, 2 >
     Attributes: < Component 2: names for current but not for target >
     Attributes: < Component 2: Attributes: < target is NULL, current is list > >
     Attributes: < Component 2: target is numeric, current is tbl_df >
     ...
    
     ── 2. Failure: chi-square matches chisq.test value (@test-calculate.R#236) ────
     `infer_way` not equal to `trad_way`.
     Attributes: < Names: 2 string mismatches >
     Attributes: < Length mismatch: comparison on first 3 components >
     Attributes: < Component "class": Lengths (3, 4) differ (string compare on first 3) >
     Attributes: < Component "class": 3 string mismatches >
     Attributes: < Component 2: Modes: numeric, list >
     Attributes: < Component 2: Lengths: 1, 2 >
     Attributes: < Component 2: names for current but not for target >
     Attributes: < Component 2: Attributes: < target is NULL, current is list > >
     Attributes: < Component 2: target is numeric, current is tbl_df >
     ...
    
     ── 3. Failure: calc_impl.count works (@test-calculate.R#473) ──────────────────
     gen_iris12 %>% calculate(stat = "count") not equal to `%>%`(...).
     Attributes: < Names: 1 string mismatch >
     Attributes: < Length mismatch: comparison on first 2 components >
     Attributes: < Component 2: Modes: logical, numeric >
     Attributes: < Component 2: Lengths: 1, 10 >
     Attributes: < Component 2: target is logical, current is numeric >
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 339 | SKIPPED: 60 | WARNINGS: 21 | FAILED: 3 ]
     1. Failure: chi-square matches chisq.test value (@test-calculate.R#219)
     2. Failure: chi-square matches chisq.test value (@test-calculate.R#236)
     3. Failure: calc_impl.count works (@test-calculate.R#473)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.5.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [115s/271s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(infer)
     >
     > test_check("infer")
     Setting `type = "permute"` in `generate()`.
     ── 1. Failure: chi-square matches chisq.test value (@test-calculate.R#219) ────
     `infer_way` not equal to `trad_way`.
     Attributes: < Names: 2 string mismatches >
     Attributes: < Length mismatch: comparison on first 3 components >
     Attributes: < Component "class": Lengths (3, 4) differ (string compare on first 3) >
     Attributes: < Component "class": 3 string mismatches >
     Attributes: < Component 2: Modes: numeric, list >
     Attributes: < Component 2: Lengths: 1, 2 >
     Attributes: < Component 2: names for current but not for target >
     Attributes: < Component 2: Attributes: < target is NULL, current is list > >
     Attributes: < Component 2: target is numeric, current is tbl_df >
     ...
    
     ── 2. Failure: chi-square matches chisq.test value (@test-calculate.R#236) ────
     `infer_way` not equal to `trad_way`.
     Attributes: < Names: 2 string mismatches >
     Attributes: < Length mismatch: comparison on first 3 components >
     Attributes: < Component "class": Lengths (3, 4) differ (string compare on first 3) >
     Attributes: < Component "class": 3 string mismatches >
     Attributes: < Component 2: Modes: numeric, list >
     Attributes: < Component 2: Lengths: 1, 2 >
     Attributes: < Component 2: names for current but not for target >
     Attributes: < Component 2: Attributes: < target is NULL, current is list > >
     Attributes: < Component 2: target is numeric, current is tbl_df >
     ...
    
     ── 3. Failure: calc_impl.count works (@test-calculate.R#473) ──────────────────
     gen_iris12 %>% calculate(stat = "count") not equal to `%>%`(...).
     Attributes: < Names: 1 string mismatch >
     Attributes: < Length mismatch: comparison on first 2 components >
     Attributes: < Component 2: Modes: logical, numeric >
     Attributes: < Component 2: Lengths: 1, 10 >
     Attributes: < Component 2: target is logical, current is numeric >
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 339 | SKIPPED: 60 | WARNINGS: 21 | FAILED: 3 ]
     1. Failure: chi-square matches chisq.test value (@test-calculate.R#219)
     2. Failure: chi-square matches chisq.test value (@test-calculate.R#236)
     3. Failure: calc_impl.count works (@test-calculate.R#473)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 0.5.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [116s/116s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(infer)
     >
     > test_check("infer")
     Setting `type = "permute"` in `generate()`.
     ── 1. Failure: chi-square matches chisq.test value (@test-calculate.R#219) ────
     `infer_way` not equal to `trad_way`.
     Attributes: < Names: 2 string mismatches >
     Attributes: < Length mismatch: comparison on first 3 components >
     Attributes: < Component "class": Lengths (3, 4) differ (string compare on first 3) >
     Attributes: < Component "class": 3 string mismatches >
     Attributes: < Component 2: Modes: numeric, list >
     Attributes: < Component 2: Lengths: 1, 2 >
     Attributes: < Component 2: names for current but not for target >
     Attributes: < Component 2: Attributes: < target is NULL, current is list > >
     Attributes: < Component 2: target is numeric, current is tbl_df >
     ...
    
     ── 2. Failure: chi-square matches chisq.test value (@test-calculate.R#236) ────
     `infer_way` not equal to `trad_way`.
     Attributes: < Names: 2 string mismatches >
     Attributes: < Length mismatch: comparison on first 3 components >
     Attributes: < Component "class": Lengths (3, 4) differ (string compare on first 3) >
     Attributes: < Component "class": 3 string mismatches >
     Attributes: < Component 2: Modes: numeric, list >
     Attributes: < Component 2: Lengths: 1, 2 >
     Attributes: < Component 2: names for current but not for target >
     Attributes: < Component 2: Attributes: < target is NULL, current is list > >
     Attributes: < Component 2: target is numeric, current is tbl_df >
     ...
    
     ── 3. Failure: calc_impl.count works (@test-calculate.R#473) ──────────────────
     gen_iris12 %>% calculate(stat = "count") not equal to `%>%`(...).
     Attributes: < Names: 1 string mismatch >
     Attributes: < Length mismatch: comparison on first 2 components >
     Attributes: < Component 2: Modes: logical, numeric >
     Attributes: < Component 2: Lengths: 1, 10 >
     Attributes: < Component 2: target is logical, current is numeric >
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 339 | SKIPPED: 60 | WARNINGS: 21 | FAILED: 3 ]
     1. Failure: chi-square matches chisq.test value (@test-calculate.R#219)
     2. Failure: chi-square matches chisq.test value (@test-calculate.R#236)
     3. Failure: calc_impl.count works (@test-calculate.R#473)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86

Version: 0.5.1
Check: examples
Result: ERROR
    Running examples in ‘infer-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: shade_p_value
    > ### Title: Add information about p-value region(s)
    > ### Aliases: shade_p_value shade_pvalue
    >
    > ### ** Examples
    >
    > # find the point estimate---mean number of hours worked per week
    > point_estimate <- gss %>%
    + specify(response = hours) %>%
    + calculate(stat = "mean") %>%
    + dplyr::pull()
    Warning: Removed 1244 rows containing missing values.
    >
    > # ...and a null distribution
    > null_dist <- gss %>%
    + # ...we're interested in the number of hours worked per week
    + specify(response = hours) %>%
    + # hypothesizing that the mean is 40
    + hypothesize(null = "point", mu = 40) %>%
    + # generating data points for a null distribution
    + generate(reps = 10000, type = "bootstrap") %>%
    + # finding the null distribution
    + calculate(stat = "mean")
    Warning: Removed 1244 rows containing missing values.
    
    Execution halted
Flavor: r-release-osx-x86_64

Version: 0.5.1
Check: tests
Result: FAIL
Flavor: r-release-osx-x86_64