Skip to content

Stan model changes#24

Merged
cm401 merged 3 commits into
mainfrom
stan_model_changes
Apr 10, 2026
Merged

Stan model changes#24
cm401 merged 3 commits into
mainfrom
stan_model_changes

Conversation

@cm401
Copy link
Copy Markdown
Owner

@cm401 cm401 commented Apr 10, 2026

Fix issues with R CMD checks

cm401 and others added 3 commits April 10, 2026 10:35
re-align main and branch again.
- Fix update_phi_prior ERROR: rename local functions obj_wei/obj_gg/obj_burr
  to avoid multiple definitions with different formal arguments
- Fix \description NOTE in compute_wis.Rd and generate_results_table.Rd:
  replace \% with % in roxygen plain-text contexts so devtools::document()
  generates valid \% escapes rather than \\% (which breaks Rd parsing)
- Fix pre_inference_checks.Rd: same \\% → \% correction
- Add 11 missing functions to _pkgdown.yml reference sections

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add R/ddsynth-package.R with @import dplyr/ggplot2/tidyr and @importFrom
  declarations for stats, grDevices, grid, coda, ggsci, stringr, tibble, utils
- Update DESCRIPTION: add grid, stringr to Imports; move tidyr from Suggests
- Extend zzz.R globalVariables() with all NSE column names used across the
  package (simulation result columns, plotting variables, etc.)
- Fix should_attempt_gg() example: wrap in \dontrun{} since datasets_SARS
  is an internal (unexported) package object
- Fix partial argument match: scale -> scales in facet_grid() calls in
  ploting_utils.R
- Result: R CMD check now passes with 0 errors (was 1 error from examples)
  and 'checking R code for possible problems' is now OK

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@cm401 cm401 merged commit f05c9f9 into main Apr 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant