* using log directory ‘/srv/hornik/tmp/CRAN/mosaic.Rcheck’ * using R Under development (unstable) (2024-02-17 r85935) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 17.0.6 (5) Debian flang-new version 17.0.6 (5) * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘mosaic/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘mosaic’ version ‘1.9.1’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [5s/6s] NOTE Maintainer: ‘Randall Pruim ’ Found the following (possibly) invalid URLs: URL: https://amstat.tandfonline.com/doi/full/10.1080/00031305.2015.1094283 From: inst/doc/mosaic-resources.html Status: 403 Message: Forbidden * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘mosaic’ can be installed ... [11s/11s] OK * checking package directory ... OK * checking for future file timestamps ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] OK * checking whether startup messages can be suppressed ... [1s/1s] OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [18s/18s] OK * checking Rd files ... [0s/0s] OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... [0s/0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking R/sysdata.rda ... OK * checking sizes of PDF files under ‘inst/doc’ ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [34s/34s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [9s/9s] ERROR Running ‘testthat.R’ [9s/9s] 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") Mapping API still under development and may change in future releases. `geom_smooth()` using formula = 'y ~ x' Reading data with read.csv() Null distribution appears to be asymmetric. (p = 8.76e-30) 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 [ FAIL 1 | WARN 3 | SKIP 18 | PASS 246 ] ══ Skipped tests (18) ══════════════════════════════════════════════════════════ • On CRAN (18): 'test-ashplots.R:5:3', 'test-bargraph.R:8:3', 'test-clustering.R:58:3', 'test-dotplot.R:6:3', 'test-fitspline.R:9:3', 'test-frequencyPolygon.R:5:3', 'test-ladd.R:7:3', 'test-ladd.R:20:3', 'test-ladd.R:32:3', 'test-maps2.R:30:3', 'test-mplot.R:19:5', 'test-plotCumfreq.R:4:3', 'test-plotDist.R:4:3', 'test-plotModel.R:9:3', 'test-plotPoints.R:5:3', 'test-rfun.R:17:3', 'test-statTally.R:41:3', 'test-xpnorm.R:4:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-clustering.R:50:3'): Clustering works ──────────────────────── `testcase1` (`actual`) not equal to head(fortify(Cl, k = 5), 3) (`expected`). actual vs expected x y xend yend order group actual[1, ] 17.64258 2.153880 6.03125 2.153880 34 4 actual[2, ] 6.03125 2.153880 6.03125 1.833039 34 4 - actual[3, ] 17.64258 2.153880 29.25391 2.153880 8 1 + expected[3, ] 6.03125 1.833039 2.68750 1.833039 35 4 `actual$x`: 18 6 18 `expected$x`: 18 6 6 `actual$y`: 2.15388023 2.15388023 2.15388023 `expected$y`: 2.15388023 2.15388023 1.83303858 `actual$xend`: 6 6 29 `expected$xend`: 6 6 3 `actual$yend`: 2.15388023 1.83303858 2.15388023 `expected$yend`: 2.15388023 1.83303858 1.83303858 `actual$order`: 34 34 8 `expected$order`: 34 34 35 `actual$group`: 4 4 1 `expected$group`: 4 4 4 [ FAIL 1 | WARN 3 | SKIP 18 | PASS 246 ] Deleting unused snapshots: • bargraph/bargraph2.svg • bargraph/bargraph3.svg • bargraph/bargraph4.svg • bargraph/bargraph5.svg • clustering/clustering2.svg • clustering/clustering3.svg • clustering/clustering4.svg • dotplot/dotplot2.svg • dotplot/dotplot3.svg • fitspline/fitspline2.svg • fitspline/fitspline3.svg • fitspline/fitspline4.svg • frequencyPolygon/fourthexample.svg • frequencyPolygon/secondexample.svg • frequencyPolygon/thirdexample.svg • ladd/ladd2.svg • ladd/ladd3.svg • ladd/ladd4.svg • ladd/ladd6.svg • ladd/ladd7.svg • ladd/ladd8.svg • mplot/mplot2.svg • mplot/mplot3.svg • mplot/mplot4.svg • mplot/mplot5.svg • mplot/mplot6.svg • mplot/mplot7.svg • mplot/mplot8.svg • plotDist/plotdist10.svg • plotDist/plotdist11.svg • plotDist/plotdist12.svg • plotDist/plotdist13.svg • plotDist/plotdist14.svg • plotDist/plotdist15.svg • plotDist/plotdist16.svg • plotDist/plotdist17.svg • plotDist/plotdist18.svg • plotDist/plotdist19.svg • plotDist/plotdist2.svg • plotDist/plotdist3.svg • plotDist/plotdist4.svg • plotDist/plotdist5.svg • plotDist/plotdist6.svg • plotDist/plotdist7.svg • plotDist/plotdist8.svg • plotDist/plotdist9.svg • plotModel/plotmodel2.svg • plotModel/plotmodel3.svg • plotPoints/plotpoints2.svg • plotPoints/plotpoints3.svg • rfun/rfun2.svg • statTally/stattally2.svg • statTally/stattally3.svg • xpnorm/xpnorm2.svg Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [56s/56s] OK * checking PDF version of manual ... [5s/5s] OK * checking HTML version of manual ... [2s/2s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 NOTE