Check the {shiny} module UI functions for ns() omission
lint_ns.RdThis is a simple wrapper of lintr::lint_package() call using only the
module_namespace_linter() from {SIAtools}. See the
linter documentation for more details.
Usage
lint_ns(path = curr_proj(), ...)Arguments
- path
character, path to the package root directory. Default is the current project’s directory.
- ...
Arguments passed on to
lintr::lint_packageparse_settingsLogical, default
TRUE. Whether to try and parse the settings. Otherwise, thedefault_settings()are used.relative_pathif
TRUE, file paths are printed using their path relative to the base directory. IfFALSE, use the full absolute path.exclusionsexclusions for
exclude(), relative to the package path.show_progressLogical controlling whether to show linting progress with a simple text progress bar via
utils::txtProgressBar(). The default behavior is to show progress ininteractive()sessions not running a testthat suite.
See also
Other linter-related functions:
module_namespace_linter()