Skip to content

Commit

Permalink
bug fix, #34
Browse files Browse the repository at this point in the history
  • Loading branch information
jhelvy committed Jan 26, 2024
1 parent b851736 commit fb81dc4
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
Authors@R: c(
person(given = "John",
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion R/input_checks.R
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
#> <https://jhelvy.github.io/cbcTools/>.
#> Helveston JP (2023). _cbcTools: Design and Evaluate Choice-Based
#> Conjoint Survey Experiments_. R package, <URL:
#> https://jhelvy.github.io/cbcTools/>.
#>
#> A BibTeX entry for LaTeX users is
#>
Expand Down

0 comments on commit fb81dc4

Please sign in to comment.