Package: typed 0.0.1.9000

typed: Support Types for Variables, Arguments, and Return Values

A type system for R. It supports setting variable types in a script or the body of a function, so variables can't be assigned illegal values. Moreover it supports setting argument and return types for functions.

Authors:Antoine Fabri [aut, cre]

typed_0.0.1.9000.tar.gz
typed_0.0.1.9000.zip(r-4.5)typed_0.0.1.9000.zip(r-4.4)typed_0.0.1.9000.zip(r-4.3)
typed_0.0.1.9000.tgz(r-4.4-any)typed_0.0.1.9000.tgz(r-4.3-any)
typed_0.0.1.9000.tar.gz(r-4.5-noble)typed_0.0.1.9000.tar.gz(r-4.4-noble)
typed_0.0.1.9000.tgz(r-4.4-emscripten)typed_0.0.1.9000.tgz(r-4.3-emscripten)
typed.pdf |typed.html
typed/json (API)

# Install 'typed' in R:
install.packages('typed', repos = c('https://moodymudskipper.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/moodymudskipper/typed/issues

Pkgdown site:https://moodymudskipper.github.io

On CRAN:

8.70 score 167 stars 1 packages 18 scripts 310 downloads 31 exports 6 dependencies

Last updated 19 days agofrom:5dc3ec6370. Checks:7 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKJan 03 2025
R-4.5-winOKJan 03 2025
R-4.5-linuxOKJan 03 2025
R-4.4-winOKJan 03 2025
R-4.4-macOKJan 03 2025
R-4.3-winOKJan 03 2025
R-4.3-macOKJan 03 2025

Exports:?AnyArrayas_assertion_factoryBuiltinCharactercheck_argcheck_outputClosureData.frameDatedeclareDotsDoubleEnvironmentExpressionFactorFunctionIntegerLanguageListLogicalMatrixNullPairlistprocess_assertion_factory_dotsRawSpecialSymbolTimeuse_typed

Dependencies:clicrayondiffobjgluerlangwaldo

Using {typed} in packages

Rendered fromtyped-in-packages.Rmdusingknitr::rmarkdownon Jan 03 2025.

Last update: 2025-01-03
Started: 2025-01-03

Readme and manuals

Help Manual

Help pageTopics
Set Variable Types, Argument Types and Return Types.? declare
Build a new typeas_assertion_factory
Assertion factories of package 'typed'Any Array assertion_factories Builtin Character Closure Data.frame Date Dots Double Environment Expression Factor Function Integer Language List Logical Matrix Null Pairlist Raw Special Symbol Time
Check Argument Types and Return Typecheck_arg check_output
Process assertion factory dotsprocess_assertion_factory_dots
Use the 'typed' packageuse_typed