r-lib / devtools

Tools to make an R developer's life easier
https://devtools.r-lib.org
Other
2.37k stars 755 forks source link

`load_all()` documentation refers to `is_loading()` #2556

Open mikmart opened 5 months ago

mikmart commented 5 months ago

It was quite confusing until I figured out that this section in ?load_all refers to pkgload::load_all():

is_loading() returns TRUE when it is called while load_all() is running. This may be useful e.g. in onLoad hooks.

Perhaps this could be fixed by re-exporting is_loading() or updating the (inherited) docs in pkgload to use the namespaced name?