klmr / box

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

Attaching datasets with `box::use()` #294

Closed gnoblet closed 1 year ago

gnoblet commented 1 year ago

Please describe your feature request

Hello @klmr , Quick question: if I'm not mistaken, using box::use(pkg[...]) does not attach datasets; same thing with box::use(pkg[dataset1]). I wonder if this is a desired feature or if this is something that might be added?

klmr commented 1 year ago

Actually this already works in the development version. It’s only missing from the current CRAN version.

You can install the development version via

install.packages('box', repos = 'https://klmr.r-universe.dev')