r-lib / urlchecker

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

Also update README.Rmd if exists #1

Closed krlmlr closed 4 years ago

krlmlr commented 4 years ago

for extra comfort.

jimhester commented 4 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 4 years ago

Thank you!