#' @title
#' Foo (generic)
#'
#' @description
#' Blabla.
#'
#' @param x \strong{Signature argument}.
#' Object containing expression information. Typically, a function or an
#' "curly expression/call".
setGeneric(
name = "foo",
signature = c(
"x"
),
def = function(
x,
...
) {
standardGeneric("foo")
}
)
#' @describeIn foo
#' @param x \code{\link{{}}}.
#' @return \code{\link{expression}}.
#' @export
setMethod(
f = "foo",
signature = signature(
x = "{"
),
definition = function(
x,
...
) {
print(x)
return(TRUE)
}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.