We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2959047 commit 8ef2694Copy full SHA for 8ef2694
R/zzz.R
@@ -24,6 +24,8 @@
24
vctrs::s3_register("generics::tune_args", "model_spec", tune_args_model_spec)
25
}
26
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
29
should_register_tunable_method <- tryCatch(
30
expr = utils::packageVersion("tune") >= "0.1.6.9002",
31
error = function(cnd) TRUE
0 commit comments