Repository navigation
docs: make citation guidance unmissable (defm) - #9
Merged
Merged
Conversation
- `Year = ` (capital Y) is not a `bibentry` field and was being ignored; now `year`. - Removed a duplicated `archivePrefix` argument. - The package entry rendered `(????)` (reads `meta$Date`, no `Date:` in DESCRIPTION). Adds a How to cite note to the README, vignettes and ?defm, plus a startup message, and adds the CRAN DOI. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
Thank you for your contribution @gvegayon 🚀! The pkgdown site preview is ready for review 👉 Download here 👈! |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #9 +/- ##
==========================================
+ Coverage 81.37% 81.45% +0.08%
==========================================
Files 8 9 +1
Lines 451 453 +2
==========================================
+ Hits 367 369 +2
Misses 84 84 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Makes citation guidance for defm hard to miss, and corrects the citation metadata.
Motivation: the package has far more users than citations, and the usual reason is that people cannot find what to cite. Every change below is aimed at that gap.
inst/CITATIONYear =(capital Y) is not abibentryfield and was being ignored; nowyear.archivePrefixargument.(????)(readsmeta$Date, noDate:in DESCRIPTION).10.32614/CRAN.package.defmto the package entry (CRAN began minting these in 2024).Date/Publication→Date→ current year, so the entry cannot render as(????).Documentation
> [!NOTE]"How to cite" callout near the top. Both the source (.qmd/.Rmd) and the renderedREADME.mdare updated; the block is static markdown, so no re-render was required.packageStartupMessageon attach pointing atcitation("defm"). It is suppressible in the normal way and does not fire on::.Verification
utils::readCitationFile()parses the new file against the package DESCRIPTION, and the rendered entries were inspected.R/*.Rfiles stillparse()and allman/*.Rdstill passtools::parse_Rd().🤖 Generated with Claude Code