- using R version 3.6.3 (2020-02-29)
- using platform: x86_64-w64-mingw32 (64-bit)
- using session charset: ISO8859-1
- checking for file 'mosaic/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'mosaic' version '1.8.2'
- package encoding: UTF-8
- 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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'mosaic' can be installed ... OK
- checking installed package size ... OK
- checking package directory ... 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 ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... 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 ... [27s] OK
- checking Rd files ... OK
- checking Rd metadata ... 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 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 ... [77s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [54s] ERROR
Running 'testthat.R' [54s]
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 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")
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
== Skipped tests ===============================================================
* Figure not generated yet: ashplots1.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: bargraph1.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: bargraph2.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: bargraph3.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: bargraph4.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: bargraph5.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: clustering1.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: clustering2.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: clustering3.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: clustering4.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: dotplot1.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: dotplot2.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: dotplot3.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: firstexample.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: fitspline1.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: fitspline2.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: fitspline3.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: fitspline4.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: fourthexample.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: ladd1.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: ladd2.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: ladd3.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: ladd4.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: ladd5.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: ladd6.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: ladd7.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: ladd8.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: ladd9.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: mplot1.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: mplot2.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: mplot3.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: mplot4.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: mplot5.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: mplot6.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: mplot7.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: mplot8.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: plotcumfreq1.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: plotdist1.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: plotdist10.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: plotdist11.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: plotdist12.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: plotdist13.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: plotdist14.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: plotdist15.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: plotdist16.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: plotdist17.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: plotdist18.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: plotdist19.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: plotdist2.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: plotdist3.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: plotdist4.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: plotdist5.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: plotdist6.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: plotdist7.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: plotdist8.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: plotdist9.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: plotmodel1.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: plotmodel2.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: plotmodel3.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: plotpoints1.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: plotpoints2.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: plotpoints3.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: rfun1.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: rfun2.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: secondexample.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: stattally1.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: stattally2.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: stattally3.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: thirdexample.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: usmaps1.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: xpnorm1.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
* Figure not generated yet: xpnorm2.svg
Please run `vdiffr::manage_cases()` to validate the figure. (1)
== Warnings ====================================================================
-- Warning (test-findZeros.R:9:3): zeros are within search interval ------------
NaNs produced
Backtrace:
1. testthat::expect_true(...) test-findZeros.R:9:2
4. mosaic::findZeros(sin(1/x) ~ x, near = 0, within = 4)
5. base::sapply(searchx, pfun)
6. base::lapply(X = X, FUN = FUN, ...)
7. mosaic:::FUN(X[[i]], ...)
8. [ base::eval(...) ] with 1 more call
-- Warning (test-findZeros.R:9:3): zeros are within search interval ------------
NaNs produced
Backtrace:
1. testthat::expect_true(...) test-findZeros.R:9:2
4. mosaic::findZeros(sin(1/x) ~ x, near = 0, within = 4)
5. mosaic::findZeros(...)
6. base::sapply(searchx, pfun)
7. base::lapply(X = X, FUN = FUN, ...)
8. mosaic:::FUN(X[[i]], ...)
9. [ base::eval(...) ] with 1 more call
-- Warning (test-read.file.R:31:3): read.file works ----------------------------
cannot open URL 'http://www.mosaic-web.org/go/datasets/Dome.csv': HTTP status was '404 Not Found'
Backtrace:
1. mosaic::read.file("http://www.mosaic-web.org/go/datasets/Dome.csv") test-read.file.R:31:2
2. utils::read.csv(...)
3. utils::read.table(...)
4. base::file(file, "rt")
-- Warning (test-rfun.R:17:3): rfun works --------------------------------------
number of items to replace is not a multiple of replacement length
Backtrace:
1. vdiffr::expect_doppelganger(...) test-rfun.R:17:2
7. mosaicCore:::makeFun.formula(...)
-- Warning (test-rfun.R:17:3): rfun works --------------------------------------
number of items to replace is not a multiple of replacement length
Backtrace:
1. vdiffr::expect_doppelganger(...) test-rfun.R:17:2
7. mosaicCore:::makeFun.formula(...)
-- Warning (test-xpnorm.R:2:1): (code run outside of `test_that()`) ------------
there is no package called 'manipulate'
Backtrace:
1. base::require(manipulate) test-xpnorm.R:2:0
6. base::library(...)
== Failed tests ================================================================
-- Error (test-read.file.R:31:3): read.file works ------------------------------
Error: cannot open the connection
Backtrace:
x
1. \-mosaic::read.file("http://www.mosaic-web.org/go/datasets/Dome.csv") test-read.file.R:31:2
2. \-utils::read.csv(...)
3. \-utils::read.table(...)
4. \-base::file(file, "rt")
[ FAIL 1 | WARN 6 | SKIP 72 | PASS 287 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in 'inst/doc' ... OK
- checking re-building of vignette outputs ... [18s] WARNING
Error(s) in re-building vignettes:
--- re-building 'Resampling.Rmd' using rmarkdown
Quitting from lines 151-152 (Resampling.Rmd)
Error: processing vignette 'Resampling.Rmd' failed with diagnostics:
cannot open the connection
--- failed re-building 'Resampling.Rmd'
--- re-building 'mosaic-resources.Rmd' using rmarkdown
--- finished re-building 'mosaic-resources.Rmd'
--- re-building 'MinimalRgg.Rnw' using knitr
Loading required package: 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 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
Loading required package: parallel
Using parallel package.
* Set seed with set.rseed().
* Disable this message with options(`mosaic:parallelMessage` = FALSE)
Using parallel package.
* Set seed with set.rseed().
* Disable this message with options(`mosaic:parallelMessage` = FALSE)
--- finished re-building 'MinimalRgg.Rnw'
SUMMARY: processing the following file failed:
'Resampling.Rmd'
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... OK
- DONE
Status: 1 ERROR, 1 WARNING