assertive.code: Assertions to Check Properties of Code

Share:

A set of predicates and assertions for checking the properties of code. This is mainly for use by other package developers who want to include run-time testing features in their own packages. End-users will usually want to use assertive directly.

Author
Richard Cotton [aut, cre]
Date of publication
2015-10-06 15:56:39
Maintainer
Richard Cotton <richierocks@gmail.com>
License
GPL (>= 3)
Version
0.0-1
URLs

View on CRAN

Man pages

has_arg
Does the current call have an argument?
is_binding_locked
Is the binding of a variable locked?
is_debugged
Is the input function being debugged?
is_error_free
Does the code run without throwing an error?
is_existing
Does the variable exist?
is_if_condition
Is suitable to be used as an if condition
is_loaded
Is the input a symbol in a loaded DLL?
is_valid_r_code
Is the input valid R code?
is_valid_variable_name
Is the string a valid variable name?

Files in this package

assertive.code
assertive.code/po
assertive.code/po/R-assertive.code.pot
assertive.code/tests
assertive.code/tests/testthat.R
assertive.code/tests/testthat
assertive.code/tests/testthat/test-is-valid-variable-name.R
assertive.code/tests/testthat/test-is-code.R
assertive.code/NAMESPACE
assertive.code/NEWS
assertive.code/R
assertive.code/R/assert-is-code.R
assertive.code/R/is-code.R
assertive.code/R/imports.R
assertive.code/README.md
assertive.code/MD5
assertive.code/DESCRIPTION
assertive.code/man
assertive.code/man/is_debugged.Rd
assertive.code/man/is_if_condition.Rd
assertive.code/man/is_binding_locked.Rd
assertive.code/man/is_loaded.Rd
assertive.code/man/has_arg.Rd
assertive.code/man/is_existing.Rd
assertive.code/man/is_valid_variable_name.Rd
assertive.code/man/is_valid_r_code.Rd
assertive.code/man/is_error_free.Rd