R/app.R

Defines functions app_test app_read_csv

Documented in app_read_csv app_test

## files that need to be available as part of the package for OpenCPU
app_read_csv <- function(...) read.csv(...)

app_test <- function(...) {
    l <- list(...)
    for (i in seq_along(l))
        l[[i]] <- paste0(names(l)[i], ": ", l[[i]])
    rval <- paste(l, collapse="\n\n")
    .send_email(list(...)$address, mimepart=rval)
    rval
}
ABbiodiversity/cure4insect documentation built on Oct. 11, 2022, 9:09 p.m.