Skip to content

Commit 7d13d22

Browse files
committed
skip new tests
1 parent 163c0f8 commit 7d13d22

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

inst/CITATION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
bibentry(bibtype = "Manual",
22
title = "{cbcTools}: Design and Analyze Choice-Based Conjoint Experiments",
33
author = person(given = c("John", "Paul"), family = "Helveston", email = "john.helveston@gmail.com"),
4-
year = "2023",
4+
year = "2025",
55
note = "R package",
66
url = "https://jhelvy.github.io/cbcTools/",
77
header = "To cite cbcTools in publications use:"

tests/testthat/test_design.R

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,7 @@ test_that("Design works with cbc_inspect", {
590590
# =============================================================================
591591

592592
test_that("balance_by basic functionality works", {
593+
skip_on_cran() # Skip on CRAN due to computation time
593594
# Create profiles with attribute-specific feature (like EV range)
594595
profiles <- cbc_profiles(
595596
price = c(15, 20, 25),
@@ -642,6 +643,7 @@ test_that("balance_by basic functionality works", {
642643
})
643644

644645
test_that("balance_by with multiple attributes works", {
646+
skip_on_cran() # Skip on CRAN due to computation time
645647
# Create profiles with unbalanced attribute combinations
646648
# Similar to vehicle example but with multiple attributes
647649
profiles <- cbc_profiles(
@@ -693,6 +695,7 @@ test_that("balance_by with multiple attributes works", {
693695
})
694696

695697
test_that("balance_by validation works correctly", {
698+
skip_on_cran() # Skip on CRAN due to computation time
696699
profiles <- setup_test_profiles()
697700

698701
# Test invalid attribute name
@@ -723,6 +726,7 @@ test_that("balance_by validation works correctly", {
723726
})
724727

725728
test_that("balance_by conflicts with label", {
729+
skip_on_cran() # Skip on CRAN due to computation time
726730
profiles <- cbc_profiles(
727731
price = c(1, 2),
728732
brand = c("A", "B", "C")
@@ -743,6 +747,7 @@ test_that("balance_by conflicts with label", {
743747
})
744748

745749
test_that("balance_by handles edge cases gracefully", {
750+
skip_on_cran() # Skip on CRAN due to computation time
746751
# Test with single-valued attribute (should warn or error)
747752
profiles_single <- cbc_profiles(
748753
price = c(1, 2, 3),

0 commit comments

Comments
 (0)