CRAN Package Check Results for Package broom

Last updated on 2018-10-22 01:50:30 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.0 7.84 156.98 164.82 ERROR
r-devel-linux-x86_64-debian-gcc 0.5.0 6.01 121.69 127.70 ERROR
r-devel-linux-x86_64-fedora-clang 0.5.0 266.59 OK
r-devel-linux-x86_64-fedora-gcc 0.5.0 268.06 OK
r-devel-windows-ix86+x86_64 0.5.0 22.00 323.00 345.00 OK
r-patched-linux-x86_64 0.5.0 8.94 151.19 160.13 ERROR
r-patched-solaris-x86 0.5.0 352.10 NOTE
r-release-linux-x86_64 0.5.0 7.50 149.46 156.96 ERROR
r-release-windows-ix86+x86_64 0.5.0 23.00 299.00 322.00 OK
r-release-osx-x86_64 0.5.0 OK
r-oldrel-windows-ix86+x86_64 0.5.0 13.00 376.00 389.00 OK
r-oldrel-osx-x86_64 0.5.0 ERROR

Check Details

Version: 0.5.0
Check: examples
Result: ERROR
    Running examples in ‘broom-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: tidy.polr
    > ### Title: Tidying methods for ordinal logistic regression models
    > ### Aliases: tidy.polr glance.polr augment.polr ordinal_tidiers tidy.clm
    > ### tidy.clmm glance.clm glance.clmm augment.clm tidy.svyolr
    > ### glance.svyolr
    >
    > ### ** Examples
    >
    > if (require(ordinal)){
    + clm_mod <- clm(rating ~ temp * contact, data = wine)
    + tidy(clm_mod)
    + tidy(clm_mod, conf.int = TRUE)
    + tidy(clm_mod, conf.int = TRUE, conf.type = "Wald", exponentiate = TRUE)
    + glance(clm_mod)
    + augment(clm_mod)
    +
    + clm_mod2 <- clm(rating ~ temp, nominal = ~ contact, data = wine)
    + tidy(clm_mod2)
    +
    + clmm_mod <- clmm(rating ~ temp + contact + (1 | judge), data = wine)
    + tidy(clmm_mod)
    + glance(clmm_mod)
    + }
    Loading required package: ordinal
    Error in `[<-.data.frame`(`*tmp*`, ret$term %in% names(x$zeta), "coefficient_type", :
     replacement has 1 row, data has 0
    Calls: tidy -> tidy.clm -> process_clm -> [<- -> [<-.data.frame
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.5.0
Check: tests
Result: ERROR
     Running ‘test-all.R’ [33s/43s]
    Running the tests in ‘tests/test-all.R’ failed.
    Complete output:
     > library(testthat)
     > test_check("broom")
     Loading required package: broom
     ── 1. Error: tidy.polr (@test-mass-polr.R#16) ─────────────────────────────────
     replacement has 1 row, data has 0
     1: tidy(fit, quick = TRUE) at testthat/test-mass-polr.R:16
     2: tidy.polr(fit, quick = TRUE)
     3: process_polr(ret, x, conf.int = FALSE, exponentiate = exponentiate)
     4: `[<-`(`*tmp*`, ret$term %in% names(x$zeta), "coefficient_type", value = "zeta")
     5: `[<-.data.frame`(`*tmp*`, ret$term %in% names(x$zeta), "coefficient_type", value = "zeta")
     6: stop(sprintf(ngettext(N, "replacement has %d row, data has %d", "replacement has %d rows, data has %d"),
     N, n), domain = NA)
    
     ── 2. Error: tidy.clm (@test-ordinal.R#20) ────────────────────────────────────
     replacement has 1 row, data has 0
     1: tidy(fit, quick = TRUE) at testthat/test-ordinal.R:20
     2: tidy.clm(fit, quick = TRUE)
     3: process_clm(ret, x, conf.int = FALSE, exponentiate = exponentiate)
     4: `[<-`(`*tmp*`, ret$term %in% names(x$zeta), "coefficient_type", value = "zeta")
     5: `[<-.data.frame`(`*tmp*`, ret$term %in% names(x$zeta), "coefficient_type", value = "zeta")
     6: stop(sprintf(ngettext(N, "replacement has %d row, data has %d", "replacement has %d rows, data has %d"),
     N, n), domain = NA)
    
     ── 3. Error: tidy.clmm (@test-ordinal.R#49) ───────────────────────────────────
     replacement has 1 row, data has 0
     1: tidy(mfit, quick = TRUE) at testthat/test-ordinal.R:49
     2: tidy.clmm(mfit, quick = TRUE)
     3: tidy.clm(x, conf.int, conf.level, exponentiate, quick, ...)
     4: process_clm(ret, x, conf.int = FALSE, exponentiate = exponentiate)
     5: `[<-`(`*tmp*`, ret$term %in% names(x$zeta), "coefficient_type", value = "zeta")
     6: `[<-.data.frame`(`*tmp*`, ret$term %in% names(x$zeta), "coefficient_type", value = "zeta")
     7: stop(sprintf(ngettext(N, "replacement has %d row, data has %d", "replacement has %d rows, data has %d"),
     N, n), domain = NA)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 903 SKIPPED: 2 FAILED: 3
     1. Error: tidy.polr (@test-mass-polr.R#16)
     2. Error: tidy.clm (@test-ordinal.R#20)
     3. Error: tidy.clmm (@test-ordinal.R#49)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.5.0
Check: tests
Result: ERROR
     Running ‘test-all.R’ [25s/39s]
    Running the tests in ‘tests/test-all.R’ failed.
    Complete output:
     > library(testthat)
     > test_check("broom")
     Loading required package: broom
     ── 1. Error: tidy.polr (@test-mass-polr.R#16) ─────────────────────────────────
     replacement has 1 row, data has 0
     1: tidy(fit, quick = TRUE) at testthat/test-mass-polr.R:16
     2: tidy.polr(fit, quick = TRUE)
     3: process_polr(ret, x, conf.int = FALSE, exponentiate = exponentiate)
     4: `[<-`(`*tmp*`, ret$term %in% names(x$zeta), "coefficient_type", value = "zeta")
     5: `[<-.data.frame`(`*tmp*`, ret$term %in% names(x$zeta), "coefficient_type", value = "zeta")
     6: stop(sprintf(ngettext(N, "replacement has %d row, data has %d", "replacement has %d rows, data has %d"),
     N, n), domain = NA)
    
     ── 2. Error: tidy.clm (@test-ordinal.R#20) ────────────────────────────────────
     replacement has 1 row, data has 0
     1: tidy(fit, quick = TRUE) at testthat/test-ordinal.R:20
     2: tidy.clm(fit, quick = TRUE)
     3: process_clm(ret, x, conf.int = FALSE, exponentiate = exponentiate)
     4: `[<-`(`*tmp*`, ret$term %in% names(x$zeta), "coefficient_type", value = "zeta")
     5: `[<-.data.frame`(`*tmp*`, ret$term %in% names(x$zeta), "coefficient_type", value = "zeta")
     6: stop(sprintf(ngettext(N, "replacement has %d row, data has %d", "replacement has %d rows, data has %d"),
     N, n), domain = NA)
    
     ── 3. Error: tidy.clmm (@test-ordinal.R#49) ───────────────────────────────────
     replacement has 1 row, data has 0
     1: tidy(mfit, quick = TRUE) at testthat/test-ordinal.R:49
     2: tidy.clmm(mfit, quick = TRUE)
     3: tidy.clm(x, conf.int, conf.level, exponentiate, quick, ...)
     4: process_clm(ret, x, conf.int = FALSE, exponentiate = exponentiate)
     5: `[<-`(`*tmp*`, ret$term %in% names(x$zeta), "coefficient_type", value = "zeta")
     6: `[<-.data.frame`(`*tmp*`, ret$term %in% names(x$zeta), "coefficient_type", value = "zeta")
     7: stop(sprintf(ngettext(N, "replacement has %d row, data has %d", "replacement has %d rows, data has %d"),
     N, n), domain = NA)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 903 SKIPPED: 2 FAILED: 3
     1. Error: tidy.polr (@test-mass-polr.R#16)
     2. Error: tidy.clm (@test-ordinal.R#20)
     3. Error: tidy.clmm (@test-ordinal.R#49)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.5.0
Check: examples
Result: ERROR
    Running examples in ‘broom-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: tidy.biglm
    > ### Title: Tidy a(n) biglm object
    > ### Aliases: tidy.biglm
    >
    > ### ** Examples
    >
    >
    > if (require("biglm", quietly = TRUE)) {
    + bfit <- biglm(mpg ~ wt + disp, mtcars)
    + tidy(bfit)
    + tidy(bfit, conf.int = TRUE)
    + tidy(bfit, conf.int = TRUE, conf.level = .9)
    +
    + glance(bfit)
    +
    + # bigglm: logistic regression
    + bgfit <- bigglm(am ~ mpg, mtcars, family = binomial())
    + tidy(bgfit)
    + tidy(bgfit, exponentiate = TRUE)
    + tidy(bgfit, conf.int = TRUE)
    + tidy(bgfit, conf.int = TRUE, conf.level = .9)
    + tidy(bgfit, conf.int = TRUE, conf.level = .9, exponentiate = TRUE)
    +
    + glance(bgfit)
    + }
    Error in UseMethod("bigglm", data) :
     no applicable method for 'bigglm' applied to an object of class "data.frame"
    Calls: bigglm -> bigglm
    Execution halted
Flavors: r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.5.0
Check: tests
Result: ERROR
     Running ‘test-all.R’ [30s/34s]
    Running the tests in ‘tests/test-all.R’ failed.
    Complete output:
     > library(testthat)
     > test_check("broom")
     Loading required package: broom
     ── 1. Error: (unknown) (@test-biglm.R#7) ──────────────────────────────────────
     no applicable method for 'bigglm' applied to an object of class "data.frame"
     1: bigglm(am ~ mpg, mtcars, family = binomial()) at testthat/test-biglm.R:7
     2: bigglm(am ~ mpg, mtcars, family = binomial())
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 906 SKIPPED: 2 FAILED: 1
     1. Error: (unknown) (@test-biglm.R#7)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.5.0
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘rstanarm’
Flavor: r-patched-solaris-x86

Version: 0.5.0
Check: Rd cross-references
Result: NOTE
    Package unavailable to check Rd xrefs: ‘rstanarm’
Flavor: r-patched-solaris-x86

Version: 0.5.0
Check: package dependencies
Result: NOTE
    Packages suggested but not available for checking:
     ‘brms’ ‘Hmisc’ ‘rstanarm’
Flavor: r-release-linux-x86_64

Version: 0.5.0
Check: tests
Result: ERROR
     Running ‘test-all.R’ [31s/36s]
    Running the tests in ‘tests/test-all.R’ failed.
    Complete output:
     > library(testthat)
     > test_check("broom")
     Loading required package: broom
     ── 1. Error: (unknown) (@test-biglm.R#7) ──────────────────────────────────────
     no applicable method for 'bigglm' applied to an object of class "data.frame"
     1: bigglm(am ~ mpg, mtcars, family = binomial()) at testthat/test-biglm.R:7
     2: bigglm(am ~ mpg, mtcars, family = binomial())
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 903 SKIPPED: 3 FAILED: 1
     1. Error: (unknown) (@test-biglm.R#7)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-linux-x86_64

Version: 0.5.0
Check: examples
Result: ERROR
    Running examples in ‘broom-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: tidy.confusionMatrix
    > ### Title: Tidy a(n) confusionMatrix object
    > ### Aliases: tidy.confusionMatrix caret_tidiers confusionMatrix_tidiers
    >
    > ### ** Examples
    >
    >
    > if (requireNamespace("caret", quietly = TRUE)) {
    +
    + set.seed(27)
    +
    + two_class_sample1 <- as.factor(sample(letters[1:2], 100, TRUE))
    + two_class_sample2 <- as.factor(sample(letters[1:2], 100, TRUE))
    +
    + two_class_cm <- caret::confusionMatrix(
    + two_class_sample1,
    + two_class_sample2
    + )
    +
    + tidy(two_class_cm)
    + tidy(two_class_cm, by_class = FALSE)
    +
    + # multiclass example
    +
    + six_class_sample1 <- as.factor(sample(letters[1:6], 100, TRUE))
    + six_class_sample2 <- as.factor(sample(letters[1:6], 100, TRUE))
    +
    + six_class_cm <- caret::confusionMatrix(
    + six_class_sample1,
    + six_class_sample2
    + )
    +
    + tidy(six_class_cm)
    + tidy(six_class_cm, by_class = FALSE)
    + }
    Error: package e1071 is required
    Execution halted
Flavor: r-oldrel-osx-x86_64