Skip to content

Commit 8ef2694

Browse files
committed
keep the comment
1 parent 2959047 commit 8ef2694

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

R/zzz.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
vctrs::s3_register("generics::tune_args", "model_spec", tune_args_model_spec)
2525
}
2626

27+
# - If tune isn't installed, register the method (`packageVersion()` will error here)
28+
# - If tune >= 0.1.6.9002 is installed, register the method
2729
should_register_tunable_method <- tryCatch(
2830
expr = utils::packageVersion("tune") >= "0.1.6.9002",
2931
error = function(cnd) TRUE

0 commit comments

Comments
 (0)