CRAN
assertive 0.3-5
Readable Check Functions to Ensure Code Integrity
Released Dec 31, 2016 by Richard Cotton
Dependencies
assertive.models 0.0-1 assertive.properties 0.0-4 assertive.data.us 0.0-1 assertive.strings 0.0-3 assertive.code 0.0-1 assertive.files 0.0-2 assertive.data.uk 0.0-1 assertive.datetimes 0.0-2 assertive.numbers 0.0-2 assertive.types 0.0-3 assertive.matrices 0.0-1 assertive.sets 0.0-3 assertive.reflection 0.0-4 assertive.data 0.0-1 knitr 1.20 assertive.base 0.0-7
Lots of predicates (is_* functions) to check the state of your variables, and assertions (assert_* functions) to throw errors if they aren't in the right form.
Installation
Maven
This package can be included as a dependency from a Java or Scala project by including
the following your project's pom.xml
file.
Read more
about embedding Renjin in JVM-based projects.
<dependencies> <dependency> <groupId>org.renjin.cran</groupId> <artifactId>assertive</artifactId> <version>0.3-5-b24</version> </dependency> </dependencies> <repositories> <repository> <id>bedatadriven</id> <name>bedatadriven public repo</name> <url>https://nexus.bedatadriven.com/content/groups/public/</url> </repository> </repositories>
Renjin CLI
If you're using Renjin from the command line, you load this library by invoking:
library('org.renjin.cran:assertive')
Test Results
This package was last tested against Renjin 0.9.2687 on Aug 25, 2018.