Learn R Programming

box.linters (version 0.10.6)

Linters for 'box' Modules

Description

Static code analysis of 'box' modules. The package enhances code quality by providing linters that check for common issues, enforce best practices, and ensure consistent coding standards.

Copy Link

Version

Install

install.packages('box.linters')

Monthly Downloads

1,269

Version

0.10.6

License

LGPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Rodrigo Basa

Last Published

June 26th, 2025

Functions in box.linters (0.10.6)

box_unused_att_pkg_fun_linter

box library unused attached package function linter
make_r6_components_xpath

XPath to get internal components of an R6 class
use_box_lintr

Use lintr with box.linters in your project
is_treesitter_installed

Check if treesitter and dependencies are installed
namespaced_function_calls

Check that namespace::function() calls except for box::*() are not made.
style_box_use_dir

Style the box::use() calls for a directory
make_r6_internal_calls_xpath

XPath to get internal function or data object calls inside an R6 class
style_box_use_file

Style the box::use() calls of a source code
get_box_module_exports

Get a list of functions and data objects exported by a local box module
get_packages_exports

Get functions exported by packages
get_objects_in_strings

Get objects used in glue string templates
get_declared_functions

Get locally declared/defined functions
check_attached_pkg_funs

Check if functions being attached exist and are being exported by the library/package
get_attached_modules

Get all modules imported whole
extract_xml_and_text

Extracts XML nodes and text strings matched by XML search
rhino_default_linters

Rhino default linters
get_attached_packages

Get all packages imported whole
r6_usage_linter

R6 class usage linter
get_special_calls

Get specials called in current source file
get_r6_components

Get declared/defined R6 class components
get_declared_objects

Get locally declared/defined data objects
get_attached_mod_functions

Get imported functions from modules
get_attached_mod_three_dots

Get all functions exported from modules by ...
unused_declared_object_linter

Unused declared function and data objects linter
style_box_use_text

Style the box::use() calls of source code text
get_object_calls

Get objects called in current source file.
get_destructure_objects

Get the output object names of the destructure (rhino::%<-%) assignment operator.
get_module_exports

Get functions exported by modules
box_alphabetical_calls_linter

box library alphabetical module and function imports linter
box_package_base_path

Find box::use calls for R libraries/packages
box_default_linters

Box-compatible default linters
box_universal_import_linter

box library universal import linter
box_pkg_fun_exists_linter

box library attached function exists and exported by package linter
box_trailing_commas_linter

box library trailing commas linter
box_func_import_count_linter

box library function import count linter
box_separate_calls_linter

box library separate packages and module imports linter
box_mod_fun_exists_linter

box library attached function exists and exported by called module linter
box_usage_linter

box library-aware object usage linter
box_unused_att_mod_obj_linter

box library unused attached module object linter
get_attached_pkg_functions

Get imported functions from packages
check_attached_mod_funs

Check if functions being attached exist and are being exported by the local module
box_module_base_path

Find box::use calls for local modules
get_attached_pkg_three_dots

Get all functions exported from packages by ...
box_unused_attached_mod_linter

box library unused attached module linter
get_function_signature_objs

Get objects names in function signatures from all functions in current source file
get_function_calls

Get functions called in current source file
box_unused_attached_pkg_linter

box library unused attached package linter