Skip to content

Commit

Permalink
Remove references to deprecated overwrite arg (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronwolen committed Aug 26, 2020
1 parent 2a52438 commit 50b9637
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion R/osf_upload.R
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
#' # Modify the data file, upload version 2, and view it on OSF
#' write.csv(subset(iris, Species != "setosa"), file = "iris.csv")
#' project %>%
#' osf_upload("iris.csv", overwrite = TRUE) %>%
#' osf_upload("iris.csv", conflicts = "overwrite") %>%
#' osf_open()
#' }
#'
Expand Down
8 changes: 4 additions & 4 deletions man-roxygen/synchronization.R
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#' @section A note about synchronization:
#' While `osf_download()` and `osf_upload()` can be used to conveniently shuttle
#' While `osf_download()` and `osf_upload()` allow you to conveniently shuttle
#' files back and forth between OSF and your local machine, it's important to
#' note that **they are not file synchronization functions**. In contrast to
#' something like [`rsync`](https://rsync.samba.org),
#' `osf_download()`/`osf_upload()` do not take into account a file's contents or
#' modification time. Whether you're uploading or downloading, if `overwrite =
#' TRUE`, osfr will overwrite an existing file regardless of whether the
#' existing file is the more recent copy. You have been warned.
#' modification time. Whether you're uploading or downloading, if `conflicts =
#' "overwrite"`, osfr will overwrite the existing file regardless of whether it
#' is the more recent copy. You have been warned.

0 comments on commit 50b9637

Please sign in to comment.