Skip to content

Commit

Permalink
Add donttest
Browse files Browse the repository at this point in the history
  • Loading branch information
be-marc committed Oct 19, 2020
1 parent 75f48b0 commit 683a08c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,7 @@ $RECYCLE.BIN/
!.vscode/extensions.json
*.code-workspace
.vscode

.Rprofile
CRAN-RELEASE
cran-comments.md
5 changes: 3 additions & 2 deletions R/TunerHyperband.R
Original file line number Diff line number Diff line change
Expand Up @@ -190,12 +190,13 @@
#'
#' # Load tuner
#' tuner = tnr("hyperband", eta = 2L)
#'
#'
#' \donttest{
#' # Trigger optimization
#' tuner$optimize(inst)
#'
#' # Print all evaluations
#' inst$archive$data()
#' inst$archive$data()}
TunerHyperband = R6Class("TunerHyperband",
inherit = Tuner,
public = list(
Expand Down
3 changes: 2 additions & 1 deletion man/mlr_tuners_hyperband.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 683a08c

Please sign in to comment.