You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#' R6 Class Representing a Person#'#' @description#' A person has a name and a hair color.#'#' @details#' A person can also greet you.Person<-R6::R6Class("Person",
active=list(
#' @description#' Change hair color.#' @param val New hair color.#' @examples#' P <- Person("Ann", "black")#' P$hair#' P$set_hair("red")#' P$hairset_hair=function(val) {
val
},
#' @description#' Say hi.greet=function() {
cat("Hello")
}
),
cloneable=FALSE
)
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: