Transition your project to Rhino version 1.6 with this comprehensive guide. The latest version includes Node module updates to enhance your development workflow.
Choose one of the following methods to install Rhino 1.6:
renv
Install Rhino using renv and then take a snapshot of your project dependencies:
renv::install("rhino") renv::snapshot()
rhino::pkg_install
(for Rhino v1.4+)For newer versions of Rhino, you can use the built-in package installation function:
rhino::pkg_install("rhino")
After the installation, restart your R session to ensure all changes take effect.
.rhino
DirectoryLocate and remove the .rhino
directory from the root of your project. This directory contains configuration settings from the previous version of Rhino.
rm -rf .rhino
Invoke one of the following commands to run Node tools. This action will regenerate the .rhino
directory with a new configuration, including updated Node modules.
rhino::build_sass() rhino::lint_sass() rhino::build_js() rhino::lint_js()
If your project includes Cypress end-to-end tests, initiate the migration wizard with:
rhino::test_e2e(interactive = TRUE)
Follow the prompts in the migration wizard to update your end-to-end tests.
Conduct extensive testing to confirm that all components of your project function properly after the migration.
If you encounter any issues or have further questions after migrating to Rhino 1.6, please consult the GitHub discussions for Rhino for community and developer support.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.