Skip to content

Add DOIs to references and fix citations that became lists - #3

Merged
elkronos merged 1 commit into
mainfrom
review-fixes
Nov 18, 2026
Merged

elkronos merged 1 commit into
mainfrom
review-fixes

Conversation

@elkronos

@elkronos elkronos commented Nov 18, 2026 •

Copy link
Copy Markdown
Owner

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:

  • the spatial sampling article, where "(Stevens and Olsen 2004)" broke the spsurvey bullet;
  • the changelog, where "(Wolter 2007)" did the same inside a bullet;
  • ?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.Rmd and an internal help page) rendered correctly but are rewrapped as well.

Also

  • Neyman (1934) has its full title, and the Hájek reference reads the same in both places it appears.
  • NEWS has one bullet under "Documentation and site", and "Crossref" is added to inst/WORDLIST.

Checks

  • devtools::test(): 6,612 expectations, 0 failures.
  • devtools::document() leaves no diff; tools/check-docs.R and pkgdown::check_pkgdown() pass.
  • Rendering the changed sections with pandoc gives no stray numbered lists, where main gives one in the spatial article.
  • README.md renders the same as before apart from its dated line.

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.
@elkronos
elkronos merged commit 59d53a3 into main Nov 18, 2026
8 checks passed
@elkronos
elkronos deleted the review-fixes branch November 18, 2026 08:00
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