diff --git a/NAMESPACE b/NAMESPACE index 1ed8cb0..62f8726 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -19,7 +19,6 @@ export(getMadratMessage) export(getSources) export(installedMadratUniverse) export(localConfig) -export(redirectSource) export(madapply) export(madlapply) export(madratAttach) @@ -28,6 +27,7 @@ export(metadataGFZ) export(pucAggregate) export(putMadratMessage) export(readSource) +export(redirectSource) export(regionscode) export(resetMadratMessages) export(retrieveData) diff --git a/man/localRedirect.Rd b/man/redirectSource.Rd similarity index 83% rename from man/localRedirect.Rd rename to man/redirectSource.Rd index 66c270d..c5f38b5 100644 --- a/man/localRedirect.Rd +++ b/man/redirectSource.Rd @@ -4,7 +4,7 @@ \alias{redirectSource} \title{redirectSource} \usage{ -redirectSource(type, subtype = NULL, ..., target) +redirectSource(type, subtype = NULL, ..., target, .local = TRUE) } \arguments{ \item{type}{Dataset name, e.g. "Tau" for \code{\link{readTau}}} @@ -15,6 +15,9 @@ a potential later implementation of subtype redirections.} \item{...}{Additional arguments, passed on to source-specific inject function if it exists} \item{target}{Path to the new source folder, NULL to remove the redirection} + +\item{.local}{The scope of the redirection, passed on to setConfig. Defaults to the current function. +Set to an environment for more control or to FALSE for a permanent/global redirection.} } \value{ Invisibly, a list of all redirections where names are types and