klmr / box

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

Check `...` arguments in`box::file()` and `box::export()` #334

Closed klmr closed 10 months ago

klmr commented 11 months ago

There’s code out in the wild that uses box::file() incorrectly by passing mustWork = FALSE to it. We should catch and report this incorrect usage by checking that the arguments have the right type and are unnamed.