
Resolve a DOI or local study query into a canonical DOI
Source:R/folder_replication.R
resolve_doi_input.RdWhen doi is blank or "local", searches for
replication.yml from the working directory upward. When doi is a
filesystem path, searches that folder (and parents). When a matching local
study is found, registers it via configure_study_folder.
Usage
resolve_doi_input(doi = NULL, location = getwd(), allow_local = TRUE)Arguments
- doi
Character DOI, DOI URL, study-repo path,
"local", or blank.- location
Directory to search for a local study (default
getwd()).- allow_local
When
FALSE, never treat blank/local/.as a working-directory study (used by the registry scope ofinstall_dependencies()).