CRAN Package Check Results for Package mosaic

Last updated on 2026-04-06 19:50:05 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.9.2 25.25 401.15 426.40 OK
r-devel-linux-x86_64-debian-gcc 1.9.2 16.27 253.94 270.21 OK
r-devel-linux-x86_64-fedora-clang 1.9.2 48.00 439.06 487.06 ERROR
r-devel-linux-x86_64-fedora-gcc 1.9.2 44.00 623.29 667.29 OK
r-devel-macos-arm64 1.9.2 7.00 83.00 90.00 OK
r-devel-windows-x86_64 1.9.2 28.00 381.00 409.00 OK
r-patched-linux-x86_64 1.9.2 26.30 373.78 400.08 OK
r-release-linux-x86_64 1.9.2 25.72 369.95 395.67 OK
r-release-macos-arm64 1.9.2 OK
r-release-macos-x86_64 1.9.2 16.00 201.00 217.00 OK
r-release-windows-x86_64 1.9.2 30.00 379.00 409.00 OK
r-oldrel-macos-arm64 1.9.2 OK
r-oldrel-macos-x86_64 1.9.2 17.00 227.00 244.00 OK
r-oldrel-windows-x86_64 1.9.2 38.00 514.00 552.00 OK

Check Details

Version: 1.9.2
Check: tests
Result: ERROR Running ‘testthat.R’ [58s/77s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(mosaic) Registered S3 method overwritten by 'mosaic': method from fortify.SpatialPolygonsDataFrame ggplot2 The 'mosaic' package masks several functions from core packages in order to add additional features. The original behavior of these functions should not be affected by this. Attaching package: 'mosaic' The following objects are masked from 'package:dplyr': count, do, tally The following object is masked from 'package:Matrix': mean The following object is masked from 'package:ggplot2': stat The following object is masked from 'package:testthat': compare The following objects are masked from 'package:stats': IQR, binom.test, cor, cor.test, cov, fivenum, median, prop.test, quantile, sd, t.test, var The following objects are masked from 'package:base': max, mean, min, prod, range, sample, sum > > test_check("mosaic") Saving _problems/test-do-5.R Saving _problems/test-do-6.R Mapping API still under development and may change in future releases. `geom_smooth()` using formula = 'y ~ x' `geom_smooth()` using formula = 'y ~ x' `geom_smooth()` using formula = 'y ~ x' `geom_smooth()` using formula = 'y ~ x' Reading data with read.csv() Null distribution appears to be asymmetric. (p = 0) Test statistic applied to sample data = 18 Quantiles of test statistic applied to random data: 50% 90% 95% 99% 16 19 20 22 Of the 1000 samples (1 original + 999 random), 131 ( 13.1 % ) had test stats = 18 297 ( 29.7 % ) had test stats >= 18 Null distribution appears to be asymmetric. (p = 2.28e-06) Test statistic applied to sample data = 18 Quantiles of test statistic applied to random data: 50% 90% 95% 99% 10.00000 26.00000 31.33333 48.69333 Of the 1000 samples (1 original + 999 random), 33 ( 3.3 % ) had test stats = 18 240 ( 24 % ) had test stats >= 18 Null distribution appears to be asymmetric. (p = 0) Test statistic applied to sample data = 18 Quantiles of test statistic applied to random data: 50% 90% 95% 99% 16 19 20 22 Of the 1000 samples (1 original + 999 random), 131 ( 13.1 % ) had test stats = 18 297 ( 29.7 % ) had test stats >= 18 Loading required package: manipulate If X ~ N(500, 100), then P(X <= 650) = P(Z <= 1.5) = 0.9332 P(X > 650) = P(Z > 1.5) = 0.06681 [1] 0.9331928 If X ~ N(500, 100), then P(X <= 567.449) = 0.75 P(X > 567.449) = 0.25 [1] 567.449 [ FAIL 2 | WARN 3 | SKIP 18 | PASS 246 ] ══ Skipped tests (18) ══════════════════════════════════════════════════════════ • On CRAN (18): 'test-ashplots.R:4:1', 'test-bargraph.R:2:1', 'test-clustering.R:2:1', 'test-dotplot.R:3:1', 'test-fitspline.R:3:1', 'test-frequencyPolygon.R:3:1', 'test-ladd.R:3:1', 'test-ladd.R:15:1', 'test-ladd.R:30:1', 'test-maps2.R:29:1', 'test-mplot.R:3:1', 'test-plotCumfreq.R:3:1', 'test-plotDist.R:3:1', 'test-plotModel.R:3:1', 'test-plotPoints.R:3:1', 'test-rfun.R:3:1', 'test-statTally.R:39:1', 'test-xpnorm.R:3:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-do.R:5:3'): naming as expected ─────────────────────────────── Expected `names(do(2) * mean(~cesd, data = mosaicData::HELPrct))` to equal "mean". Differences: `actual`: "result" `expected`: "mean" ── Failure ('test-do.R:6:3'): naming as expected ─────────────────────────────── Expected `names(do(2) * var(~cesd, data = mosaicData::HELPrct))` to equal "var". Differences: `actual`: "result" `expected`: "var" [ FAIL 2 | WARN 3 | SKIP 18 | PASS 246 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.9.2
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘Resampling.Rmd’ using rmarkdown Quitting from Resampling.Rmd:271-274 [hist] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error: ! Problem while computing aesthetics. ℹ Error occurred in the 1st layer. Caused by error: ! Aesthetics are not valid data columns. ✖ The following aesthetics are invalid: • `x = mean` ℹ Did you mistype the name of a data column or forget to add `after_stat()`? --- Backtrace: ▆ 1. ├─base::withVisible(knit_print(x, ...)) 2. ├─knitr::knit_print(x, ...) 3. └─knitr:::knit_print.default(x, ...) 4. └─knitr::normal_print(x) 5. ├─base::print(x) 6. ├─ggformula:::print.gf_ggplot(x) 7. ├─base::NextMethod() 8. └─ggplot2 (local) `print.ggplot2::ggplot`(x) 9. ├─ggplot2::ggplot_build(x) 10. └─ggplot2 (local) `ggplot_build.ggplot2::ggplot`(x) 11. └─ggplot2:::by_layer(...) 12. ├─rlang::try_fetch(...) 13. │ ├─base::tryCatch(...) 14. │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers) 15. │ │ └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]]) 16. │ │ └─base (local) doTryCatch(return(expr), name, parentenv, handler) 17. │ └─base::withCallingHandlers(...) 18. └─ggplot2 (local) f(l = layers[[i]], d = data[[i]]) 19. └─l$compute_aesthetics(d, plot) 20. └─ggplot2 (local) compute_aesthetics(..., self = self) 21. └─ggplot2:::check_nondata_cols(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'Resampling.Rmd' failed with diagnostics: Problem while computing aesthetics. ℹ Error occurred in the 1st layer. Caused by error: ! Aesthetics are not valid data columns. ✖ The following aesthetics are invalid: • `x = mean` ℹ Did you mistype the name of a data column or forget to add `after_stat()`? --- failed re-building ‘Resampling.Rmd’ --- re-building ‘mosaic-resources.Rmd’ using rmarkdown --- finished re-building ‘mosaic-resources.Rmd’ --- re-building ‘MinimalRgg.Rnw’ using knitr --- finished re-building ‘MinimalRgg.Rnw’ SUMMARY: processing the following file failed: ‘Resampling.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang