klmr / klmr/box

Hook into `?` when loading

Open
#141 1 comment 2 reactions 1 assignee Claimed by @klmr View on GitHub
⚙️ enhancement
Dominant language
R
Stars
979
Forks
49
PR merge metrics
No merged PRs in 30d

Description

Going forward, this package is intended to be used without being attached. It therefore can’t simply shadow the definition of `base::?` by exporting it.

Instead, consider providing an appropriate `.onLoad` hook that attaches a shim environment, similar to `devtools::load_all`.

In addition, this should hook into {pkgload}’s `onLoad` and somehow patch `pkgload::insert_global_shims`, if possible without violating CRAN guidelines (note: we also need to do this for old versions of {devtools}).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.