Nothing
#' Simple constructor for S3 objects based on lists.
#'
#' Simple wrapper for \code{as.list} and \code{\link{setClasses}}.
#'
#' @param classes [\code{character}]\cr
#' Class(es) for constructed object.
#' @param ... [any]\cr
#' Key-value pairs for class members.
#' @return Object.
#' @export
#' @examples
#' makeS3Obj("car", speed = 100, color = "red")
makeS3Obj = function(classes, ...) {
assertCharacter(classes, min.len = 1L, any.missing = FALSE)
setClasses(list(...), classes = classes)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.