Skip to content

Fix hash type mismatch in vignettes and Roxygen docs#212

Merged
kyle-messier merged 2 commits into
migratefrom
copilot/sub-pr-211
Mar 11, 2026
Merged

Fix hash type mismatch in vignettes and Roxygen docs#212
kyle-messier merged 2 commits into
migratefrom
copilot/sub-pr-211

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 11, 2026

download_hash() computes a combined MD5 hash via the md5sum system binary, but vignettes and several Roxygen @param/@return docs described it as SHA-1 or referenced the now-unused rlang::hash_file().

Changes

  • Vignettes (gridmet_workflow, terraclimate_workflow, narr_workflow, epa_download, modis_workflow): Updated 7 hash = TRUE bullet descriptions from "SHA-1 hash" → "MD5 hash"
  • R/download.R: Replaced 11 occurrences of \code{rlang::hash_file()} / \code{rlang::hash_file} in @param hash and @return entries with "a combined MD5 hash string", matching the actual download_hash() implementation

✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: kyle-messier <127860447+kyle-messier@users.noreply.github.com>
Copilot AI changed the title [WIP] [WIP] Address feedback from review on the 'Migrate' pull request Fix hash type mismatch in vignettes and Roxygen docs Mar 11, 2026
@kyle-messier kyle-messier marked this pull request as ready for review March 11, 2026 21:00
@kyle-messier kyle-messier merged commit 4073805 into migrate Mar 11, 2026
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.

2 participants