CRAN Package Check Results for Package commonsMath

Last updated on 2019-04-22 01:47:34 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2 1.61 59.29 60.90 OK
r-devel-linux-x86_64-debian-gcc 1.2 1.29 47.36 48.65 OK
r-devel-linux-x86_64-fedora-clang 1.2 70.05 OK
r-devel-linux-x86_64-fedora-gcc 1.2 67.17 OK
r-devel-windows-ix86+x86_64 1.2 6.00 121.00 127.00 OK
r-patched-linux-x86_64 1.2 1.48 60.64 62.12 OK
r-patched-solaris-x86 1.2 41.80 ERROR
r-release-linux-x86_64 1.2 0.83 58.64 59.47 OK
r-release-windows-ix86+x86_64 1.2 3.00 82.00 85.00 ERROR
r-release-osx-x86_64 1.2 OK
r-oldrel-windows-ix86+x86_64 1.2 2.00 78.00 80.00 OK
r-oldrel-osx-x86_64 1.2 OK

Check Details

Version: 1.2
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: ‘rscala’
Flavor: r-patched-solaris-x86

Version: 1.2
Check: tests
Result: ERROR
     Running ‘testthat.R’
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(commonsMath)
     >
     > test_check("commonsMath")
     Starting instance. ********************************
     Error in library(rscala) : there is no package called 'rscala'
     Calls: test_check ... source_dir -> lapply -> FUN -> eval -> eval -> library
     Execution halted
Flavor: r-patched-solaris-x86

Version: 1.2
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘commonsMath.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     The vignette engine knitr::rmarkdown is not available, because the rmarkdown package is not installed. Please install it.
    Quitting from lines 32-37 (commonsMath.Rmd)
    Error: processing vignette 'commonsMath.Rmd' failed with diagnostics:
    there is no package called 'rscala'
    --- failed re-building ‘commonsMath.Rmd’
    
    SUMMARY: processing the following file failed:
     ‘commonsMath.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-patched-solaris-x86

Version: 1.2
Check: tests
Result: ERROR
     Running 'testthat.R' [18s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(commonsMath)
     >
     > test_check("commonsMath")
     Starting instance. ********************************
     -- 1. Error: sample function (@tests-transcompile.R#26) -----------------------
     missing value where TRUE/FALSE needed
     1: myExpectLength(function() sample(c(3, 2, 1))) at testthat/tests-transcompile.R:26
     2: `^.rscalaBridge`(s, f) at testthat/tests-transcompile.R:16
     3: scalaConnect(details)
     4: stop(details[["config"]]$error$message)
    
     -- 2. Error: special functions (@tests-transcompile.R#43) ---------------------
     missing value where TRUE/FALSE needed
     1: myExpect(function(x = stD0) {
     gamma(x)
     }, list(3.72), FALSE) at testthat/tests-transcompile.R:43
     2: `^.rscalaBridge`(s, f) at testthat/tests-transcompile.R:6
     3: scalaConnect(details)
     4: stop(details[["config"]]$error$message)
    
     -- 3. Error: uniform distribution (@tests-transcompile.R#91) ------------------
     missing value where TRUE/FALSE needed
     1: myExpect(function(x = stD1) {
     dunif(x, -3, 2)
     }, list(0.25), FALSE) at testthat/tests-transcompile.R:91
     2: `^.rscalaBridge`(s, f) at testthat/tests-transcompile.R:6
     3: scalaConnect(details)
     4: stop(details[["config"]]$error$message)
    
     -- 4. Error: normal distribution (@tests-transcompile.R#103) ------------------
     missing value where TRUE/FALSE needed
     1: myExpect(function(x = stD1) {
     dnorm(x, -3, 2)
     }, list(0.25), FALSE) at testthat/tests-transcompile.R:103
     2: `^.rscalaBridge`(s, f) at testthat/tests-transcompile.R:6
     3: scalaConnect(details)
     4: stop(details[["config"]]$error$message)
    
     -- 5. Error: gamma distribution (@tests-transcompile.R#115) -------------------
     missing value where TRUE/FALSE needed
     1: myExpect(function(x = stD1) {
     dgamma(x, 3, 2)
     }, list(0.25), FALSE) at testthat/tests-transcompile.R:115
     2: `^.rscalaBridge`(s, f) at testthat/tests-transcompile.R:6
     3: scalaConnect(details)
     4: stop(details[["config"]]$error$message)
    
     -- 6. Error: exponential distribution (@tests-transcompile.R#127) -------------
     missing value where TRUE/FALSE needed
     1: myExpect(function(x = stD1) {
     dexp(x, 3)
     }, list(0.25), FALSE) at testthat/tests-transcompile.R:127
     2: `^.rscalaBridge`(s, f) at testthat/tests-transcompile.R:6
     3: scalaConnect(details)
     4: stop(details[["config"]]$error$message)
    
     -- 7. Error: beta distribution (@tests-transcompile.R#139) --------------------
     missing value where TRUE/FALSE needed
     1: myExpect(function(x = stD1) {
     dbeta(x, 3, 2)
     }, list(0.25), FALSE) at testthat/tests-transcompile.R:139
     2: `^.rscalaBridge`(s, f) at testthat/tests-transcompile.R:6
     3: scalaConnect(details)
     4: stop(details[["config"]]$error$message)
    
     -- 8. Error: t distribution (@tests-transcompile.R#151) -----------------------
     missing value where TRUE/FALSE needed
     1: myExpect(function(x = stD1) {
     dt(x, 3)
     }, list(0.25), FALSE) at testthat/tests-transcompile.R:151
     2: `^.rscalaBridge`(s, f) at testthat/tests-transcompile.R:6
     3: scalaConnect(details)
     4: stop(details[["config"]]$error$message)
    
     -- 9. Error: chi squared distribution (@tests-transcompile.R#163) -------------
     missing value where TRUE/FALSE needed
     1: myExpect(function(x = stD1) {
     dchisq(x, 3)
     }, list(0.25), FALSE) at testthat/tests-transcompile.R:163
     2: `^.rscalaBridge`(s, f) at testthat/tests-transcompile.R:6
     3: scalaConnect(details)
     4: stop(details[["config"]]$error$message)
    
     -- 10. Error: F distribution (@tests-transcompile.R#175) ----------------------
     missing value where TRUE/FALSE needed
     1: myExpect(function(x = stD1) {
     df(x, 3, 2)
     }, list(0.25), FALSE) at testthat/tests-transcompile.R:175
     2: `^.rscalaBridge`(s, f) at testthat/tests-transcompile.R:6
     3: scalaConnect(details)
     4: stop(details[["config"]]$error$message)
    
     -- 11. Error: geometric distribution (@tests-transcompile.R#187) --------------
     missing value where TRUE/FALSE needed
     1: myExpect(function(x = stD1) {
     dgeom(x, 0.73)
     }, list(3), FALSE) at testthat/tests-transcompile.R:187
     2: `^.rscalaBridge`(s, f) at testthat/tests-transcompile.R:6
     3: scalaConnect(details)
     4: stop(details[["config"]]$error$message)
    
     -- 12. Error: binomial distribution (@tests-transcompile.R#199) ---------------
     missing value where TRUE/FALSE needed
     1: myExpect(function(x = stD1) {
     dbinom(x, 10, 0.73)
     }, list(13), FALSE) at testthat/tests-transcompile.R:199
     2: `^.rscalaBridge`(s, f) at testthat/tests-transcompile.R:6
     3: scalaConnect(details)
     4: stop(details[["config"]]$error$message)
    
     -- 13. Error: negative binomial distribution (@tests-transcompile.R#211) ------
     missing value where TRUE/FALSE needed
     1: myExpect(function(x = stD1) {
     dnbinom(x, 10, 0.73)
     }, list(13), FALSE) at testthat/tests-transcompile.R:211
     2: `^.rscalaBridge`(s, f) at testthat/tests-transcompile.R:6
     3: scalaConnect(details)
     4: stop(details[["config"]]$error$message)
    
     -- 14. Error: poisson distribution (@tests-transcompile.R#223) ----------------
     missing value where TRUE/FALSE needed
     1: myExpect(function(x = stD1) {
     dpois(x, 7.73)
     }, list(13), FALSE) at testthat/tests-transcompile.R:223
     2: `^.rscalaBridge`(s, f) at testthat/tests-transcompile.R:6
     3: scalaConnect(details)
     4: stop(details[["config"]]$error$message)
    
     == testthat results ===========================================================
     OK: 0 SKIPPED: 0 FAILED: 14
     1. Error: sample function (@tests-transcompile.R#26)
     2. Error: special functions (@tests-transcompile.R#43)
     3. Error: uniform distribution (@tests-transcompile.R#91)
     4. Error: normal distribution (@tests-transcompile.R#103)
     5. Error: gamma distribution (@tests-transcompile.R#115)
     6. Error: exponential distribution (@tests-transcompile.R#127)
     7. Error: beta distribution (@tests-transcompile.R#139)
     8. Error: t distribution (@tests-transcompile.R#151)
     9. Error: chi squared distribution (@tests-transcompile.R#163)
     1. ...
    
     Error: testthat unit tests failed
     Stopping instance. **************************
     Execution halted
Flavor: r-release-windows-ix86+x86_64

Version: 1.2
Check: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     The vignette engine knitr::rmarkdown is not available, because the rmarkdown package is not installed. Please install it.
    Quitting from lines 32-37 (commonsMath.Rmd)
    Error: processing vignette 'commonsMath.Rmd' failed with diagnostics:
    missing value where TRUE/FALSE needed
    Execution halted
Flavor: r-release-windows-ix86+x86_64