Rhino 1.5.0 Update on CRAN: Streamlining Your R Development Workflow with New Addins

Estimated time:

<h1>Rhino 1.5 Release</h1>
We are pleased to announce that Rhino 1.5 is now available on CRAN! This update brings a range of new features and enhancements that aim to make your R development workflow even more efficient. With Rhino's new addins, you can seamlessly integrate essential tasks into your work and enjoy a more streamlined coding experience.

Let's dive into what Rhino 1.5 has to offer.
<h2>Addins - Integrating Essential Tasks With Ease</h2>
Rhino's latest release introduces a set of powerful addins that empower you to seamlessly integrate essential tasks into your R development process. These addins provide quick access to crucial functionalities and allow you to perform tasks in the background, without interrupting your coding flow. 

Whether you're formatting code, running tests, or building JavaScript and Sass styles, Rhino's addins add efficiency with one click.
<h3>Create a New Rhino Module</h3>
<img class="aligncenter size-full wp-image-20700" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01ab32582ef35c349d856_create-new-rhino-module-addin.webp" alt="how to create a new rhino module addin" width="1568" height="754" />


Jumpstart your module development by creating a new R script document with a pre-populated Rhino module template. This feature significantly accelerates your module creation process, enabling you to focus on your code right away.
<h3>Format R Code</h3>
<img class="aligncenter size-full wp-image-20694" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01ab5a90ae0367bebf913_format-r-code-for-rhino-addin.webp" alt="format r code for rhino addin" width="987" height="778" />

Ensure consistent and readable R code with the click of a button. The <code>format R code</code> addin utilizes the <code>{styler}</code> package to automatically format your R script files, enhancing code clarity and maintainability.
<h3>Run R Tests</h3>
<img class="aligncenter size-full wp-image-20696" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01ab53a154c0fa971e4ed_run-r-test-in-rstudio-for-rhino-project-addin.webp" alt="run r test in rstudio for rhino project addin" width="987" height="932" />

Easily validate your code's functionality with the <code>run R</code> tests addin. This feature utilizes the <code>{testhat}</code> package to execute all unit tests in the <code>tests/testthat</code> directory, helping you maintain the reliability of your functions and components.
<h3>Build JavaScript</h3>
<img class="aligncenter size-full wp-image-20692" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01ab6ee976c4ea98e7407_build-javascript-with-rhino-addin.webp" alt="how to build javascript with rhino addin" width="986" height="917" />

Simplify the process of building JavaScript files with the <code>build JavaScript</code>  addin. You can choose to watch for changes, automating the build process whenever you save a JavaScript file.
<h3>Build Sass Styles</h3>
<img class="aligncenter size-full wp-image-20702" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01ab881e2982979dfb98e_build-sass-with-rhino-addin.webp" alt="how to build sass with rhino addin" width="986" height="806" />

Effortlessly build Sass styles using either Dart Sass or the <code>{sass}</code> R package. Like the build <code>JavaScript addin</code>, the <code>build Sass</code> addin you can also choose to watch for changes, ensuring your stylesheets are always up-to-date.
<h3>Lint JavaScript</h3>
<img class="aligncenter size-full wp-image-20704" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01ab9ee976c4ea98e7617_lint-javascript-with-rhino-addin.webp" alt="lint javascript with rhino addin" width="987" height="718" />

Identify and fix issues in your JavaScript sources with the <code>ESLInt JavaScript addin</code>. You can choose to fix problems automatically, enhancing the quality of your code.
<h3>Lint Sass Styles</h3>
<img class="aligncenter size-full wp-image-20706" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01abbfa26a4961d77fed2_lint-sass-styles-with-rhino-addin.webp" alt="how to lint sass styles with rhino addin" width="985" height="690" />

The <code>lint Sass styles</code> addin runs <code>Stylelint</code> on your Sass sources, helping you maintain consistent and error-free stylesheets. You can also choose to fix issues automatically.
<h3>Run End-to-End Tests</h3>
<img class="aligncenter size-full wp-image-20708" src="https://webflow-prod-assets.s3.amazonaws.com/6525256482c9e9a06c7a9d3c%2F65b01abb5da84c58ee278bad_run-end-to-end-tests-with-rhino-addin.webp" alt="how to run end-to-end cypress tests in rstudio with rhino addin" width="986" height="917" />

Execute Cypress End-to-End tests for your application with the <code>Run Cypress end-to-end tests</code> addin. You can choose between interactive and non-interactive modes to validate your application's behavior.

With Rhino's addins, you can seamlessly enhance your development workflow within RStudio, performing essential tasks without disrupting your coding rhythm.
<h2>How to Get Rhino 1.5?</h2>
To begin a new project with Rhino 1.5, simply run <code>install.packages("rhino")</code> to install the latest version from CRAN. If you already have an existing Rhino project, you can update it by following these steps:
<ol><li style="font-weight: 400;" aria-level="1">Run <code>renv::update("rhino")</code> to update the Rhino package.</li><li style="font-weight: 400;" aria-level="1">Run renv::snapshot() to update the lockfile.</li></ol>
If you're currently using Rhino 1.4, you can easily upgrade to version 1.5 by using the <code>pkg_install</code> function. Simply run the following code:


Contact us!
Damian's Avatar
Damian Rodziewicz
Head of Sales
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.