extendr_api::functions

Function base_namespace

Source
pub fn base_namespace() -> Environment
Expand description

The namespace for base.

use extendr_api::prelude::*;
test! {
   assert_eq!(base_namespace().parent().ok_or("no parent")?, global_env());
}