R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname = find.package("bigmelon"), pkgname="bigmelon"){
    options(runLast = TRUE)
    .GlobalEnv$.Last <- function(x = ls(.GlobalEnv)){
        for(i in x){
            if(inherits(get(i), "gds.class")){
            a <- try(closefn.gds(get(i)), silent = TRUE)
            }
        }
    }
}

Try the bigmelon package in your browser

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

bigmelon documentation built on Nov. 8, 2020, 7:40 p.m.