Check for files containing old jefferis/lab URLs.

nat_check_urls(
  path = ".",
  pattern = c("^(DESCRIPTION|NEWS|.*\\.(R|r|Rmd|md|yml))$"),
  oldusers = c("jefferis", "jefferislab", "flyconnectome"),
  replace = FALSE
)

Arguments

path

Path to git repository containing package (defaults to current working directory)

pattern

Files to check (passed to dir)

oldusers

Which GitHub users need changing to natverse

replace

Whether to replace old URLs with natverse URLs

Value

Paths to any bad files