tests/testthat/pkg2/R/pkg.R

#' @importFrom argufy argufy_me
NULL

argufy::argufy_me()

#' Print a graph
#' @param graph \assert{is.graph(.)} The input graph.
#' @export

foobar.graph <- function(graph) {
  cat("coocoo!\n")
}

#' @export

is.graph <- function(graph) {
  FALSE
}

#' @export

foobar <- function(graph)
  UseMethod("foobar")
gaborcsardi/argufy documentation built on May 16, 2019, 4:07 p.m.