knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

typed

typed is an experimental R library, which introduces typed variables in R.

Installation

You can install the released version of typed from from GitHub with:

# install.packages("devtools")
devtools::install_github("krzjoa/typed")

Example

library(typed)
x <- 10
x <- 2.5
print(x)
locked(z) <- 2
z <- 5


krzjoa/typed documentation built on Jan. 6, 2020, 12:46 a.m.