tidylab / typing

Runtime Support for Types in R

Home Page:https://tidylab.github.io/typing/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Runtime Support for Types in R

https://tidylab.github.io/typing/

License:Other


Languages

Language:R 83.8%Language:Dockerfile 8.8%Language:TeX 7.4%