CRAN Package Check Results for Package MachineShop

Last updated on 2019-12-10 22:49:38 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.6.0 41.83 907.84 949.67 OK
r-devel-linux-x86_64-debian-gcc 1.6.0 33.39 651.55 684.94 OK
r-devel-linux-x86_64-fedora-clang 1.6.0 1141.79 OK
r-devel-linux-x86_64-fedora-gcc 1.6.0 1124.08 OK
r-devel-windows-ix86+x86_64 1.6.0 66.00 506.00 572.00 OK
r-devel-windows-ix86+x86_64-gcc8 1.6.0 64.00 486.00 550.00 OK
r-patched-linux-x86_64 1.6.0 35.58 793.15 828.73 OK
r-patched-solaris-x86 1.6.0 1632.00 OK
r-release-linux-x86_64 1.6.0 33.98 794.57 828.55 OK
r-release-windows-ix86+x86_64 1.6.0 54.00 448.00 502.00 OK
r-release-osx-x86_64 1.6.0 OK
r-oldrel-windows-ix86+x86_64 1.6.0 44.00 171.00 215.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' [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: 1.6.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [5s/5s]
    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