CRAN Package Check Results for Package mosaic

Last updated on 2020-04-05 01:49:39 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.6.0 34.84 478.82 513.66 NOTE
r-devel-linux-x86_64-debian-gcc 1.6.0 27.97 343.23 371.20 NOTE
r-devel-linux-x86_64-fedora-clang 1.6.0 588.24 NOTE
r-devel-linux-x86_64-fedora-gcc 1.6.0 609.27 NOTE
r-devel-windows-ix86+x86_64 1.6.0 54.00 497.00 551.00 NOTE
r-devel-windows-ix86+x86_64-gcc8 1.6.0 49.00 513.00 562.00 NOTE
r-patched-linux-x86_64 1.6.0 31.55 446.08 477.63 NOTE
r-patched-solaris-x86 1.6.0 745.40 NOTE
r-release-linux-x86_64 1.6.0 24.63 427.20 451.83 NOTE
r-release-windows-ix86+x86_64 1.6.0 68.00 614.00 682.00 NOTE
r-release-osx-x86_64 1.6.0 NOTE
r-oldrel-windows-ix86+x86_64 1.6.0 38.00 540.00 578.00 ERROR
r-oldrel-osx-x86_64 1.6.0 ERROR

Check Details

Version: 1.6.0
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: 'fastR'
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64

Version: 1.6.0
Check: installed package size
Result: NOTE
     installed size is 11.7Mb
     sub-directories of 1Mb or more:
     R 2.1Mb
     doc 9.0Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-ix86+x86_64, r-devel-windows-ix86+x86_64-gcc8, r-patched-solaris-x86, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 1.6.0
Check: tests
Result: ERROR
     Running 'testthat.R' [62s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(mosaic)
     Loading required package: dplyr
    
     Attaching package: 'dplyr'
    
     The following object is masked from 'package:testthat':
    
     matches
    
     The following objects are masked from 'package:stats':
    
     filter, lag
    
     The following objects are masked from 'package:base':
    
     intersect, setdiff, setequal, union
    
     Loading required package: lattice
     Loading required package: ggformula
     Loading required package: ggplot2
     Loading required package: ggstance
    
     Attaching package: 'ggstance'
    
     The following objects are masked from 'package:ggplot2':
    
     GeomErrorbarh, geom_errorbarh
    
    
     New to ggformula? Try the tutorials:
     learnr::run_tutorial("introduction", package = "ggformula")
     learnr::run_tutorial("refining", package = "ggformula")
     Loading required package: mosaicData
     Loading required package: Matrix
    
     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.
    
     Note: If you use the Matrix package, be sure to load it BEFORE loading mosaic.
    
     Have you tried the ggformula package for your plots?
    
     Attaching package: 'mosaic'
    
     The following object is masked from 'package:Matrix':
    
     mean
    
     The following object is masked from 'package:ggplot2':
    
     stat
    
     The following objects are masked from 'package:dplyr':
    
     count, do, tally
    
     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")
     -- 1. Failure: resample works (@test-resample.R#73) ---------------------------
     `testcase1` not equivalent to resample(0:1, 100).
     52/100 mismatches (average diff: 1)
     [3] 1 - 0 == 1
     [10] 1 - 0 == 1
     [12] 0 - 1 == -1
     [15] 0 - 1 == -1
     [17] 1 - 0 == 1
     [19] 0 - 1 == -1
     [20] 0 - 1 == -1
     [22] 0 - 1 == -1
     [24] 0 - 1 == -1
     ...
    
     -- 2. Failure: resample works (@test-resample.R#77) ---------------------------
     `testcase2` not equivalent to resample(Small).
     Component "name": 10 string mismatches
     Component "birthmonth": Mean relative difference: 0.2142857
     Component "birthyear": Mean relative difference: 0.01149425
     Component "length": Mean relative difference: 0.06244761
     Component "width": Mean relative difference: 0.07544757
     Component "sex": 4 string mismatches
     Component "biggerfoot": 4 string mismatches
     Component "domhand": 5 string mismatches
     Component "orig.id": 8 string mismatches
    
     -- 3. Failure: resample works (@test-resample.R#87) ---------------------------
     `testcase4` not equivalent to resample(Small, groups = sex, shuffled = c("id1", "id2")).
     Component "name": 10 string mismatches
     Component "birthmonth": Mean relative difference: 0.754386
     Component "birthyear": Mean relative difference: 0.01149425
     Component "length": Mean relative difference: 0.05462012
     Component "width": Mean relative difference: 0.07612457
     Component "biggerfoot": 4 string mismatches
     Component "domhand": 3 string mismatches
     Component "orig.id": 10 string mismatches
     Component "id1": 8 string mismatches
     ...
    
    
     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
    
     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 = 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
     [1] 0.9331928
     [1] 567.449
     == testthat results ===========================================================
     [ OK: 283 | SKIPPED: 72 | WARNINGS: 6 | FAILED: 3 ]
     1. Failure: resample works (@test-resample.R#73)
     2. Failure: resample works (@test-resample.R#77)
     3. Failure: resample works (@test-resample.R#87)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 1.6.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [37s/39s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     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
     [1] 0.9331928
     [1] 567.449
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 283 | SKIPPED: 72 | WARNINGS: 4 | FAILED: 3 ]
     1. Failure: resample works (@test-resample.R#73)
     2. Failure: resample works (@test-resample.R#77)
     3. Failure: resample works (@test-resample.R#87)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-osx-x86_64