- using R version 4.3.3 (2024-02-29 ucrt)
- using platform: x86_64-w64-mingw32 (64-bit)
- R was compiled by
gcc.exe (GCC) 12.3.0
GNU Fortran (GCC) 12.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'NADIA/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'NADIA' version '0.4.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 'NADIA' can be installed ... OK
See the install log for details.
- 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 ... [7s] OK
- checking whether the package can be loaded with stated dependencies ... [5s] OK
- checking whether the package can be unloaded cleanly ... [6s] OK
- checking whether the namespace can be loaded with stated dependencies ... [5s] OK
- checking whether the namespace can be unloaded cleanly ... [7s] OK
- checking loading without being on the library search path ... [6s] OK
- checking startup messages can be suppressed ... [7s] 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 ... [18s] OK
- checking Rd files ... [2s] 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 installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [10s] ERROR
Running examples in 'NADIA-Ex.R' failed
The error most likely occurred in:
> ### Name: PipeOpOOR_B
> ### Title: PipeOpOOR_B
> ### Aliases: PipeOpOOR_B
>
> ### ** Examples
>
> {
+
+ # Using debug learner for example purpose
+
+ graph <- PipeOpOOR_B$new() %>>% LearnerClassifDebug$new()
+ graph_learner <- GraphLearner$new(graph)
+
+ # Task with NA
+ set.seed(1)
+ resample(tsk("pima"), graph_learner, rsmp("cv", folds = 3))
+ }
Error in initialize(...) : object 'ParamLgl' not found
Calls: %>>% ... .__ParamSet__initialize -> assert_list -> checkList -> %and% -> isTRUE
Execution halted
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [26s] ERROR
Running 'testthat.R' [26s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(NADIA)
Loading required package: mlr3
Loading required package: mlr3pipelines
Loading required package: paradox
>
> test_check("NADIA")
[1] "Error in doTryCatch(return(expr), name, parentenv, handler): No values with no missing values\n"
[ FAIL 5 | WARN 0 | SKIP 12 | PASS 47 ]
══ Skipped tests (12) ══════════════════════════════════════════════════════════
• On CRAN (12): 'test_A.R:7:3', 'test_A.R:41:3', 'test_autotune.R:287:3',
'test_autotune.R:303:3', 'test_autotune.R:308:3', 'test_autotune.R:313:3',
'test_autotune.R:318:3', 'test_autotune.R:323:3', 'test_autotune.R:332:3',
'test_autotune.R:345:3', 'test_autotune.R:350:3', 'test_simplePipe.R:29:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_advancePipeline.R:7:3'): Creting PipeLines ─────────────────────
Error in `initialize(...)`: object 'ParamUty' not found
Backtrace:
▆
1. ├─testthat::expect_is(PipeOpAmelia$new(), "PipeOpImpute") at test_advancePipeline.R:7:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─PipeOpAmelia$new()
5. └─NADIA (local) initialize(...)
6. ├─super$initialize(...)
7. │ └─mlr3pipelines:::.__PipeOpImpute__initialize(...)
8. └─ParamSet$new(...)
9. └─paradox (local) initialize(...)
10. └─paradox:::.__ParamSet__initialize(...)
11. └─checkmate::assert_list(params, types = "Domain")
12. └─checkmate::checkList(...)
13. └─... %and% checkListTypes(x, types)
14. └─base::isTRUE(lhs)
── Error ('test_advancePipeline.R:62:3'): Adavance pipe simple imputation ─────
Error in `initialize(...)`: object 'ParamUty' not found
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test_advancePipeline.R:62:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─PipeOpAmelia$new()
5. └─NADIA (local) initialize(...)
6. ├─super$initialize(...)
7. │ └─mlr3pipelines:::.__PipeOpImpute__initialize(...)
8. └─ParamSet$new(...)
9. └─paradox (local) initialize(...)
10. └─paradox:::.__ParamSet__initialize(...)
11. └─checkmate::assert_list(params, types = "Domain")
12. └─checkmate::checkList(...)
13. └─... %and% checkListTypes(x, types)
14. └─base::isTRUE(lhs)
── Error ('test_mlworkflow.R:21:1'): (code run outside of `test_that()`) ───────
Error in `initialize(...)`: object 'ParamUty' not found
Backtrace:
▆
1. └─PipeOpAmelia$new(parallel = FALSE) at test_mlworkflow.R:21:1
2. └─NADIA (local) initialize(...)
3. ├─super$initialize(...)
4. │ └─mlr3pipelines:::.__PipeOpImpute__initialize(...)
5. └─ParamSet$new(...)
6. └─paradox (local) initialize(...)
7. └─paradox:::.__ParamSet__initialize(...)
8. └─checkmate::assert_list(params, types = "Domain")
9. └─checkmate::checkList(...)
10. └─... %and% checkListTypes(x, types)
11. └─base::isTRUE(lhs)
── Error ('test_simplePipe.R:21:3'): Creting OOR_B ─────────────────────────────
Error in `initialize(...)`: object 'ParamLgl' not found
Backtrace:
▆
1. ├─testthat::expect_is(PipeOpOOR_B$new(), "PipeOpImpute") at test_simplePipe.R:21:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─PipeOpOOR_B$new()
5. └─NADIA (local) initialize(...)
6. └─ParamSet$new(...)
7. └─paradox (local) initialize(...)
8. └─paradox:::.__ParamSet__initialize(...)
9. └─checkmate::assert_list(params, types = "Domain")
10. └─checkmate::checkList(...)
11. └─... %and% checkListTypes(x, types)
12. └─base::isTRUE(lhs)
── Error ('test_simulateMissing.R:27:3'): PipeOpSimulatedMissing Tests ─────────
Error in `initialize(...)`: object 'ParamDbl' not found
Backtrace:
▆
1. ├─testthat::expect_true(...) at test_simulateMissing.R:27:3
2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─PipeOpSimulateMissings$new()
5. └─NADIA (local) initialize(...)
6. └─ParamSet$new(...)
7. └─paradox (local) initialize(...)
8. └─paradox:::.__ParamSet__initialize(...)
9. └─checkmate::assert_list(params, types = "Domain")
10. └─checkmate::checkList(...)
11. └─... %and% checkListTypes(x, types)
12. └─base::isTRUE(lhs)
[ FAIL 5 | WARN 0 | SKIP 12 | PASS 47 ]
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 ... [15s] ERROR
Error(s) in re-building vignettes:
--- re-building 'Errors_Statistic_and_Handling.Rmd' using rmarkdown
Quitting from lines 96-105 [Lrn] (Errors_Statistic_and_Handling.Rmd)
Error: processing vignette 'Errors_Statistic_and_Handling.Rmd' failed with diagnostics:
object 'ParamDbl' not found
--- failed re-building 'Errors_Statistic_and_Handling.Rmd'
--- re-building 'NADIA_examples_and_motivation.Rmd' using rmarkdown
Quitting from lines 116-132 [chunk1] (NADIA_examples_and_motivation.Rmd)
Error: processing vignette 'NADIA_examples_and_motivation.Rmd' failed with diagnostics:
object 'ParamDbl' not found
--- failed re-building 'NADIA_examples_and_motivation.Rmd'
SUMMARY: processing the following files failed:
'Errors_Statistic_and_Handling.Rmd'
'NADIA_examples_and_motivation.Rmd'
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [25s] OK
- checking HTML version of manual ... [9s] OK
- DONE
Status: 3 ERRORs