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

Latest commit

 

History

History
44 lines (31 loc) · 1.44 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.44 KB

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")