Follow the steps outlined in this guide to migrate your project to Rhino 1.10. Before starting, ensure your Git working tree is clean, or back up your project if not using Git.
This guide assumes you are migrating from Rhino 1.9. If you are currently using an older version of Rhino, please review the older migration guides first:
Use the following command to install Rhino 1.10 and update your renv.lock
file:
rhino::pkg_install("rhino@1.10.0")
After the installation, restart your R session to ensure all changes take effect.
Update your .Rprofile
with languageserver
parsers for box::use
, by running:
box.lsp::use_box_lsp()
Restart your R session so changes can take effect
Follow "How-to: Auto-complete in VSCode" guide to enable auto-complete in VSCode or Vim.
treesitter
and treesitter.r
To enable automated styling of box::use
statements and box.linters::namespace_function_calls()
linter,
install treesitter
and treesitter.r
:
rhino::pkg_install(c("treesitter", "treesitter.r"))
Test your project thoroughly to ensure everything works properly after the migration. If you encounter any issues or have further questions, don't hesitate to reach out to us via GitHub Discussions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.