Skip to content
This repository has been archived by the owner on May 29, 2021. It is now read-only.

tidylab/typing

Repository files navigation

typing

CRAN status R build status codecov

Features

Feature Example
Define types type.numeric <- typeCheck::type_define(check = is.numeric)
Declare types f <- function(x = ? numeric) identity(x)
Check types f <- typeCheck::type_check(f)

Installation

You can install the released version of typing from CRAN with:

install.packages("typing")

And the development version from GitHub with:

# install.packages("remotes")
remotes::install_github("tidylab/typing")