Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
be-marc committed Jan 23, 2021
1 parent 7229d98 commit f8cffa7
Show file tree
Hide file tree
Showing 546 changed files with 29,188 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Suggests:
nloptr,
progressr,
rmarkdown,
testthat
testthat (>= 3.0.0)
VignetteBuilder:
knitr
Config/testthat/edition: 3
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Improved `TerminatorPerfRearched` documentation.
* Added `check_values` flag in `OptimInstance`, `OptimInstanceSingleCrit`,
`OptimInstanceMultiCrit`, `ObjectiveRFun` and `ObjectiveRFunDt`.
* `Archive$data` is a public field now.
* Renamed `m` parameter to `batch` in `Archive$best()`.
* `ArchiveBest` stores no data but records the best scoring evaluation.
* Reduced runtime if `ObjectiveRFunDt` and a domain without trafo is used.
Expand Down
43 changes: 43 additions & 0 deletions revdep/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Platform

|field |value |
|:--------|:----------------------------|
|version |R version 4.0.3 (2020-10-10) |
|os |Ubuntu 20.04.1 LTS |
|system |x86_64, linux-gnu |
|ui |X11 |
|language |en |
|collate |en_US.UTF-8 |
|ctype |en_US.UTF-8 |
|tz |Europe/Berlin |
|date |2021-01-23 |

# Dependencies

|package |old |new |Δ |
|:----------|:------|:------|:--|
|bbotk |0.2.2 |0.3.0 |* |
|backports |1.2.1 |1.2.1 | |
|checkmate |2.0.0 |2.0.0 | |
|data.table |1.13.6 |1.13.6 | |
|lgr |0.4.2 |0.4.2 | |
|mlr3misc |0.7.0 |0.7.0 | |
|paradox |0.7.0 |0.7.0 | |
|R6 |2.5.0 |2.5.0 | |

# Revdeps

## Failed to check (2)

|package |version |error |warning |note |
|:----------------|:-------|:-----|:-------|:----|
|mlr3pipelines |? | | | |
|mlr3spatiotempcv |? | | | |

## New problems (2)

|package |version |error |warning |note |
|:--------------------------------------|:-------|:------|:-------|:----|
|[mlr3fselect](problems.md#mlr3fselect) |0.4.1 |__+2__ | | |
|[mlr3tuning](problems.md#mlr3tuning) |0.5.0 |__+2__ | | |

9 changes: 9 additions & 0 deletions revdep/checks/libraries.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package,old,new,delta
bbotk,0.2.2,0.3.0,*
backports,1.2.1,1.2.1,
checkmate,2.0.0,2.0.0,
data.table,1.13.6,1.13.6,
lgr,0.4.2,0.4.2,
mlr3misc,0.7.0,0.7.0,
paradox,0.7.0,0.7.0,
R6,2.5.0,2.5.0,
Binary file not shown.
65 changes: 65 additions & 0 deletions revdep/checks/mlr3fselect/new/libraries.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
Library: /home/marc/Repository/bbotk/revdep/library/bbotk/new
backports (1.2.1)
bbotk (0.3.0)
checkmate (2.0.0)
data.table (1.13.6)
lgr (0.4.2)
mlr3misc (0.7.0)
paradox (0.7.0)
R6 (2.5.0)

Library: /home/marc/Repository/bbotk/revdep/library/mlr3fselect
assertthat (0.2.1)
backports (1.2.1)
brio (1.1.1)
callr (3.5.1)
checkmate (2.0.0)
cli (2.2.0)
codetools (0.2-18)
crayon (1.3.4)
data.table (1.13.6)
desc (1.2.0)
diffobj (0.3.3)
digest (0.6.27)
ellipsis (0.3.1)
evaluate (0.14)
fansi (0.4.2)
future (1.21.0)
future.apply (1.7.0)
genalg (0.2.0)
globals (0.14.0)
glue (1.4.2)
jsonlite (1.7.2)
lgr (0.4.2)
lifecycle (0.2.0)
listenv (0.8.0)
magrittr (2.0.1)
mlbench (2.1-1)
mlr3 (0.10.0)
mlr3measures (0.3.1)
mlr3misc (0.7.0)
mlr3pipelines (0.3.2)
paradox (0.7.0)
parallelly (1.23.0)
pillar (1.4.7)
pkgbuild (1.2.0)
pkgconfig (2.0.3)
pkgload (1.1.0)
praise (1.0.0)
prettyunits (1.1.1)
processx (3.4.5)
PRROC (1.3.1)
ps (1.5.0)
R6 (2.5.0)
rematch2 (2.1.2)
rlang (0.4.10)
rpart (4.1-15)
rprojroot (2.0.2)
rstudioapi (0.13)
testthat (3.0.1)
tibble (3.0.5)
utf8 (1.1.4)
uuid (0.1-4)
vctrs (0.3.6)
waldo (0.2.3)
withr (2.4.0)
94 changes: 94 additions & 0 deletions revdep/checks/mlr3fselect/new/mlr3fselect.Rcheck/00check.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
* using log directory ‘/home/marc/Repository/bbotk/revdep/checks/mlr3fselect/new/mlr3fselect.Rcheck’
* using R version 4.0.3 (2020-10-10)
* using platform: x86_64-pc-linux-gnu (64-bit)
* using session charset: UTF-8
* using options ‘--no-manual --no-build-vignettes’
* checking for file ‘mlr3fselect/DESCRIPTION’ ... OK
* this is package ‘mlr3fselect’ version ‘0.4.1’
* 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 executable files ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking whether package ‘mlr3fselect’ can be installed ... OK
* checking installed package size ... OK
* checking package 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 ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ... OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking loading without being on the library search path ... 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 ... OK
* checking Rd files ... 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 examples ... ERROR
Running examples in ‘mlr3fselect-Ex.R’ failed
The error most likely occurred in:

> ### Name: AutoFSelector
> ### Title: AutoFSelector
> ### Aliases: AutoFSelector
>
> ### ** Examples
>
> library(mlr3)
>
> task = tsk("iris")
> learner = lrn("classif.rpart")
> resampling = rsmp("holdout")
> measure = msr("classif.ce")
>
> terminator = trm("evals", n_evals = 3)
> fselector = fs("exhaustive_search")
> afs = AutoFSelector$new(learner, resampling, measure, terminator, fselector,
+ store_fselect_instance = TRUE)
>
> afs$train(task)
Error in private$.objective_multiplicator <- ifelse(self$objective$codomain$tags == :
cannot add bindings to a locked environment
Calls: <Anonymous> ... initialize -> .__FSelectInstanceSingleCrit__initialize
Execution halted
* checking for unstated dependencies in ‘tests’ ... OK
* checking tests ... ERROR
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
2. └─FSelectInstanceSingleCrit$new(...) helper.R:60:2
3. └─mlr3fselect:::initialize(...)
4. └─mlr3fselect:::.__FSelectInstanceSingleCrit__initialize(...)
── Error (test_FSelectorRandomSearch.R:13:3): FSelectorRandomSearch works with multi-crit ──
Error: cannot add bindings to a locked environment
Backtrace:
1. └─mlr3fselect:::test_fselector_2D(...) test_FSelectorRandomSearch.R:13:2
2. └─FSelectInstanceMultiCrit$new(...) helper.R:109:2
3. └─mlr3fselect:::initialize(...)
4. └─mlr3fselect:::.__FSelectInstanceMultiCrit__initialize(...)

[ FAIL 16 | WARN 0 | SKIP 8 | PASS 17 ]
Error: Test failures
Execution halted
* DONE
Status: 2 ERRORs
14 changes: 14 additions & 0 deletions revdep/checks/mlr3fselect/new/mlr3fselect.Rcheck/00install.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
* installing *source* package ‘mlr3fselect’ ...
** package ‘mlr3fselect’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (mlr3fselect)
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@

R version 4.0.3 (2020-10-10) -- "Bunny-Wunnies Freak Out"
Copyright (C) 2020 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> pkgname <- "mlr3fselect"
> source(file.path(R.home("share"), "R", "examples-header.R"))
> options(warn = 1)
> library('mlr3fselect')
>
> base::assign(".oldSearch", base::search(), pos = 'CheckExEnv')
> base::assign(".old_wd", base::getwd(), pos = 'CheckExEnv')
> cleanEx()
> nameEx("AutoFSelector")
> ### * AutoFSelector
>
> flush(stderr()); flush(stdout())
>
> ### Name: AutoFSelector
> ### Title: AutoFSelector
> ### Aliases: AutoFSelector
>
> ### ** Examples
>
> library(mlr3)
>
> task = tsk("iris")
> learner = lrn("classif.rpart")
> resampling = rsmp("holdout")
> measure = msr("classif.ce")
>
> terminator = trm("evals", n_evals = 3)
> fselector = fs("exhaustive_search")
> afs = AutoFSelector$new(learner, resampling, measure, terminator, fselector,
+ store_fselect_instance = TRUE)
>
> afs$train(task)
Error in private$.objective_multiplicator <- ifelse(self$objective$codomain$tags == :
cannot add bindings to a locked environment
Calls: <Anonymous> ... initialize -> .__FSelectInstanceSingleCrit__initialize
Execution halted
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## A custom startup file for tests
## Run as if a system Rprofile, so no packages, no assignments
options(useFancyQuotes = FALSE)

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
library(testthat)
library(mlr3)
library(mlr3fselect)
library(checkmate)

test_check("mlr3fselect")
Loading

0 comments on commit f8cffa7

Please sign in to comment.