@@ -211,9 +211,11 @@ test_that("No-choice option works correctly", {
211211# =============================================================================
212212# PARAMETER RECOVERY TESTS
213213# =============================================================================
214+ # All of these are skipped on CRAN as they take much longer to run
214215
215216test_that(" Fixed parameters can be recovered accurately" , {
216217 skip_if_not(logitr_available , " logitr package not available" )
218+ skip_on_cran() # Skip on CRAN due to computation time
217219
218220 profiles <- setup_choice_test_profiles()
219221
@@ -259,6 +261,7 @@ test_that("Fixed parameters can be recovered accurately", {
259261
260262test_that(" Random parameters can be recovered accurately" , {
261263 skip_if_not(logitr_available , " logitr package not available" )
264+ skip_on_cran() # Skip on CRAN due to computation time
262265
263266 profiles <- setup_choice_test_profiles()
264267
@@ -343,6 +346,7 @@ test_that("Random parameters can be recovered accurately", {
343346
344347test_that(" No-choice parameters can be recovered accurately" , {
345348 skip_if_not(logitr_available , " logitr package not available" )
349+ skip_on_cran() # Skip on CRAN due to computation time
346350
347351 profiles <- setup_choice_test_profiles()
348352
@@ -391,6 +395,7 @@ test_that("No-choice parameters can be recovered accurately", {
391395
392396test_that(" Interaction parameters can be recovered accurately" , {
393397 skip_if_not(logitr_available , " logitr package not available" )
398+ skip_on_cran() # Skip on CRAN due to computation time
394399
395400 # Simpler profiles for interactions
396401 profiles_int <- cbc_profiles(
@@ -584,6 +589,7 @@ test_that("Choice simulation completes in reasonable time", {
584589
585590test_that(" Choices work with different design methods" , {
586591 profiles <- setup_choice_test_profiles()
592+ skip_on_cran() # Skip on CRAN due to computation time
587593
588594 priors <- cbc_priors(
589595 profiles = profiles ,
0 commit comments