CRAN Package Check Results for Package cbcTools

Last updated on 2025-03-14 09:50:21 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.0 6.15 68.05 74.20 NOTE
r-devel-linux-x86_64-debian-gcc 0.5.0 3.99 48.50 52.49 NOTE
r-devel-linux-x86_64-fedora-clang 0.5.0 122.28 ERROR
r-devel-linux-x86_64-fedora-gcc 0.5.0 95.94 ERROR
r-devel-macos-arm64 0.5.0 75.00 NOTE
r-devel-macos-x86_64 0.5.0 146.00 NOTE
r-devel-windows-x86_64 0.5.0 8.00 86.00 94.00 NOTE
r-patched-linux-x86_64 0.5.0 NOTE
r-release-linux-x86_64 0.5.0 6.08 64.13 70.21 NOTE
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 8.00 85.00 93.00 NOTE
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 104.00 114.00 OK

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-clang, 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: > ### 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-clang, r-devel-linux-x86_64-fedora-gcc

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 lines 207-222 [unnamed-chunk-7] (usage.Rmd) 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 Flavor: r-devel-linux-x86_64-fedora-gcc