R/import_flopy.R

Defines functions import_flopy

Documented in import_flopy

#' Import "flopy" Python Package
#'
#' @param convert Boolean (default: TRUE); should Python objects be automatically
#' converted to their R equivalent? If set to FALSE, you can still manually convert
#' Python objects to R via the \link[reticulate]{py_to_r} function.
#' @param ... additional arguments passed to \link[reticulate]{import}
#' @return imports "flopy" python package
#' @export
#' @importFrom reticulate import
import_flopy <- function(convert = TRUE, ...) {
  reticulate::import("flopy",
                     convert = convert,
                     ...)
}
KWB-R/dwc.ar4gw documentation built on Dec. 18, 2021, 2:35 a.m.