diff --git a/src/sb_utils.R b/src/sb_utils.R index 11fa603..b679bcb 100644 --- a/src/sb_utils.R +++ b/src/sb_utils.R @@ -6,7 +6,7 @@ #' @param file_hash a yaml file with filepath and hash value pairs. All files named in the #' `file_hash` will be uploaded to sciencebase #' @param sources filepath(s) for where all of the functions that are needed for running -#' `sb_replace_files_log` exist. For example, where `sb_replace_files`, `sb_render_post_xml`, +#' `sb_replace_files` exist. For example, where `sb_replace_files`, `sb_render_post_xml`, #' `do_item_replace_tasks`, `upload_and_record`, and `combine_upload_times` are defined. It #' is recommended to put them all in the same file. #' @@ -18,7 +18,7 @@ #' treated as a dependency. If you feel the need to put `sources = I(c('file1.R','file2.R'))` note that #' remake won't track the contents of the files to trigger re-builds, just the file names (because of the I()). #' I would suggest keeping every function and variable you need in one source file for this pattern -sb_replace_files_log <- function(filename, sb_id, ..., file_hash, sources = c()){ +sb_replace_files <- function(filename, sb_id, ..., file_hash, sources = c()){ files <- c(...) @@ -34,7 +34,7 @@ sb_replace_files_log <- function(filename, sb_id, ..., file_hash, sources = c()) } -sb_replace_files <- function(sb_id, ..., file_hash){ +sb_replace_files_old <- function(sb_id, ..., file_hash){ if (!sbtools::is_logged_in()){