Function extendr_api::functions::find_namespace
source ยท pub fn find_namespace<K: Into<Robj>>(key: K) -> Result<Environment>
Expand description
Find a namespace by name.
See also Robj::double_colon
.
use extendr_api::prelude::*;
test! {
assert_eq!(find_namespace("base").is_ok(), true);
assert_eq!(find_namespace("stats").is_ok(), true);
}