Skip to contents

Wrapper 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 of install_dependencies()).

Value

Character DOI.