CRAN Package Check Results for Package cbcTools

Last updated on 2025-04-12 20:51:41 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.0 6.36 60.88 67.24 ERROR
r-devel-linux-x86_64-debian-gcc 0.5.0 4.46 41.08 45.54 ERROR
r-devel-linux-x86_64-fedora-gcc 0.5.0 151.58 ERROR
r-devel-macos-arm64 0.5.0 71.00 ERROR
r-devel-macos-x86_64 0.5.0 146.00 NOTE
r-devel-windows-x86_64 0.5.0 9.00 78.00 87.00 ERROR
r-patched-linux-x86_64 0.5.0 5.54 57.21 62.75 ERROR
r-release-linux-x86_64 0.5.0 ERROR
r-release-macos-arm64 0.5.0 66.00 NOTE
r-release-macos-x86_64 0.5.0 98.00 NOTE
r-release-windows-x86_64 0.5.0 10.00 94.00 104.00 ERROR
r-oldrel-macos-arm64 0.5.0 OK
r-oldrel-macos-x86_64 0.5.0 129.00 OK
r-oldrel-windows-x86_64 0.5.0 10.00 96.00 106.00 ERROR

Check Details

Version: 0.5.0
Check: Rd files
Result: NOTE checkRd: (-1) cbc_design.Rd:160: Lost braces; missing escapes or markup? 160 | see \code{?DoE.base::fac.design} as well as the JSS article on the {DoE.base} | ^ checkRd: (-1) cbc_design.Rd:174: Lost braces; missing escapes or markup? 174 | well as the JSS article on the {DoE.base} package (Grömping, 2018). | ^ checkRd: (-1) cbc_design.Rd:197: Lost braces; missing escapes or markup? 197 | {idefix} package (Traets et al, 2020). | ^ checkRd: (-1) cbc_power.Rd:70: Lost braces; missing escapes or markup? 70 | estimation. See the {logitr} documentation for details about other | ^ Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-gcc, r-devel-macos-arm64, r-devel-macos-x86_64, r-devel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64

Version: 0.5.0
Check: examples
Result: ERROR Running examples in ‘cbcTools-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: cbc_design > ### Title: Make a choice-based conjoint survey design > ### Aliases: cbc_design > ### Keywords: DoE.base design experiment idefix logit logitr mixed mnl mxl > > ### ** Examples > > library(cbcTools) > > # A simple conjoint experiment about apples > > # Generate all possible profiles > profiles <- cbc_profiles( + price = c(1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, 5), + type = c("Fuji", "Gala", "Honeycrisp"), + freshness = c('Poor', 'Average', 'Excellent') + ) > > # Make a survey by randomly sampling from all possible profiles > # (This is the default setting where method = 'random') > design_random <- cbc_design( + profiles = profiles, + n_resp = 100, # Number of respondents + n_alts = 3, # Number of alternatives per question + n_q = 6 # Number of questions per respondent + ) > > # Make a survey using a full factorial design and include a "no choice" option > design_full <- cbc_design( + profiles = profiles, + n_resp = 100, # Number of respondents + n_alts = 3, # Number of alternatives per question + n_q = 6, # Number of questions per respondent + method = 'full', # Change this to use a different method, e.g. 'orthogonal', or 'dopt' + no_choice = TRUE + ) > > # Make a survey by randomly sampling from all possible profiles > # with each level of the "type" attribute appearing as an alternative > design_random_labeled <- cbc_design( + profiles = profiles, + n_resp = 100, # Number of respondents + n_alts = 3, # Number of alternatives per question + n_q = 6, # Number of questions per respondent + label = "type" + ) > > # Make a Bayesian D-efficient design with a prior model specified > # Note that by speed can be improved by setting parallel = TRUE > design_bayesian <- cbc_design( + profiles = profiles, + n_resp = 100, # Number of respondents + n_alts = 3, # Number of alternatives per question + n_q = 6, # Number of questions per respondent + n_start = 1, # Defaults to 5, set to 1 here for a quick example + priors = list( + price = -0.1, + type = c(0.1, 0.2), + freshness = c(0.1, 0.2) + ), + method = "CEA", + parallel = FALSE + ) Error in idefix::Decode(des = D$design, n.alts = n_alts, alt.cte = alt_cte, : 'n.alts' does not seem correct based on nrow(des) Calls: cbc_design -> make_design_bayesian -> <Anonymous> Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.5.0
Check: examples
Result: ERROR Running examples in ‘cbcTools-Ex.R’ failed The error most likely occurred in: > ### Name: cbc_design > ### Title: Make a choice-based conjoint survey design > ### Aliases: cbc_design > ### Keywords: DoE.base design experiment idefix logit logitr mixed mnl mxl > > ### ** Examples > > library(cbcTools) > > # A simple conjoint experiment about apples > > # Generate all possible profiles > profiles <- cbc_profiles( + price = c(1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, 5), + type = c("Fuji", "Gala", "Honeycrisp"), + freshness = c('Poor', 'Average', 'Excellent') + ) > > # Make a survey by randomly sampling from all possible profiles > # (This is the default setting where method = 'random') > design_random <- cbc_design( + profiles = profiles, + n_resp = 100, # Number of respondents + n_alts = 3, # Number of alternatives per question + n_q = 6 # Number of questions per respondent + ) > > # Make a survey using a full factorial design and include a "no choice" option > design_full <- cbc_design( + profiles = profiles, + n_resp = 100, # Number of respondents + n_alts = 3, # Number of alternatives per question + n_q = 6, # Number of questions per respondent + method = 'full', # Change this to use a different method, e.g. 'orthogonal', or 'dopt' + no_choice = TRUE + ) > > # Make a survey by randomly sampling from all possible profiles > # with each level of the "type" attribute appearing as an alternative > design_random_labeled <- cbc_design( + profiles = profiles, + n_resp = 100, # Number of respondents + n_alts = 3, # Number of alternatives per question + n_q = 6, # Number of questions per respondent + label = "type" + ) > > # Make a Bayesian D-efficient design with a prior model specified > # Note that by speed can be improved by setting parallel = TRUE > design_bayesian <- cbc_design( + profiles = profiles, + n_resp = 100, # Number of respondents + n_alts = 3, # Number of alternatives per question + n_q = 6, # Number of questions per respondent + n_start = 1, # Defaults to 5, set to 1 here for a quick example + priors = list( + price = -0.1, + type = c(0.1, 0.2), + freshness = c(0.1, 0.2) + ), + method = "CEA", + parallel = FALSE + ) Error in idefix::Decode(des = D$design, n.alts = n_alts, alt.cte = alt_cte, : 'n.alts' does not seem correct based on nrow(des) Calls: cbc_design -> make_design_bayesian -> <Anonymous> Execution halted Flavors: r-devel-linux-x86_64-fedora-gcc, r-devel-macos-arm64, r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64

Version: 0.5.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘usage.Rmd’ using rmarkdown Quitting from usage.Rmd:206-222 [unnamed-chunk-7] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `idefix::Decode()`: ! 'n.alts' does not seem correct based on nrow(des) --- Backtrace: ▆ 1. └─cbcTools::cbc_design(...) 2. └─cbcTools:::make_design_bayesian(...) 3. └─idefix::Decode(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'usage.Rmd' failed with diagnostics: 'n.alts' does not seem correct based on nrow(des) --- failed re-building ‘usage.Rmd’ SUMMARY: processing the following file failed: ‘usage.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-fedora-gcc, r-devel-macos-arm64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.