Deduplicate @param documentation via @inheritParams#532
Merged
billdenney merged 3 commits intomainfrom Apr 12, 2026
Merged
Conversation
Replace redundant @param definitions for conc.blq, conc.na, check, first.tmax, and clast with @inheritParams from canonical source functions. This establishes clean.conc.blq as the single canonical source for conc.blq, conc.na, and check parameters across the package. Changes across 8 files: - auc.R: inherit conc.blq/conc.na/check from clean.conc.blq - half.life.R: inherit from clean.conc.blq and pk.calc.tmax - interpolate.conc.R: inherit from clean.conc.blq - tss.R: inherit from clean.conc.blq - aucint.R: remove duplicate clast params (already inherited from pk.calc.auxc) - pk.calc.simple.R: standardize check param on tmax/tmin/tlast/clast.obs/ceoi - pk.calc.c0.R: inherit check from clean.conc.blq - pk.calc.urine.R: inherit options on pk.calc.ertmax https://claude.ai/code/session_01P98oRHijPz2ZyT8Mx3nqUC
Adds a GitHub Action that runs roxygen2::roxygenise() on pull requests and commits any man/ or NAMESPACE changes back to the PR branch. This ensures documentation stays in sync with roxygen2 comments without requiring a local R installation. https://claude.ai/code/session_01P98oRHijPz2ZyT8Mx3nqUC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@paramdefinitions forconc.blq,conc.na,check,first.tmax, andclastwith@inheritParamsfrom canonical source functionsclean.conc.blqas the single canonical source forconc.blq,conc.na, andcheckparameters across the packageoptionsfromPKNCA.choose.optioninpk.calc.ertmax(urine)clast/clast.obs/clast.preddefinition fromaucint.R(already inherited frompk.calc.auxc)Canonical source functions
conc.blq,conc.na,checkclean.conc.blqcheck(conc-only)pk.calc.cmaxfirst.tmaxpk.calc.tmaxclast,clast.obs,clast.predpk.calc.auxcoptionsPKNCA.choose.optionFiles changed (8)
R/auc.R— inheritconc.blq/conc.na/checkfromclean.conc.blqR/half.life.R— inherit fromclean.conc.blqandpk.calc.tmaxR/interpolate.conc.R— inherit fromclean.conc.blqR/tss.R— inherit fromclean.conc.blqR/aucint.R— remove duplicateclastparams (already inherited viapk.calc.auxc)R/pk.calc.simple.R— standardizecheckontmax/tmin/tlast/clast.obs/ceoiR/pk.calc.c0.R— inheritcheckfromclean.conc.blqR/pk.calc.urine.R— inheritoptionsonpk.calc.ertmaxTest plan
devtools::document()to regenerateman/pagesman/before/after)devtools::check()— no undocumented parameter warnings?pk.calc.auxc,?pk.calc.half.life,?interp.extrap.conchttps://claude.ai/code/session_01P98oRHijPz2ZyT8Mx3nqUC