R/basepkgs.R

basepkgs <- local({
  cache = NULL;
  function(){
    if(is.null(cache)){
      cache <<- list.files(dirname(system.file(package="base")));
    }
    return(cache);
  }
});
jeroenooms/apps documentation built on May 17, 2017, 6:17 p.m.