%<-%.test_r accepts additional arguments passed to
testthat::test_dir.format_r() and single files. (#625)auto_test_r for automated rerunning R unit test
after changing R files.devmode for running JS build, Sass build, R unit
tests and the application in dev mode.box.lsp package in
.Rprofile before applying the languageserver
options.See How-to: Rhino 1.10 Migration Guide
box.lsp for auto-complete support for
box modules in VS Code.box.linters styling functions to style
box::use() calls according to the Rhino style guide.treesitter and
treesitter.r dependenciesSee How-to: Rhino 1.9 Migration Guide
sass: custom configuration option for cleaner
integration with bslib.format_js() and format_sass()
powered by prettier.
lint_js() and
lint_sass() report styling errors. They might
complain about formatting done with format_js() and
format_sass() functions; however, we haven’t spotted any
issues so far. If you face any problems with this, then please raise an
issue on GitHubSee How-to: Rhino 1.8 Migration Guide
box.linters. New rhino
projects will be configured to use linters from
box.linters.See How-to: Rhino 1.7 Migration Guide
box::use statements:
box_universal_import_linter checks if all imports are
explicit.box_trailing_commas_linter checks if statements include
trailing commas.box_func_import_count_linter checks if the number of
function imports does not exceed the limit.box_separate_calls_linter checks if packages and
modules are imported in separate statements.rhino::app():
request parameter is now correctly forwarded to the
UI function when using a legacy_entrypoint (#395).shiny.autoreload.See How-to: Rhino 1.6 Migration Guide
pkg_install supports installation from local sources,
GitHub, and Bioconductor.test_e2e() now uses cypress 13.6build_js() now uses webpack 5.89build_sass() now uses sass 1.69lint_js() now uses eslint 8.56lint_sass() now uses stylelint 14.16 (the
last major version supporting stylistic rules)RHINO_NPM environment variable to allow using
npm alternatives like bun and
pnpm.format_r no longer adds spaces in box
imports.build_sass minifies the CSS file also if using R
sass package.pkg_install() and pkg_remove()
functions to simplify dependency management in Rhino.registerReactComponents(), R function
react_component()).test_r() now clears the environment of loaded box
modules before tests are run. This removes the need for
box::reload() calls in tests.shinymanager.shinytest2 out of the box.build_js() and build_sass() functions
now work with watch = TRUE.lint_js() function now works when imports are used
in JavaScript.build_js() and build_sass() CI.r-lib/actions/setup-r@v2.lint_r() now accepts a paths argument
which can be used to run it on specific files.init() function will refuse to run in the home
directory unless force = TRUE is passed.legacy_entrypoint: source (the UI function no longer needs
to take an argument).lintr >= 3.0.0 and updated linter
rules.Minor release to fix CRAN check failures (upgrade roxygen2 to 7.2.1 and regenerate documentation).
rhino::lint_sass() (#289).First stable version.