R/zzz.R

Defines functions .onLoad

# nocov start
.onLoad <- function(libname, pkgname) {
  if(getRversion() >= "3.6.0") {
    # register S3-methods from Suggested packages
    s3_register("igraph::as.igraph", "Node")
    s3_register("ape::as.phylo", "Node")
  }
  invisible()
}
# nocov end

Try the data.tree package in your browser

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

data.tree documentation built on Nov. 13, 2023, 1:08 a.m.