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:
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')) |
Bug tracker:https://github.com/moodymudskipper/typed/issues
Last updated 10 days agofrom:106e33f139. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Oct 27 2024 |
R-4.5-win | OK | Oct 27 2024 |
R-4.5-linux | OK | Oct 27 2024 |
R-4.4-win | OK | Oct 27 2024 |
R-4.4-mac | OK | Oct 27 2024 |
R-4.3-win | OK | Oct 27 2024 |
R-4.3-mac | OK | Oct 27 2024 |
Exports:?AnyArrayas_assertion_factoryBuiltinCharactercheck_argcheck_outputClosureData.frameDatedeclareDotsDoubleEnvironmentExpressionFactorFunctionIntegerLanguageListLogicalMatrixNullPairlistprocess_assertion_factory_dotsRawSpecialSymbolTime
Dependencies:clicrayondiffobjfansigluelifecyclemagrittrpillarpkgconfigrematch2rlangtibbleutf8vctrswaldo
Readme and manuals
Help Manual
Help page | Topics |
---|---|
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 type | as_assertion_factory |
Check Argument Types and Return Type | check_arg check_output |
Process assertion factory dots | process_assertion_factory_dots |