Closed salim-b closed 2 years ago
Thanks! I'll pick it up when I next work on rprojroot/here.
What's the scenario where the above makes something recognizably a project and no other existing criterion does?
Am I just failing to see a usage pattern that I happen not to share?
@jennybc I'd simply like to have a standardized way to check if a specific directory is set up for pkgdown. I could use it e.g. as follows:
is_pkgdown_dir <- function(path = ".") {
rprojroot::is_pkgdown_project$testfun %>%
purrr::map_lgl(~ .x(path = path)) %>%
any()
}
Hey @krlmlr, any update on this?
Thanks!
looking for a
_pkgdown.yml
,_pkgdown.yaml
,pkgdown/_pkgdown.yml
and/orinst/_pkgdown.yml
file