R/RcppVersion.R

Defines functions RcppVersion

Documented in RcppVersion

RcppVersion <- function() {

    version <- installed.packages()["Rcpp","Version"]

    ## Print version of this package
    cat('\nRcpp package Version ', version, '\n')

    ## Print version of Rcpp/RcppTemplate used to build this package
    licenseFile <- system.file(".", "LICENSE-Rcpp.txt", package="Rcpp")
    con <- file(licenseFile, "r")
    writeLines(readLines(con)[1:4])
    close(con)
    invisible(NULL)
}

Try the mvabund package in your browser

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

mvabund documentation built on March 18, 2022, 7:25 p.m.