R/read_aRchi.R

#' Read an aRchi file
#'
#' @docType methods
#' @rdname read_aRchi
#' @description Read an aRchi file
#' @param file The directory to the .aRchi file.
#' @include aRchiClass.R
#' @seealso \code{\link{write_aRchi}}

setGeneric("read_aRchi",
           function(file){standardGeneric("read_aRchi")}
)

#' @rdname read_aRchi
#' @export

setMethod("read_aRchi",
          signature = "character",
          function(file){
            readRDS(file)
          }
)

Try the aRchi package in your browser

Any scripts or data that you put into this service are public.

aRchi documentation built on Sept. 3, 2022, 9:06 a.m.