@@ -49,23 +49,20 @@ test_that("Subsets of parameters are allowed", {
4949})
5050
5151test_that(" Pathfinder works as init" , {
52- skip_if_legacy_win41_pareto()
5352 mod_logistic <- testing_model(" logistic" )
5453 utils :: capture.output(fit_path_init <- mod_logistic $ pathfinder(
5554 seed = 1234 , data = data_list_logistic , refresh = 0 , num_paths = 1 ))
5655 expect_no_error(test_inits(mod_logistic , fit_path_init , data_list_logistic ))
5756})
5857
5958test_that(" Multi Pathfinder method works as init" , {
60- skip_if_legacy_win41_pareto()
6159 mod_logistic <- testing_model(" logistic" )
6260 utils :: capture.output(fit_path_init <- mod_logistic $ pathfinder(seed = 1234 ,
6361 data = data_list_logistic , refresh = 0 , num_paths = 4 ))
6462 expect_no_error(test_inits(mod_logistic , fit_path_init , data_list_logistic ))
6563})
6664
6765test_that(" Pathfinder method with psis_resample as false works as init" , {
68- skip_if_legacy_win41_pareto()
6966 mod_logistic <- testing_model(" logistic" )
7067 utils :: capture.output(fit_path_init <- mod_logistic $ pathfinder(
7168 seed = 1234 , data = data_list_logistic , refresh = 0 , num_paths = 1 ,
@@ -75,7 +72,6 @@ test_that("Pathfinder method with psis_resample as false works as init", {
7572
7673
7774test_that(" Multi Pathfinder method with psis_resample as false works as init" , {
78- skip_if_legacy_win41_pareto()
7975 mod_logistic <- testing_model(" logistic" )
8076 utils :: capture.output(fit_path_init <- mod_logistic $ pathfinder(
8177 seed = 1234 , data = data_list_logistic , refresh = 0 , num_paths = 4 ,
@@ -101,7 +97,6 @@ test_that("Multi Pathfinder method with calculate_lp as false works as init", {
10197})
10298
10399test_that(" Variational method works as init" , {
104- skip_if_legacy_win41_pareto()
105100 mod_logistic <- testing_model(" logistic" )
106101 utils :: capture.output(fit_vb_init <- mod_logistic $ variational(
107102 data = data_list_logistic , seed = 1234 , refresh = 0 ))
0 commit comments