Replace `methods::as` usage
Open
enhancement
- Dominant language
- R
- Stars
- 13
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
`methods::as` loads the ‹methods› package (gasp!) which, according to the documentation,
> takes about 60% of the startup time.
As it’s used here simply to coerce between basic types, we can simply use `match.fun(paste('as', class, sep = '.'))` instead.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.