You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The change in ggplot2 to use tidy evaluation means quosures are used inside of ggplot2. Thus, this class of unit tests...
g<- mcmc_intervals(arr, rhat=r)
rhat_map<-g$layers[[3]][["mapping"]]
expect_identical(rhat_map$colour, as.name("rhat_rating"))
#> Error: rhat_map$colour not identical to as.name("rhat_rating").#> target, current differ in having response: FALSE, FALSE
will fail because the former is a quosure and the latter is a name.
test-mcmc-intervals.R:89: failure: mcmc_intervals/areas with rhat
rhat_map$colour not identical to as.name("rhat_rating").
target, current differ in having response: FALSE, FALSE
test-mcmc-intervals.R:98: failure: mcmc_intervals/areas with rhat
rhat_map2$fill not identical to as.name("rhat_rating").
target, current differ in having response: FALSE, FALSE
test-mcmc-intervals.R:99: failure: mcmc_intervals/areas with rhat
rhat_map2$colour not identical to as.name("rhat_rating").
target, current differ in having response: FALSE, FALSE
test-mcmc-intervals.R:105: failure: mcmc_intervals/areas with rhat
rhat_map4$colour not identical to as.name("rhat_rating").
target, current differ in having response: FALSE, FALSE
test-mcmc-intervals.R:109: failure: mcmc_intervals/areas with rhat
rhat_map5$colour not identical to as.name("rhat_rating").
target, current differ in having response: FALSE, FALSE
== Terminating early =================================================
Too many failures
The text was updated successfully, but these errors were encountered:
Running the tests on a fresh install of R locally and got some errors for missing packages: vdiffr (these are skipped on CRAN, so that's okay), arm and hexbin. I'm just making a note here because in case we need to address these package dependencies on CRAN or travis.
The change in ggplot2 to use tidy evaluation means quosures are used inside of ggplot2. Thus, this class of unit tests...
will fail because the former is a quosure and the latter is a name.
But as far as I can tell, we can get the name with
Here are the first batch of errors...
The text was updated successfully, but these errors were encountered: