Skip to main content

interp_load_namespace

Function interp_load_namespace 

Source
fn interp_load_namespace(
    args: &[RValue],
    _named: &[(String, RValue)],
    context: &BuiltinContext<'_>,
) -> Result<RValue, RError>
Expand description

Load a package namespace without attaching it to the search path.

Creates the namespace environment, sources all R files, and registers exports, but does not add the package to the search path. This is the mechanism underlying library() and :: resolution.

@param package character scalar: the package name @return the namespace environment