diff --git a/CRAN-SUBMISSION b/CRAN-SUBMISSION index 19961ac4..4f5e0275 100644 --- a/CRAN-SUBMISSION +++ b/CRAN-SUBMISSION @@ -1,3 +1,3 @@ -Version: 0.3.0 -Date: 2023-06-30 01:18:40 UTC -SHA: 06612bb06826b85b7744e0047e7c1705a1bd19b6 +Version: 0.3.1 +Date: 2024-07-02 15:28:03 UTC +SHA: de5988b8a1464f714747297344945a7d7914081d diff --git a/R/as-cubble.R b/R/as-cubble.R index 4a083e02..d05b59d5 100644 --- a/R/as-cubble.R +++ b/R/as-cubble.R @@ -15,6 +15,7 @@ #' to downsample #' @param crs used in `as_cubble.tbl_df()` to set the crs. #' the data to read in `as_cubble.netcdf()`. +#' @param dimensions used when creating a cubble from a stars object #' @importFrom tidyr unchop #' @importFrom tsibble index #' @export diff --git a/man/as_cubble.Rd b/man/as_cubble.Rd index 607f86a4..8d4ef98c 100644 --- a/man/as_cubble.Rd +++ b/man/as_cubble.Rd @@ -14,7 +14,7 @@ as_cubble(data, key, index, coords, ...) \method{as_cubble}{data.frame}(data, key, index, coords, ...) -\method{as_cubble}{tbl_df}(data, key, index, coords, crs, ...) +\method{as_cubble}{tbl_df}(data, key, index, coords, crs, dimensions, ...) \method{as_cubble}{sf}(data, key, index, ...) @@ -51,6 +51,8 @@ see \code{\link[=make_cubble]{make_cubble()}}.} \item{crs}{used in \code{as_cubble.tbl_df()} to set the crs. the data to read in \code{as_cubble.netcdf()}.} +\item{dimensions}{used when creating a cubble from a stars object} + \item{vars}{a vector of variables to read in (with quote), used in \code{as_cubble.netcdf()} to select the variable to read in.}