pub fn global_env() -> Environment👎Deprecated since 0.10.0:
Use Environment::global() instead
Expand description
The “global” environment
use extendr_api::prelude::*;
test! {
Environment::global().set_local(sym!(x), "hello");
assert_eq!(Environment::global().local(sym!(x)), Ok(r!("hello")));
}