tests/testthat/testS3removed/R/S3.r

#' @export
as.character.pkgload_foobar <- function(x, ...) {
  "registered"
}

#' @export
my_generic <- function(x) {
  UseMethod("my_generic")
}
#' @export
my_generic.pkgload_foobar <- function(x) {
  "registered"
}

Try the pkgload package in your browser

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

pkgload documentation built on June 28, 2024, 5:07 p.m.