typehint {typehint}R Documentation

Package 'typehint'

Description

Automatically check the data type, number and size of dimensions, and values of function arguments with simple type hint comments in the function code.

Details

Type hints are special comments with a leading #| within a function body indicating the intended nature of the function's arguments in terms of data types, dimensions and even permitted values. The actual parameters with which the function is called can be evaluated against these type hint comments using the check_types() function.

Value

None.

Author

Joachim Zuckarelli, joachim@zuckarelli.de, @jsugarelli

See Also

Other typehint: check_types(), show_typehints()


[Package typehint version 0.1.2 Index]