r-lib / urlchecker

Run CRAN URL checks from older versions of R
https://urlchecker.r-lib.org/
GNU General Public License v3.0
45 stars 5 forks source link

Also update README.Rmd if exists #1

Closed krlmlr closed 3 years ago

krlmlr commented 3 years ago

for extra comfort.

jimhester commented 3 years ago

Probably better to add README.Rmd to from before the loop, so you don't duplicate the other code. e.g.

from <- to_update[["From"]][[row]]
if ("README.md" %in% from && file.exists(file.path(root, "README.Rmd")) {
  from <- c(from, "README.Rmd")
}
jimhester commented 3 years ago

Thank you!