Skip to content

Address CRAN review: documentation, examples and function side effects - #8

Merged
frycast merged 3 commits into
masterfrom
cran-review-fixes
Oct 19, 2026
Merged

frycast merged 3 commits into
masterfrom
cran-review-fixes

Conversation

@frycast

@frycast frycast commented Oct 16, 2026 •

Copy link
Copy Markdown
Owner

The CRAN review of rcosmo 1.1.5 identified incomplete documentation, disabled examples and function side effects. This PR expands the package Description, removes the redundant LICENSE file and its DESCRIPTION reference, documents all missing function return values and replacement arguments, and regenerates the help files.

Commented examples now use small synthetic maps, including a bundled complete twelve-pixel FITS map. Network download examples require an interactive session and use temporary destinations. Download functions require an explicit destination when saving; plotAngDis restores graphics settings on exit; invalid ring indices raise an error; and unconditional fitting diagnostics use suppressible warnings. Existing print/summary methods and progress output controlled by messages are retained. TinyTeX now updates its package manager before installing fonts, fixing a CI setup failure.

No new method references have been added to DESCRIPTION.

Validation: R and Rd parsing pass. All 56 runnable example blocks in the changed help files pass locally (maximum 1.51 seconds each), and all 15 focused regression assertions pass. These supplemental local checks used R 4.3.3 on a temporary copy with its minimum-R requirement adjusted; the repository still requires R >= 4.5.0. The coverage workflow passes on the final revision. Full supported-version R CMD checks are still running in GitHub Actions.

@frycast
frycast merged commit 7d52cc7 into master Oct 19, 2026
6 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