fn interp_require_namespace(
args: &[RValue],
named: &[(String, RValue)],
context: &BuiltinContext<'_>,
) -> Result<RValue, RError>Expand description
Check if a namespace can be loaded, returning TRUE/FALSE.
Like loadNamespace(), but returns TRUE/FALSE instead of raising an error. Useful for conditional logic that depends on package availability.
@param package character scalar: the package name @param quietly logical: suppress messages? (default TRUE) @return logical: TRUE if the namespace could be loaded