README.md

C++ R CRAN status Project Status: Active - The project has reached a stable, usable state and is being actively developed.

A R package with modified and recycled R functions for data exploration and other features.

Table of Contents

News

Future ideas

Installation

Install from CRAN

Copy/paste the following code to install R package from CRAN.

install.packages("smarter")

Install development version

Copy/paste the following code to install R package dependencies and smarter.

# Dependencies
req_packs = c("usethis","rmarkdown","Rcpp",
    "RcppArmadillo","devtools","BiocManager",
    "smarter")

for(pack in req_packs){

    chk_pack = tryCatch(find.package(pack),
        error = function(ee){NULL})

    if( !is.null(chk_pack) ){
        library(package = pack,character.only = TRUE)
        next
    }

    bb = NULL

    if( pack %in% "smarter" ){
        bb = tryCatch(install_github("pllittle/smarter",
            dependencies = TRUE),
            error = function(ee){"error"})
    } else {
        bb = tryCatch(install.packages(pkgs = pack,
            dependencies = TRUE),
            error = function(ee){"error"})
    }

    if( !is.null(bb) && bb == "error" )
        stop(sprintf("Error for package = %s",pack))

}



pllittle/smarter documentation built on Feb. 27, 2025, 1:06 a.m.