CRAN Package Check Results for Package tidybayes

Last updated on 2020-02-15 01:01:43 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0.1 14.69 271.78 286.47 OK
r-devel-linux-x86_64-debian-gcc 2.0.1 11.39 203.53 214.92 OK
r-devel-linux-x86_64-fedora-clang 2.0.1 331.91 OK
r-devel-linux-x86_64-fedora-gcc 2.0.1 287.03 OK
r-devel-windows-ix86+x86_64 2.0.1 28.00 298.00 326.00 OK
r-devel-windows-ix86+x86_64-gcc8 1.1.0 29.00 233.00 262.00 ERROR
r-patched-linux-x86_64 2.0.1 11.97 237.66 249.63 OK
r-patched-solaris-x86 2.0.1 416.40 NOTE
r-release-linux-x86_64 2.0.1 12.08 236.67 248.75 OK
r-release-windows-ix86+x86_64 2.0.1 20.00 290.00 310.00 OK
r-release-osx-x86_64 2.0.1 OK
r-oldrel-windows-ix86+x86_64 2.0.1 16.00 267.00 283.00 ERROR
r-oldrel-osx-x86_64 2.0.1 ERROR

Check Details

Version: 1.1.0
Check: tests
Result: ERROR
     Running 'testthat.R' [109s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > # This is necessary because some tests fail otherwise; see https://github.com/hadley/testthat/issues/144
     > Sys.setenv("R_TESTS" = "")
     >
     > library(testthat)
     > library(tidybayes)
     >
     > test_check("tidybayes")
     -- 1. Failure: [add_]predicted_draws works on brms models with categorical outco
     predicted_draws(m_cyl_mpg, mtcars_tbl, seed = 1234, n = 100) not equal to `ref`.
     Incompatible type for column `.prediction`: x numeric, y factor
    
     -- 2. Failure: [add_]predicted_draws works on brms models with categorical outco
     add_predicted_draws(mtcars_tbl, m_cyl_mpg, seed = 1234, n = 100) not equal to `ref`.
     Incompatible type for column `.prediction`: x numeric, y factor
    
     == testthat results ===========================================================
     [ OK: 271 | SKIPPED: 41 | WARNINGS: 38 | FAILED: 2 ]
     1. Failure: [add_]predicted_draws works on brms models with categorical outcomes (@test.predicted_draws.R#126)
     2. Failure: [add_]predicted_draws works on brms models with categorical outcomes (@test.predicted_draws.R#127)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-windows-ix86+x86_64-gcc8

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

Version: 2.0.1
Check: installed package size
Result: NOTE
     installed size is 5.4Mb
     sub-directories of 1Mb or more:
     doc 4.0Mb
Flavor: r-patched-solaris-x86

Version: 2.0.1
Check: R code for possible problems
Result: NOTE
    parse_dist.character : <anonymous>: no visible global function
     definition for 'str2lang'
    Undefined global functions or variables:
     str2lang
Flavors: r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 2.0.1
Check: examples
Result: ERROR
    Running examples in 'tidybayes-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: lkjcorr_marginal
    > ### Title: Marginal distribution of a single correlation from an LKJ
    > ### distribution
    > ### Aliases: lkjcorr_marginal dlkjcorr_marginal plkjcorr_marginal
    > ### qlkjcorr_marginal rlkjcorr_marginal
    >
    > ### ** Examples
    >
    >
    > library(dplyr)
    
    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
    
    > library(ggplot2)
    >
    > data.frame(prior = "lkjcorr_marginal(2, 3)") %>%
    + parse_dist(prior) %>%
    + ggplot(aes(y = prior, dist = .dist, args = .args)) +
    + stat_dist_halfeyeh() +
    + xlim(-1, 1) +
    + xlab("Marginal correlation for LKJ(3) prior on 2x2 correlation matrix")
    Error: Discrete value supplied to continuous scale
    Execution halted
Flavors: r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 2.0.1
Check: tests
Result: ERROR
     Running 'testthat.R' [163s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > # This is necessary because some tests fail otherwise; see https://github.com/hadley/testthat/issues/144
     > Sys.setenv("R_TESTS" = "")
     >
     > library(testthat)
     > library(tidybayes)
     >
     > test_check("tidybayes")
     -- 1. Failure: geom aesthetic documention generator works (@test.geom.R#11) ---
     as.data.frame(...) not equal to as.data.frame(...).
     Component ".dist": Modes: logical, character
     Component ".dist": target is logical, current is character
     Component ".args": Component 1: Modes: logical, list
     Component ".args": Component 1: Lengths: 1, 2
     Component ".args": Component 1: target is logical, current is list
     Component ".args": Component 2: Modes: logical, list
     Component ".args": Component 2: Lengths: 1, 2
     Component ".args": Component 2: target is logical, current is list
     Component ".args": Component 3: Modes: logical, list
     ...
    
     -- 2. Failure: parse_dist works on vectors (@test.parse_dist.R#13) ------------
     as.data.frame(...) not equal to as.data.frame(...).
     Component ".dist": Modes: logical, character
     Component ".dist": target is logical, current is character
     Component ".args": Component 1: Modes: logical, list
     Component ".args": Component 1: Lengths: 1, 2
     Component ".args": Component 1: target is logical, current is list
     Component ".args": Component 2: Modes: logical, list
     Component ".args": Component 2: Lengths: 1, 2
     Component ".args": Component 2: target is logical, current is list
     Component ".args": Component 3: Modes: logical, list
     ...
    
     -- 3. Failure: parse_dist works on data frames (@test.parse_dist.R#23) --------
     parse_dist(data.frame(p = dists), p) not equal to as.data.frame(...).
     Component ".dist": Modes: logical, character
     Component ".dist": target is logical, current is character
     Component ".args": Component 1: Modes: logical, list
     Component ".args": Component 1: Lengths: 1, 2
     Component ".args": Component 1: target is logical, current is list
     Component ".args": Component 2: Modes: logical, list
     Component ".args": Component 2: Lengths: 1, 2
     Component ".args": Component 2: target is logical, current is list
     Component ".args": Component 3: Modes: logical, list
     ...
    
     -- 4. Error: parse_dist + marginalize_lkjcorr produces correct results (@test.pa
     Discrete value supplied to continuous scale
     Backtrace:
     1. vdiffr::expect_doppelganger(...)
     2. vdiffr:::writer(fig, testcase, title)
     4. vdiffr:::print_plot.ggplot(plot, title)
     6. ggplot2:::print.ggplot(p)
     8. ggplot2:::ggplot_build.ggplot(x)
     9. layout$train_position(data, scale_x(), scale_y())
     10. ggplot2:::f(..., self = self)
     11. self$facet$train_scales(...)
     12. ggplot2:::f(...)
     13. ggplot2:::scale_apply(layer_data, x_vars, "train", SCALE_X, x_scales)
     14. base::lapply(...)
     15. ggplot2:::FUN(X[[i]], ...)
     16. base::lapply(...)
     17. ggplot2:::FUN(X[[i]], ...)
     18. scales[[i]][[method]](data[[var]][scale_index[[i]]])
     19. ggplot2:::f(..., self = self)
     20. self$range$train(x)
     21. ggplot2:::f(..., self = self)
     22. scales::train_continuous(x, self$range)
    
     == testthat results ===========================================================
     [ OK: 329 | SKIPPED: 124 | WARNINGS: 0 | FAILED: 4 ]
     1. Failure: geom aesthetic documention generator works (@test.geom.R#11)
     2. Failure: parse_dist works on vectors (@test.parse_dist.R#13)
     3. Failure: parse_dist works on data frames (@test.parse_dist.R#23)
     4. Error: parse_dist + marginalize_lkjcorr produces correct results (@test.parse_dist.R#33)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 2.0.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [116s/117s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     18. scales[[i]][[method]](data[[var]][scale_index[[i]]])
     19. ggplot2:::f(..., self = self)
     20. self$range$train(x)
     21. ggplot2:::f(..., self = self)
     22. scales::train_continuous(x, self$range)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 329 | SKIPPED: 124 | WARNINGS: 0 | FAILED: 4 ]
     1. Failure: geom aesthetic documention generator works (@test.geom.R#11)
     2. Failure: parse_dist works on vectors (@test.parse_dist.R#13)
     3. Failure: parse_dist works on data frames (@test.parse_dist.R#23)
     4. Error: parse_dist + marginalize_lkjcorr produces correct results (@test.parse_dist.R#33)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-osx-x86_64