Open
Description
{rlang}
is used just a couple of times in 3 cases
rlang::is_empty
-> substitute withlength(x) == 0
rlang::set_names
-> substitute withstats::setNames
.- Documentation of rlang::set_names
states: This is equivalent to
stats::setNames()`, with more features and stricter argument checking.
- Documentation of rlang::set_names
rlang::parse_expr
-> substitute withbase::parse
.- Documentation of
rlang::parse_expr
states they are barely the same and the only difference is that:parser_expr
, unlikebase::parse
, never retain source reference information, as doing so is slow and rarely necessary. We can substitute withparser(keep.source = FALSE)
.
- Documentation of
Consider if we can substitute those with equivalents from {base}
package.
Part of #194