Repository navigation
Add DOIs to references and fix citations that became lists - #3
Merged
Merged
Conversation
Every reference with a DOI in the help pages and the articles now links to it; each DOI was matched to its title, journal, volume and first page on Crossref. Lines that began with a year or a number followed by ")" or "." made pandoc and roxygen start a numbered list, which broke the spatial sampling article, the changelog and ?certainty_set.
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.
Every reference in the help pages and the two articles now carries a DOI where the work has one: 23 of the 31 cited works, added in 44 places. Each DOI was matched on Crossref to the work's title, journal, volume and first page before it went in. The help pages use
\doi{}, which R renders as a doi.org link; the articles show the doi.org link.The other 8 have no DOI: Deville (1999) and Korn and Graubard (1998) in Survey Methodology, Sen (1953), Matei and Tillé (2005) in the Journal of Official Statistics, Cochran (1977), Kish (1965), Hájek's 1971 comment, and the Politis and Romano chapter (1992).
Citations that rendered as lists
A line that starts with a year or number followed by
)or.makes pandoc or roxygen start a numbered list. Three places rendered that way:spsurveybullet;?certainty_set, where a sentence ending "passes 1." turned the rest of the description into a numbered list.Each line is rewrapped so it reads as written. Two more lines with the same shape (in
README.Rmdand an internal help page) rendered correctly but are rewrapped as well.Also
inst/WORDLIST.Checks
devtools::test(): 6,612 expectations, 0 failures.devtools::document()leaves no diff;tools/check-docs.Randpkgdown::check_pkgdown()pass.