Software
sass

sass

Sass compiler package for R

C++

The sass R package provides bindings to LibSass, a fast Sass compiler written in C++, allowing developers to compile Sass into CSS directly from R. It serves as a bridge between R and the Sass CSS extension language, making it possible to programmatically generate stylesheets for R-based web applications and documents.

This package makes styling modern websites less complex and more composable by bringing Sass’s mature features to the R ecosystem. It accepts flexible input formats including R strings, named lists for defining Sass variables, and various Sass-specific file types, which can be nested and combined. The package is particularly valuable for R developers building web applications or generating styled HTML documents who want to leverage Sass’s powerful features like variables, nesting, and mixins without leaving the R environment.

Contributors