Function extendr_api::functions::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());
}