Appsilon / rhino

Build high quality, enterprise-grade Shiny apps at speed
https://appsilon.github.io/rhino
287 stars 24 forks source link

Box function import count #536

Closed radbasa closed 7 months ago

radbasa commented 8 months ago

Set a limit to max number of function imports.

Examples:

box::use(
  dplyr[select, mutate, assign, distinct, filter, slice, pull, ],
  stringr[str_sub, str_match, ],
)

has 7 function imports for dplyr and 2 function imports for stringr. If max is set to 5, the dplyr package import will be marked as lint.