Skip to content

Commit

Permalink
Minor docfix for saveObject,Rfc3339-method.
Browse files Browse the repository at this point in the history
  • Loading branch information
LTLA committed Jun 17, 2024
1 parent 614fc7c commit e04d082
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 2 additions & 1 deletion R/Rfc3339.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
#' @param i Indices specifying elements to extract or replace.
#' @param value Replacement values, either as another Rfc3339 instance, a character vector or something that can be coerced into one.
#' @param tz,recursive,... Further arguments to be passed to individual methods.
#' @param path String containing the path to a directory in which to save \code{x}.
#'
#' @return
#' For \code{as.Rfc3339}, the subset and combining methods, an Rfc3339 instance is returned.
Expand Down Expand Up @@ -170,7 +171,7 @@ c.Rfc3339 <- function(..., recursive=TRUE) {
setOldClass("Rfc3339")

#' @export
#' @rdname saveAtomicVector
#' @rdname Rfc3339
setMethod("saveObject", "Rfc3339", function(x, path, ...) .save_atomic_vector(x, path, ...))
# Put it here to ensure Rfc3339 is defined... we wrap the .save_atomic_vector call
# in a function so it doesn't get evaluated before saveAtomicVector.R is collated.
5 changes: 5 additions & 0 deletions man/Rfc3339.Rd

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

3 changes: 0 additions & 3 deletions man/saveAtomicVector.Rd

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

0 comments on commit e04d082

Please sign in to comment.