Skip to content

Commit

Permalink
zipSimList docs --> deprecated
Browse files Browse the repository at this point in the history
with #260
  • Loading branch information
achubaty committed Oct 3, 2023
1 parent 162f32d commit 50911b1
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 17 deletions.
7 changes: 3 additions & 4 deletions R/saveLoadSimList.R
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
#' @importFrom Require messageVerbose
#' @importFrom tools file_ext
#' @rdname saveSimList
#' @seealso [loadSimList()]
saveSimList <- function(sim, filename, projectPath = getwd(),
outputs = TRUE, inputs = TRUE, cache = FALSE, envir,
...) {
Expand Down Expand Up @@ -200,14 +201,12 @@ saveSimList <- function(sim, filename, projectPath = getwd(),
#' `zipSimList` will save the `simList` and file-backed `Raster*` objects, plus,
#' optionally, files identified in `outputs(sim)` and `inputs(sim)`.
#' This uses `Copy` under the hood, to not affect the original `simList`.
#' **VERY experimental**.
#'
#' @inheritParams saveSimList
#' @param zipfile A character string indicating the filename for the zip file. Passed to `zip`.
#'
#' @export
#' @md
#' @rdname saveSimList
#' @seealso [loadSimList()]
#' @rdname deprecated
zipSimList <- function(sim, zipfile, ..., outputs = TRUE, inputs = TRUE, cache = FALSE) {
.Deprecated("saveSimList")
saveSimList(sim, filename = zipfile)
Expand Down
31 changes: 28 additions & 3 deletions man/deprecated.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions man/saveSimList.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 50911b1

Please sign in to comment.