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

On CRAN:

7.57 score 165 stars 1 packages 18 scripts 487 downloads 30 exports 6 dependencies

Last updated 4 days agofrom:7e646a9ca6. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 17 2024
R-4.5-winOKNov 17 2024
R-4.5-linuxOKNov 17 2024
R-4.4-winOKNov 17 2024
R-4.4-macOKNov 17 2024
R-4.3-winOKNov 17 2024
R-4.3-macOKNov 17 2024

Exports:?AnyArrayas_assertion_factoryBuiltinCharactercheck_argcheck_outputClosureData.frameDatedeclareDotsDoubleEnvironmentExpressionFactorFunctionIntegerLanguageListLogicalMatrixNullPairlistprocess_assertion_factory_dotsRawSpecialSymbolTime

Dependencies:clicrayondiffobjgluerlangwaldo

Readme and manuals

Help Manual

Help pageTopics
Set Variable Types, Argument Types and Return Types.? declare
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
Build a new typeas_assertion_factory
Check Argument Types and Return Typecheck_arg check_output
Process assertion factory dotsprocess_assertion_factory_dots