diff --git a/DESCRIPTION b/DESCRIPTION index 993b424..afcce35 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: cbcTools Title: Choice-Based Conjoint Experiment Design Generation and Power Evaluation in R -Version: 0.5.1 +Version: 0.5.2 Maintainer: John Helveston Authors@R: c( person(given = "John", diff --git a/NEWS.md b/NEWS.md index e565711..7ca8569 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,9 @@ # cbcTools (development version) +# cbcTools 0.5.2 + +- Bug fix in checking input settings (#34) + # cbcTools 0.5.1 - Patch to fix a joining issue in the `join_profiles()` function (#27) diff --git a/R/input_checks.R b/R/input_checks.R index 27e518b..d122328 100644 --- a/R/input_checks.R +++ b/R/input_checks.R @@ -116,7 +116,7 @@ check_inputs_design <- function( # Check on restricted profile sets if (profiles_restricted) { - if (!method %in% c('random', 'full')) { + if (!method %in% c('random', 'full', 'dopt', 'Modfed')) { stop( 'Restricted profile sets can only be used with the "random", "full" ', '"dopt", or "Modfed" methods' diff --git a/README.md b/README.md index d75f2ca..1c1eaab 100644 --- a/README.md +++ b/README.md @@ -62,9 +62,9 @@ citation("cbcTools") #> #> To cite cbcTools in publications use: #> -#> Helveston JP (2023). _cbcTools: Design and Evaluate Choice-Based -#> Conjoint Survey Experiments_. R package, -#> . +#> Helveston JP (2023). _cbcTools: Design and Evaluate Choice-Based +#> Conjoint Survey Experiments_. R package, https://jhelvy.github.io/cbcTools/>. #> #> A BibTeX entry for LaTeX users is #>