Skip to contents

The goal of tiltRequirements is to help you install and use R packages from tilt. It provides basic documentation and software to prove the following:

Installation

You can install the latest release from r-universe with:

install.packages("tiltRequirements", repos = c("https://2degreesinvesting.r-universe.dev", getOption("repos")))

Or the development version from GitHub with:

# install.packages("pak")
pak::pak("2DegreesInvesting/tiltRequirements")

If you install from GitHub you may need to prepare your system to build packages from source (if on Windows see “Install Rtools”).

Having trouble? Try it on a fresh new project on https://posit.cloud/ (free).

Example

library(tiltRequirements)

hello()
#> hello world

hello("tilt")
#> hello tilt

# Errors
hello("invalid")
#> Error in match.arg(who): 'arg' should be one of "world", "tilt"

You can also achieve the same with an interactive app online.

Get started.