Open TymekDev opened 1 month ago
v0.10.5
box::use( app/main, shiny[shinyApp], ) shinyApp(main$ui, main$server)
code <- "box::use( app/main, shiny[shinyApp], ) shinyApp(main$ui, main$server)" lintr::lint( code, linters = lintr::linters_with_defaults(defaults = box.linters::rhino_default_linters) )
<text>:7:1: warning: [box_usage_linter] Function not imported nor defined. shinyApp(main$ui, main$server) ^~~~~~~~
I expected to not receive a lint as shinyApp is imported.
shinyApp
I'm surprised the box_separate_calls_linter did not throw lint.
box_separate_calls_linter
https://appsilon.github.io/box.linters/reference/box_separate_calls_linter.html
box.linters version
v0.10.5
Sample source code to lint
Lint command used
Lint result
Expected result
I expected to not receive a lint as
shinyApp
is imported.