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.50 score 163 stars 1 packages 18 scripts 390 downloads 30 exports 15 dependencies

Last updated 10 days agofrom:106e33f139. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 27 2024
R-4.5-winOKOct 27 2024
R-4.5-linuxOKOct 27 2024
R-4.4-winOKOct 27 2024
R-4.4-macOKOct 27 2024
R-4.3-winOKOct 27 2024
R-4.3-macOKOct 27 2024

Exports:?AnyArrayas_assertion_factoryBuiltinCharactercheck_argcheck_outputClosureData.frameDatedeclareDotsDoubleEnvironmentExpressionFactorFunctionIntegerLanguageListLogicalMatrixNullPairlistprocess_assertion_factory_dotsRawSpecialSymbolTime

Dependencies:clicrayondiffobjfansigluelifecyclemagrittrpillarpkgconfigrematch2rlangtibbleutf8vctrswaldo

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