From ef179688d5ddfec918e8181d7d6e5df643e5bfcb Mon Sep 17 00:00:00 2001 From: helske Date: Tue, 13 Apr 2021 16:46:38 +0300 Subject: [PATCH] fix SV test due to change in model arguments --- tests/testthat/test_models.R | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/testthat/test_models.R b/tests/testthat/test_models.R index 7e4edb1b..15bbf0a8 100644 --- a/tests/testthat/test_models.R +++ b/tests/testthat/test_models.R @@ -61,7 +61,8 @@ test_that("bad argument values for svm throws an error",{ }) test_that("proper arguments for svm don't throw an error",{ - expect_error(svm(1:10, uniform(0.9,-0.9, 0.99), halfnormal(1,2), halfnormal(1,2)), NA) + expect_error(svm(1:10, rho = uniform(0.9,-0.9, 0.99), + mu = normal(0, 0,2), sd_ar = halfnormal(1, 2)), NA) }) test_that("multivariate non-gaussian model", {