CRAN Package Check Results for Package senseweight

Last updated on 2026-12-06 16:55:38 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.0.1 4.56 76.98 81.54 OK
r-devel-linux-x86_64-debian-gcc 0.0.1 3.16 51.18 54.34 ERROR
r-devel-linux-x86_64-fedora-clang 0.0.1 25.77 ERROR
r-devel-linux-x86_64-fedora-gcc 0.0.1 31.88 OK
r-devel-windows-x86_64 0.0.1 8.00 93.00 101.00 OK
r-patched-linux-x86_64 0.0.1 4.73 69.21 73.94 OK
r-release-linux-x86_64 0.0.1 4.12 58.70 62.82 ERROR
r-release-macos-arm64 0.0.1 1.00 23.00 24.00 OK
r-release-macos-x86_64 0.0.1 3.00 97.00 100.00 OK
r-release-windows-x86_64 0.0.1 8.00 86.00 94.00 OK
r-oldrel-macos-arm64 0.0.1 OK
r-oldrel-macos-x86_64 0.0.1 3.00 76.00 79.00 OK
r-oldrel-windows-x86_64 0.0.1 14.00 125.00 139.00 OK

Check Details

Version: 0.0.1
Check: examples
Result: ERROR Running examples in ‘senseweight-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: benchmark_survey > ### Title: Benchmark (for survey weights) > ### Aliases: benchmark_survey > > ### ** Examples > > data(poll.data) > poll_srs <- survey::svydesign(ids = ~ 1, data = poll.data) Warning in svydesign.default(ids = ~1, data = poll.data) : No weights or probabilities supplied, assuming equal probability > pop_targets = c(1, 0.212, 0.264, 0.236, 0.310, + 0.114, 0.360, 0.528, 0.114, + 0.021, 0.034, 0.805, + 0.266, 0.075, 0.312, 0.349) > names(pop_targets) = c("(Intercept)", + "age_buckets36to50", + "age_buckets51to64", + "age_bucketsOver65", + "educHigh School or Less", + "educPost-grad", + "educSome college", + "genderWomen", + "raceBlack", + "raceHispanic", + "raceOther", + "raceWhite", + "pidIndependent", "pidOther", + "pidRepublican", "bornagainYes") > #Set up raking formula: > formula_rake <- ~ age_buckets + educ + gender + race + pid + bornagain > > #PERFORM RAKING: > model_rake <- survey::calibrate( + design = poll_srs, + formula = formula_rake, + population = pop_targets, + calfun = "raking", + force = TRUE + ) Error in loadNamespace(x) : there is no package called ‘MASS’ Calls: <Anonymous> ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.0.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘external-validity.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘external-validity.Rmd’ --- re-building ‘survey.Rmd’ using rmarkdown Quitting from survey.Rmd:57-77 [unnamed-chunk-5] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `loadNamespace()`: ! there is no package called 'MASS' --- Backtrace: ▆ 1. ├─survey::calibrate(...) 2. ├─survey:::calibrate.survey.design2(...) 3. │ └─survey::grake(...) 4. └─base::loadNamespace(x) 5. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 6. └─base (local) withOneRestart(expr, restarts[[1L]]) 7. └─base (local) doWithOneRestart(return(expr), restart) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'survey.Rmd' failed with diagnostics: there is no package called 'MASS' --- failed re-building ‘survey.Rmd’ SUMMARY: processing the following file failed: ‘survey.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-debian-gcc, r-release-linux-x86_64

Version: 0.0.1
Check: examples
Result: ERROR Running examples in ‘senseweight-Ex.R’ failed The error most likely occurred in: > ### Name: benchmark_survey > ### Title: Benchmark (for survey weights) > ### Aliases: benchmark_survey > > ### ** Examples > > data(poll.data) > poll_srs <- survey::svydesign(ids = ~ 1, data = poll.data) Warning in svydesign.default(ids = ~1, data = poll.data) : No weights or probabilities supplied, assuming equal probability > pop_targets = c(1, 0.212, 0.264, 0.236, 0.310, + 0.114, 0.360, 0.528, 0.114, + 0.021, 0.034, 0.805, + 0.266, 0.075, 0.312, 0.349) > names(pop_targets) = c("(Intercept)", + "age_buckets36to50", + "age_buckets51to64", + "age_bucketsOver65", + "educHigh School or Less", + "educPost-grad", + "educSome college", + "genderWomen", + "raceBlack", + "raceHispanic", + "raceOther", + "raceWhite", + "pidIndependent", "pidOther", + "pidRepublican", "bornagainYes") > #Set up raking formula: > formula_rake <- ~ age_buckets + educ + gender + race + pid + bornagain > > #PERFORM RAKING: > model_rake <- survey::calibrate( + design = poll_srs, + formula = formula_rake, + population = pop_targets, + calfun = "raking", + force = TRUE + ) Error in loadNamespace(x) : there is no package called ‘MASS’ Calls: <Anonymous> ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.0.1
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘external-validity.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘external-validity.Rmd’ --- re-building ‘survey.Rmd’ using rmarkdown Quitting from survey.Rmd:57-77 [unnamed-chunk-5] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `loadNamespace()`: ! there is no package called 'MASS' --- Backtrace: ▆ 1. ├─survey::calibrate(...) 2. ├─survey:::calibrate.survey.design2(...) 3. │ └─survey::grake(...) 4. └─base::loadNamespace(x) 5. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 6. └─base (local) withOneRestart(expr, restarts[[1L]]) 7. └─base (local) doWithOneRestart(return(expr), restart) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'survey.Rmd' failed with diagnostics: there is no package called 'MASS' --- failed re-building ‘survey.Rmd’ SUMMARY: processing the following file failed: ‘survey.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.0.1
Check: examples
Result: ERROR Running examples in ‘senseweight-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: benchmark_survey > ### Title: Benchmark (for survey weights) > ### Aliases: benchmark_survey > > ### ** Examples > > data(poll.data) > poll_srs <- survey::svydesign(ids = ~ 1, data = poll.data) Warning in svydesign.default(ids = ~1, data = poll.data) : No weights or probabilities supplied, assuming equal probability > pop_targets = c(1, 0.212, 0.264, 0.236, 0.310, + 0.114, 0.360, 0.528, 0.114, + 0.021, 0.034, 0.805, + 0.266, 0.075, 0.312, 0.349) > names(pop_targets) = c("(Intercept)", + "age_buckets36to50", + "age_buckets51to64", + "age_bucketsOver65", + "educHigh School or Less", + "educPost-grad", + "educSome college", + "genderWomen", + "raceBlack", + "raceHispanic", + "raceOther", + "raceWhite", + "pidIndependent", "pidOther", + "pidRepublican", "bornagainYes") > #Set up raking formula: > formula_rake <- ~ age_buckets + educ + gender + race + pid + bornagain > > #PERFORM RAKING: > model_rake <- survey::calibrate( + design = poll_srs, + formula = formula_rake, + population = pop_targets, + calfun = "raking", + force = TRUE + ) Error in loadNamespace(x) : there is no package called ‘MASS’ Calls: <Anonymous> ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted Examples with CPU (user + system) or elapsed time > 5s user system elapsed benchmark_parameters 3.658 0.159 5.04 Flavor: r-release-linux-x86_64