skip_on_cran() # .get_fc_args test_that("The correct fc arguments are created", { expect_equal(.get_fc_args("lqpht"), c("noautofeature", "threshold")) expect_snapshot_error(.get_fc_args("lb")) }) # .make_args test_that("The correct arguments are created", { expect_equal(.make_args(1, "l", 500, "removeduplicates=false"), c("betamultiplier=1", "maximumiterations=500", "noautofeature", "noquadratic", "noproduct", "nohinge", "removeduplicates=false")) }) # .get_lambdas const <- c("linearPredictorNormalizer, 1.68", "densityNormalizer, 21.50", "numBackgroundPoints, 5000", "entropy, 5.80") linear <- c("bio1, -0.44, 61.0, 42.0", const) quadratic <- c("bio1^2, -0.44, 61.0, 42.0", const) product <- c("bio1*bio16, -0.44, 61.0, 42.0", const) hinge <- c("'bio1, -0.44, 61.0, 42.0", const) rev_hinge <- c("`bio1, -0.44, 61.0, 42.0", const) threshold <- c("(500