The sass R package provides bindings to LibSass, a fast Sass compiler written in C++. Sass is a mature and stable CSS extension language that makes styling modern websites less complex and more composible.


Install the released version of sass from CRAN:

Install the latest development build from GitHub:

Basic usage

To compile Sass into CSS, provide Sass to the input argument of the sass() function. input can be any of the following:

Learn more

Visit sass’s overview vignette as well as the official Sass documentation.

Ask a question

If you have a question about sass, try asking one on

RStudio Ask a question: sass