klmr / box

Write reusable, composable and modular R code
https://klmr.me/box/
MIT License
862 stars 48 forks source link

Move backports definitions to on_load() #347

Closed klmr closed 8 months ago

klmr commented 11 months ago

CRAN binary packages are build using a new version of R, so the backports end up not getting defined, and even older versions of R will attempt to install these binary packages (with a warning).

See comment by @mmaechler in https://github.com/lme4/lme4/issues/649#issuecomment-978061229