Learn R Programming

templr (version 0.2-0)

import: Dependencies loader, supports many protocols like github:, gitlab:, ... using remotes::instal_... Will create a local '.lib' directory to store packages installed

Description

Dependencies loader, supports many protocols like github:, gitlab:, ... using remotes::instal_... Will create a local '.lib' directory to store packages installed

Usage

import(..., lib.loc = NULL, trace = function(...) cat(paste0(..., "\n")))

Value

(list of) load status of packages (TRUE/FALSE)

Arguments

...

dependencies/libraries/packages to load

lib.loc

use to setup a dedicated libPath directory to install packages

trace

display info

Examples

Run this code
if(interactive()){
  import('VGAM')
}

Run the code above in your browser using DataLab