Skip to content

Commit

Permalink
Merge pull request #13 from kirillseva/fix_store_error
Browse files Browse the repository at this point in the history
fix error message
  • Loading branch information
robertzk committed Feb 27, 2015
2 parents 30848db + 6a249b7 commit 98c2245
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: s3mpi
Title: R message passing interface using S3 storage
Description: Easily pass objects like lists or dataframes between consoles
Version: 0.2.2
Version: 0.2.3
Author: Robert Krzyzanowski <technoguyrob@gmail.com>
Maintainer: Robert Krzyzanowski <technoguyrob@gmail.com>
Authors@R: c(person("Robert", "Krzyzanowski", email = "technoguyrob@gmail.com",
Expand Down
2 changes: 1 addition & 1 deletion R/s3store.r
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ s3store <- function(obj, name = NULL, .path = s3path(), safe = TRUE, ...) {
s3key <- paste(.path, name, sep = '')
if (safe && s3mpi::s3exists(name, .path = .path, ...)) {
# using cat prints to stdout as opposed to messages, so it can be seen from syberia::run_model()
cat(paste("An object with name", name, "on path", path, "already exists. Use `safe = FALSE` to overwrite\n"))
cat(paste("An object with name", name, "on path", .path, "already exists. Use `safe = FALSE` to overwrite\n"))
stop("-------------------------^")
}
obj4save <- s3normalize(obj, FALSE)
Expand Down

0 comments on commit 98c2245

Please sign in to comment.