Nothing
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.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.