assertive.base: A Lightweight Core of the 'assertive' Package

Share:

A minimal set of predicates and assertions used by the assertive package. 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], Sunkyu Choi [trl], Ivanka Skakun [trl], Gergely Dar<c3><b3>czi [trl], Anton Antonov [trl], Hisham Ben Hamidane [trl], Anja Billing [trl], Aditya Bhagwat [trl], Rasmus B<c3><a5><c3><a5>th [trl], Mine Cetinkaya-Rundel [trl], Aspasia Chatziefthymiou [trl]
Date of publication
2016-05-08 17:26:30
Maintainer
Richard Cotton <richierocks@gmail.com>
License
GPL (>= 3)
Version
0.0-6
URLs

View on CRAN

Man pages

are_identical
Are the inputs identical?
assert_engine
Throws an error if a condition isn't met
assertionError
Condition classes
bapply
Wrapper to vapply that returns booleans
call_and_name
Call a function, and give the result names.
cause
Get or set the '"cause"' attribute
coerce_to
Coerce variable to a different class
dont_stop
Run code without stopping
false
FALSE, with a cause of failure.
get_name_in_parent
Get the name of a variable in the parent frame
is2
Alternative version of is
merge_dots_with_list
Merge ellipsis args with a list.
merge.list
Merge two lists
na
NA, with a cause of failure.
parenthesize
Wrap a string in brackets
print.vector_with_cause
Print methods for objects with a cause attribute
set_cause
Set a cause and return the input
strip_attributes
Strip all attributes from a variable
Truth
Is the input TRUE/FALSE/NA?
type_description
Describe the type of object
use_first
Only use the first element of a vector

Files in this package

assertive.base
assertive.base/po
assertive.base/po/R-ua.po
assertive.base/po/R-fr.po
assertive.base/po/R-kr.po
assertive.base/po/R-uk.po
assertive.base/po/R-el.po
assertive.base/po/R-hu.po
assertive.base/po/R-de.po
assertive.base/po/R-assertive.base.pot
assertive.base/po/R-tr.po
assertive.base/po/R-sv.po
assertive.base/po/R-ko.po
assertive.base/po/R-ru.po
assertive.base/po/R-nl.po
assertive.base/inst
assertive.base/inst/po
assertive.base/inst/po/nl
assertive.base/inst/po/nl/LC_MESSAGES
assertive.base/inst/po/nl/LC_MESSAGES/R-assertive.base.mo
assertive.base/inst/po/ko
assertive.base/inst/po/ko/LC_MESSAGES
assertive.base/inst/po/ko/LC_MESSAGES/R-assertive.base.mo
assertive.base/inst/po/sv
assertive.base/inst/po/sv/LC_MESSAGES
assertive.base/inst/po/sv/LC_MESSAGES/R-assertive.base.mo
assertive.base/inst/po/el
assertive.base/inst/po/el/LC_MESSAGES
assertive.base/inst/po/el/LC_MESSAGES/R-assertive.base.mo
assertive.base/inst/po/ua
assertive.base/inst/po/ua/LC_MESSAGES
assertive.base/inst/po/ua/LC_MESSAGES/R-assertive.base.mo
assertive.base/inst/po/tr
assertive.base/inst/po/tr/LC_MESSAGES
assertive.base/inst/po/tr/LC_MESSAGES/R-assertive.base.mo
assertive.base/inst/po/fr
assertive.base/inst/po/fr/LC_MESSAGES
assertive.base/inst/po/fr/LC_MESSAGES/R-assertive.base.mo
assertive.base/inst/po/hu
assertive.base/inst/po/hu/LC_MESSAGES
assertive.base/inst/po/hu/LC_MESSAGES/R-assertive.base.mo
assertive.base/inst/po/de
assertive.base/inst/po/de/LC_MESSAGES
assertive.base/inst/po/de/LC_MESSAGES/R-assertive.base.mo
assertive.base/inst/po/kr
assertive.base/inst/po/kr/LC_MESSAGES
assertive.base/inst/po/kr/LC_MESSAGES/R-assertive.base.mo
assertive.base/inst/po/ru
assertive.base/inst/po/ru/LC_MESSAGES
assertive.base/inst/po/ru/LC_MESSAGES/R-assertive.base.mo
assertive.base/inst/po/uk
assertive.base/inst/po/uk/LC_MESSAGES
assertive.base/inst/po/uk/LC_MESSAGES/R-assertive.base.mo
assertive.base/tests
assertive.base/tests/testthat.R
assertive.base/tests/testthat
assertive.base/tests/testthat/test-internal.R
assertive.base/tests/testthat/test-utils.R
assertive.base/tests/testthat/test-is-identical-to-true-false-na.R
assertive.base/tests/testthat/test-are-identical.R
assertive.base/tests/testthat/test-is-true-false-na.R
assertive.base/NAMESPACE
assertive.base/NEWS
assertive.base/R
assertive.base/R/utils.R
assertive.base/R/is-true-false-na.R
assertive.base/R/cause.R
assertive.base/R/internal.R
assertive.base/R/is-identical-to-true-false-na.R
assertive.base/R/assert-are-identical.R
assertive.base/R/coercion.R
assertive.base/R/assert-identical-to-true-false-na.R
assertive.base/R/conditions.R
assertive.base/R/are-identical.R
assertive.base/R/assert-is-true-false-na.R
assertive.base/R/engine.R
assertive.base/R/zzz.R
assertive.base/README.md
assertive.base/MD5
assertive.base/DESCRIPTION
assertive.base/man
assertive.base/man/are_identical.Rd
assertive.base/man/print.vector_with_cause.Rd
assertive.base/man/Truth.Rd
assertive.base/man/na.Rd
assertive.base/man/use_first.Rd
assertive.base/man/is2.Rd
assertive.base/man/get_name_in_parent.Rd
assertive.base/man/assert_engine.Rd
assertive.base/man/merge_dots_with_list.Rd
assertive.base/man/call_and_name.Rd
assertive.base/man/set_cause.Rd
assertive.base/man/type_description.Rd
assertive.base/man/parenthesize.Rd
assertive.base/man/bapply.Rd
assertive.base/man/assertionError.Rd
assertive.base/man/false.Rd
assertive.base/man/cause.Rd
assertive.base/man/coerce_to.Rd
assertive.base/man/dont_stop.Rd
assertive.base/man/strip_attributes.Rd
assertive.base/man/merge.list.Rd