
Prepare a DOI for replication API calls
Source:R/folder_replication.R
prepare_doi_for_replication.RdWrapper around resolve_doi_input that returns the canonical DOI.
Usage
prepare_doi_for_replication(doi, 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()).