CRAN Package Check Results for Package MachineShop

Last updated on 2019-11-12 07:50:48 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.6.0 35.28 850.52 885.80 OK
r-devel-linux-x86_64-debian-gcc 1.6.0 31.10 604.53 635.63 OK
r-devel-linux-x86_64-fedora-clang 1.6.0 1099.53 OK
r-devel-linux-x86_64-fedora-gcc 1.6.0 1033.17 OK
r-devel-windows-ix86+x86_64 1.6.0 61.00 496.00 557.00 OK
r-patched-linux-x86_64 1.6.0 35.04 790.32 825.36 OK
r-patched-solaris-x86 1.6.0 1654.10 OK
r-release-linux-x86_64 1.6.0 34.96 794.83 829.79 OK
r-release-windows-ix86+x86_64 1.6.0 82.00 639.00 721.00 OK
r-release-osx-x86_64 1.6.0 OK
r-oldrel-windows-ix86+x86_64 1.6.0 45.00 185.00 230.00 ERROR
r-oldrel-osx-x86_64 1.6.0 ERROR

Check Details

Version: 1.6.0
Check: R code for possible problems
Result: NOTE
    DomainError: no visible global function definition for 'errorCondition'
    fget0: no visible global function definition for 'str2lang'
    Undefined global functions or variables:
     errorCondition str2lang
Flavors: r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 1.6.0
Check: examples
Result: ERROR
    Running examples in 'MachineShop-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: MLModel
    > ### Title: MLModel Class Constructor
    > ### Aliases: MLModel
    >
    > ### ** Examples
    >
    > ## Logistic regression model
    > LogisticModel <- MLModel(
    + name = "LogisticModel",
    + response_types = "binary",
    + fit = function(formula, data, weights, ...) {
    + glm(formula, data = data, weights = weights, family = binomial, ...)
    + },
    + predict = function(object, newdata, ...) {
    + predict(object, newdata = newdata, type = "response")
    + },
    + varimp = function(object, ...) {
    + pchisq(coef(object)^2 / diag(vcov(object)), 1)
    + }
    + )
    >
    > library(MASS)
    > res <- resample(type ~ ., data = Pima.tr, model = LogisticModel)
    Error in str2lang(x) : could not find function "str2lang"
    Calls: resample ... resample.ModelFrame -> .resample -> getMLObject -> fget -> fget0
    Execution halted
Flavors: r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 1.6.0
Check: tests
Result: ERROR
     Running 'testthat.R' [7s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(MachineShop)
     >
     > test_check("MachineShop")
     -- 1. Error: (unknown) (@test-ML_StackedModel.R#3) ----------------------------
     could not find function "str2lang"
     Backtrace:
     1. MachineShop::StackedModel(GBMModel, GLMNetModel(lambda = 0.01))
     2. MachineShop:::getMLObject(control, "MLControl")
     3. MachineShop:::fget(x)
     4. MachineShop:::fget0(x)
    
     == testthat results ===========================================================
     [ OK: 0 | SKIPPED: 67 | WARNINGS: 0 | FAILED: 1 ]
     1. Error: (unknown) (@test-ML_StackedModel.R#3)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 1.6.0
Check: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
    Warning: Removed 70 rows containing missing values (geom_point).
    Quitting from lines 185-190 (Introduction.Rmd)
    Error: processing vignette 'Introduction.Rmd' failed with diagnostics:
    could not find function "str2lang"
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 1.6.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [5s/6s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     > test_check("MachineShop")
     ── 1. Error: (unknown) (@test-ML_StackedModel.R#3) ────────────────────────────
     could not find function "str2lang"
     Backtrace:
     1. MachineShop::StackedModel(GBMModel, GLMNetModel(lambda = 0.01))
     2. MachineShop:::getMLObject(control, "MLControl")
     3. MachineShop:::fget(x)
     4. MachineShop:::fget0(x)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 0 | SKIPPED: 67 | WARNINGS: 0 | FAILED: 1 ]
     1. Error: (unknown) (@test-ML_StackedModel.R#3)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-osx-x86_64

Version: 1.6.0
Check: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    Warning: Removed 70 rows containing missing values (geom_point).
    Quitting from lines 185-190 (Introduction.Rmd)
    Error: processing vignette 'Introduction.Rmd' failed with diagnostics:
    could not find function "str2lang"
    Execution halted
Flavor: r-oldrel-osx-x86_64