Auto-Check Types, Dimensions, and Values of Function Arguments
Overview
Type hints are special comments within a function body indicating the intended nature of the function's arguments in terms of data types, dimensions and permitted values. The actual parameters with which the function is called are evaluated against these type hint comments at run-time.
Minor changes
- Shortened package title and elaborated on return values in the documentation in order to pass CRAN review.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 3
- Examples that run
- 100%2 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
Stars over time
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/jsugarelli/typehint on 2026-10-18.
Dependencies
Installing typehint adds 14 packages (10 with compiled code, 22 MB of source tarballs). Heaviest: stringi 11 MB, data.table 5.7 MB, jsonlite 1.0 MB.
Code & Tests
People & History
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.1.2Latest2021-08-10 · current release
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2021-08-10
- Total releases
- 1 / 5 yrs
- License
- GPL-3 OSI
- Download size
- 42 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("typehint")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.