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

[This article was first published on Tag: r - Appsilon | Enterprise R Shiny Dashboards, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Rhino R Package Tutorial from Appsilon blog banner

Rhino 1.5 Release

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.

Addins – Integrating Essential Tasks With Ease

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.

Create a New Rhino Module

how to create a new rhino module addin

 

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.

Format R Code

format r code for rhino addin

Ensure consistent and readable R code with the click of a button. The format R code addin utilizes the {styler} package to automatically format your R script files, enhancing code clarity and maintainability.

Run R Tests

run r test in rstudio for rhino project addin

Easily validate your code’s functionality with the run R tests addin. This feature utilizes the {testhat} package to execute all unit tests in the tests/testthat directory, helping you maintain the reliability of your functions and components.

Build JavaScript

how to build javascript with rhino addin

Simplify the process of building JavaScript files with the build JavaScript addin. You can choose to watch for changes, automating the build process whenever you save a JavaScript file.

Build Sass Styles

how to build sass with rhino addin

Effortlessly build Sass styles using either Dart Sass or the {sass} R package. Like the build JavaScript addin, the build Sass addin you can also choose to watch for changes, ensuring your stylesheets are always up-to-date.

Lint JavaScript

lint javascript with rhino addin

Identify and fix issues in your JavaScript sources with the ESLInt JavaScript addin. You can choose to fix problems automatically, enhancing the quality of your code.

Lint Sass Styles

how to lint sass styles with rhino addin

The lint Sass styles addin runs Stylelint on your Sass sources, helping you maintain consistent and error-free stylesheets. You can also choose to fix issues automatically.

Run End-to-End Tests

how to run end-to-end cypress tests in rstudio with rhino addin

Execute Cypress End-to-End tests for your application with the Run Cypress end-to-end tests 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.

How to Get Rhino 1.5?

To begin a new project with Rhino 1.5, simply run install.packages("rhino") to install the latest version from CRAN. If you already have an existing Rhino project, you can update it by following these steps:

  1. Run renv::update("rhino") to update the Rhino package.
  2. Run renv::snapshot() to update the lockfile.

If you’re currently using Rhino 1.4, you can easily upgrade to version 1.5 by using the pkg_install function. Simply run the following code:

rhino::pkg_install("rhino")

The post appeared first on appsilon.com/blog/.

To leave a comment for the author, please follow the link and comment on their blog: Tag: r - Appsilon | Enterprise R Shiny Dashboards.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)