Skip to content

Add standalone documentation for sr_model class#195

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/add-documentation-for-sr-model
Draft

Add standalone documentation for sr_model class#195
Copilot wants to merge 3 commits intomainfrom
copilot/add-documentation-for-sr-model

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 14, 2026

The sr_model class had no dedicated help page — its structure was only documented inline in run_mod()'s @returns section.

Changes

  • R/sr_model-class.R — New roxygen2 documentation page covering all data columns, custom attributes (including the population_params attribute from PR Adding population parameters as attributes #141), class inheritance, and construction notes
  • pkgdown/_pkgdown.yml — Register sr_model-class in the "Model seroresponse" reference section
  • Fix [dplyr::tbl_df][tibble::tbl_df] cross-references in Run_Mod.R, nepal_sees_jags_output.R, plot_predicted_curve.R, use_att_names.R — these were resolving to dplyr::defunct since tbl_df moved to tibble
  • inst/WORDLIST — Added "precisions"
  • Version bump to 0.0.0.9048, NEWS.md entry

Usage

?sr_model
# or
help("sr_model-class")

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • cdn.jsdelivr.net
    • Triggering command: /opt/R/4.5.3/lib/R/bin/exec/R /opt/R/4.5.3/lib/R/bin/exec/R --slave --no-save --no-restore -f /tmp/RtmpxekeiW/callr-scr-ad506a2a03f7 (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI requested review from Copilot and removed request for Copilot April 14, 2026 06:14
Copilot AI linked an issue Apr 14, 2026 that may be closed by this pull request
Agent-Logs-Url: https://github.com/ucdavis/serodynamics/sessions/6530ae68-4931-43a9-afe7-d3a8fad022b6

Co-authored-by: sschildhauer <165851188+sschildhauer@users.noreply.github.com>
Copilot AI requested review from Copilot and removed request for Copilot April 14, 2026 06:39
Copilot AI requested review from Copilot and removed request for Copilot April 14, 2026 06:42
Copilot AI changed the title [WIP] Add documentation for sr_model class Add standalone documentation for sr_model class Apr 14, 2026
Copilot AI requested a review from sschildhauer April 14, 2026 06:43
@sschildhauer sschildhauer requested a review from Kwan-Jenny April 14, 2026 07:51
@github-actions
Copy link
Copy Markdown
Contributor

📖 https://ucd-serg.github.io/serodynamics/preview/pr195
Preview documentation for this PR (at commit bdb7858)

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.

Create documentation for sr_model class

2 participants