diff --git a/NAMESPACE b/NAMESPACE index ff4ac52b..5c40f89e 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -30,6 +30,7 @@ export(outpack_location_rename) export(outpack_log) export(outpack_log_debug) export(outpack_log_info) +export(outpack_log_read) export(outpack_log_trace) export(outpack_metadata) export(outpack_metadata_read) diff --git a/man/orderly_global_resource.Rd b/man/orderly_global_resource.Rd index 49b4c073..a1661cc7 100644 --- a/man/orderly_global_resource.Rd +++ b/man/orderly_global_resource.Rd @@ -4,7 +4,7 @@ \alias{orderly_global_resource} \title{Copy global resources into a packet directory} \usage{ -orderly_global_resource(...) +orderly_global_resource(..., overwrite = TRUE) } \arguments{ \item{...}{Named arguments corresponding to global resources to diff --git a/man/outpack_copy_files.Rd b/man/outpack_copy_files.Rd index 858b6349..6eb472c7 100644 --- a/man/outpack_copy_files.Rd +++ b/man/outpack_copy_files.Rd @@ -4,7 +4,14 @@ \alias{outpack_copy_files} \title{Copy files from a packet} \usage{ -outpack_copy_files(id, files, dest, allow_remote = FALSE, root = NULL) +outpack_copy_files( + id, + files, + dest, + allow_remote = FALSE, + overwrite = TRUE, + root = NULL +) } \arguments{ \item{id}{Optionally, an outpack id via \link{outpack_id}. If @@ -29,6 +36,10 @@ that this does add the downloaded file into your file store, though associated with no packet so that it is subject to garbage collection (once we write support for that).} +\item{overwrite}{Overwrite files at the destination; this is +typically what you want, but set to \code{FALSE} if you would prefer +that an error be thrown if the destination file already exists.} + \item{root}{The outpack root. Will be searched for from the current directory if not given.} } diff --git a/man/outpack_packet.Rd b/man/outpack_packet.Rd index 6ff398c9..9ec4c3cd 100644 --- a/man/outpack_packet.Rd +++ b/man/outpack_packet.Rd @@ -25,7 +25,13 @@ outpack_packet_end(packet, insert = TRUE) outpack_packet_run(packet, script, envir = .GlobalEnv) -outpack_packet_use_dependency(packet, query, files, search_options = NULL) +outpack_packet_use_dependency( + packet, + query, + files, + search_options = NULL, + overwrite = TRUE +) outpack_packet_add_custom(packet, application, data, schema = NULL) } @@ -89,6 +95,10 @@ add a slash if this is what you intended.} \item{search_options}{Optional search options for restricting the search (see \link{outpack_search} for details)} +\item{overwrite}{Overwrite files at the destination; this is +typically what you want, but set to \code{FALSE} if you would prefer +that an error be thrown if the destination file already exists.} + \item{application}{The name of the application (used to organise the data and query it later, see Details)}