CRAN Package Check Results for Package MachineShop

Last updated on 2020-02-27 00:52:33 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.1.0 49.78 987.98 1037.76 OK
r-devel-linux-x86_64-debian-gcc 2.1.0 OK
r-devel-linux-x86_64-fedora-clang 2.1.0 1295.89 OK
r-devel-linux-x86_64-fedora-gcc 2.1.0 1196.97 OK
r-devel-windows-ix86+x86_64 2.1.0 79.00 545.00 624.00 WARN
r-devel-windows-ix86+x86_64-gcc8 2.1.0 76.00 560.00 636.00 WARN
r-patched-linux-x86_64 2.1.0 40.50 852.06 892.56 WARN
r-patched-solaris-x86 2.1.0 1811.10 WARN
r-release-linux-x86_64 2.1.0 40.60 859.78 900.38 WARN
r-release-windows-ix86+x86_64 2.1.0 67.00 519.00 586.00 WARN
r-release-osx-x86_64 2.1.0 WARN
r-oldrel-windows-ix86+x86_64 1.6.0 44.00 171.00 215.00 ERROR
r-oldrel-osx-x86_64 2.1.0 ERROR

Check Details

Version: 2.1.0
Check: S3 generic/method consistency
Result: WARN
    SelectedInput:
     function(...)
    SelectedInput.formula:
     function(..., data, control, metrics, stat, cutoff)
    
    See section 'Generic functions and methods' in the 'Writing R
    Extensions' manual.
Flavors: r-devel-windows-ix86+x86_64, r-devel-windows-ix86+x86_64-gcc8, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64

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
Flavor: r-oldrel-windows-ix86+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
Flavor: r-oldrel-windows-ix86+x86_64

Version: 1.6.0
Check: tests
Result: ERROR
     Running 'testthat.R' [6s]
    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: 2.1.0
Check: whether package can be installed
Result: ERROR
    Installation failed.
Flavor: r-oldrel-osx-x86_64