Skip to content

Commit 1216949

Browse files
committed
fix: properly handle leanify when loaded via devtools
1 parent 521f681 commit 1216949

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

R/zzz.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ register_mlr3tuning = function() {
4646
# static code checks should not complain about commonly used data.table columns
4747
utils::globalVariables("y_scal")
4848

49-
if (!Sys.getenv("DEVTOOLS_LOAD") == "true") {
49+
if (!("mlr3mbo" %in% Sys.getenv("DEVTOOLS_LOAD"))) {
5050
leanify_package()
5151
}
52-

0 commit comments

Comments
 (0)