extendr_api::functions

Function current_env

Source
pub fn current_env() -> Environment
Expand description

The current interpreter environment.

use extendr_api::prelude::*;
test! {
   assert_eq!(current_env(), base_env());
}