R/mthd_authorData.R

#' Author and document datasets
#' @description authorData.ready4fun_manifest() is an authorData method that authors and saves files necessary for creating and documenting datasets. This method is implemented for the ready4 submodule class for encapsulating the metadata required for package set-up. The function is called for its side effects and does not return a value.
#' @param x An instance of `ready4fun_manifest`, a ready4 submodule class for encapsulating the metadata required for package set-up.
#' @return x (An object)
#' @rdname authorData-methods
#' @export 
#' @importFrom ready4 authorData
authorData.ready4fun_manifest <- function (x) 
{
    x <- write_pkg_dss(x)
    return(x)
}
#' @rdname authorData-methods
#' @aliases authorData,ready4fun_manifest-method
#' @importFrom ready4 authorData
methods::setMethod("authorData", methods::className("ready4fun_manifest", package = "ready4fun"), authorData.ready4fun_manifest)
ready4-dev/ready4fun documentation built on April 22, 2024, 8:33 a.m.