Skip to main content

pre_eval_library

Function pre_eval_library 

Source
fn pre_eval_library(
    args: &[Arg],
    env: &Environment,
    context: &BuiltinContext<'_>,
) -> Result<RValue, RError>
Expand description

Load and attach a package by name.

Accepts both quoted and unquoted package names: library(“dplyr”) # quoted string library(dplyr) # bare symbol (NSE)

@param package name of the package to load @return character string with the package name (invisibly)