CRAN
assertthat 0.2.0
Easy Pre and Post Assertions
Released Apr 11, 2017 by Hadley Wickham
This package is available for Renjin and there are no known compatibility issues.
assertthat is an extension to stopifnot() that makes it easy to declare the pre and post conditions that you code should satisfy, while also producing friendly error messages so that your users know what they've done wrong.
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>assertthat</artifactId> <version>0.2.0-b39</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:assertthat')
Test Results
This package was last tested against Renjin 0.9.2622 on Apr 7, 2018.
- Assertion_assertions.are_equal_works_correctly_E1
- Assertion_assertions.are_equal_works_correctly_E2
- Assertion_assertions.are_equal_works_correctly_E3
- Assertion_assertions.are_equal_works_correctly_E4
- Assertion_assertions.are_equal_works_correctly_E5
- Assertion_assertions.are_equal_works_correctly_E6
- Assertion_assertions.are_equal_works_correctly_E7
- Assertion_assertions.has_args_works_correctly_E1
- Assertion_assertions.has_args_works_correctly_E2
- Assertion_assertions.has_args_works_correctly_E3
- Assertion_assertions.has_args_works_correctly_E4
- Assertion_assertions.has_args_works_correctly_E5
- Assertion_assertions.has_attr_works_correctly_E1
- Assertion_assertions.has_attr_works_correctly_E2
- Assertion_assertions.has_attr_works_correctly_E3
- Assertion_assertions.has_name_works_correctly_E1
- Assertion_assertions.has_name_works_correctly_E2
- Assertion_assertions.has_name_works_correctly_E3
- Assertion_assertions.has_name_works_correctly_E4
- Assertion_assertions.is_date_works_correctly_E1
- Assertion_assertions.is_date_works_correctly_E2
- Assertion_assertions.is_date_works_correctly_E3
- Assertion_assertions.is_date_works_correctly_E4
- Assertion_assertions.is_date_works_correctly_E5
- Assertion_assertions.is_error_works_correctly_E1
- Assertion_assertions.is_error_works_correctly_E2
- Assertion_assertions.is_error_works_correctly_E3
- Assertion_assertions.is_error_works_correctly_E4
- Assertion_assertions.is_integerish_works_correctly_E1
- Assertion_assertions.is_integerish_works_correctly_E2
- Assertion_assertions.is_integerish_works_correctly_E3
- Assertion_assertions.is_integerish_works_correctly_E4
- Assertion_assertions.is_integerish_works_correctly_E5
- Assertion_assertions.is_integerish_works_correctly_E6
- Assertion_assertions.is_integerish_works_correctly_E7
- Assertion_assertions.is_integerish_works_correctly_E8
- Assertion_assertions.is_named_works_correctly_E1
- Assertion_assertions.is_named_works_correctly_E2
- Assertion_assertions.is_named_works_correctly_E3
- Assertion_assertions.is_named_works_correctly_E4
- Assertion_assertions.is_named_works_correctly_E5
- Assertion_assertions.is_named_works_correctly_E6
- Assertion_assertions.is_named_works_correctly_E7
- Assertion_assertions.is_named_works_correctly_E8
- Assertion_assertions.is_time_works_correctly_E1
- Assertion_assertions.is_time_works_correctly_E2
- Assertion_assertions.is_time_works_correctly_E3
- Assertion_assertions.is_time_works_correctly_E4
- Assertion_assertions.is_time_works_correctly_E5
- Assertion_assertions.noNA_works_correctly_E1
- Assertion_assertions.noNA_works_correctly_E2
- Assertion_assertions.noNA_works_correctly_E3
- Assertion_assertions.noNA_works_correctly_E4
- Assertion_assertions.not_empty_works_correctly_E1
- Assertion_assertions.not_empty_works_correctly_E2
- Assertion_assertions.not_empty_works_correctly_E3
- Assertion_assertions.not_empty_works_correctly_E4
- Assertion_assertions.not_empty_works_correctly_E5
- Assertion_assertions.not_empty_works_correctly_E6
- Base_assertions.all_message_is_useful
- Base_assertions.any_message_is_useful_E1
- Base_assertions.any_message_is_useful_E2
- Base_assertions.custom_message_is_printed
- File_assertions.has_extension_works_correctly_E1
- File_assertions.has_extension_works_correctly_E2
- File_assertions.has_extension_works_correctly_E3
- File_assertions.has_extension_works_correctly_E4
- File_assertions.has_extension_works_correctly_E5
- File_assertions.has_extension_works_correctly_E6
- File_assertions.is_dir_identifies_dirs_correctly_E1
- File_assertions.is_dir_identifies_dirs_correctly_E2
- File_assertions.is_readable_works_correctly_E1
- File_assertions.is_readable_works_correctly_E2
- File_assertions.is_readable_works_correctly_E3
- File_assertions.is_writeable_works_correctly_E1
- File_assertions.is_writeable_works_correctly_E2
- File_assertions.is_writeable_works_correctly_E3
- Scalar_assertions.is_count_works_correctly_E1
- Scalar_assertions.is_count_works_correctly_E2
- Scalar_assertions.is_count_works_correctly_E3
- Scalar_assertions.is_count_works_correctly_E4
- Scalar_assertions.is_count_works_correctly_E5
- Scalar_assertions.is_count_works_correctly_E6
- Scalar_assertions.is_count_works_correctly_E7
- Scalar_assertions.is_count_works_correctly_E8
- Scalar_assertions.is_flag_works_correctly_E1
- Scalar_assertions.is_flag_works_correctly_E2
- Scalar_assertions.is_flag_works_correctly_E3
- Scalar_assertions.is_flag_works_correctly_E4
- Scalar_assertions.is_flag_works_correctly_E5
- Scalar_assertions.is_flag_works_correctly_E6
- Scalar_assertions.is_flag_works_correctly_E7
- Scalar_assertions.is_number_works_correctly_E1
- Scalar_assertions.is_number_works_correctly_E2
- Scalar_assertions.is_number_works_correctly_E3
- Scalar_assertions.is_number_works_correctly_E4
- Scalar_assertions.is_number_works_correctly_E5
- Scalar_assertions.is_number_works_correctly_E6
- Scalar_assertions.is_number_works_correctly_E7
- Scalar_assertions.is_number_works_correctly_E8
- Scalar_assertions.is_scalar_works_correctly_E1
- Scalar_assertions.is_scalar_works_correctly_E10
- Scalar_assertions.is_scalar_works_correctly_E2
- Scalar_assertions.is_scalar_works_correctly_E3
- Scalar_assertions.is_scalar_works_correctly_E4
- Scalar_assertions.is_scalar_works_correctly_E5
- Scalar_assertions.is_scalar_works_correctly_E6
- Scalar_assertions.is_scalar_works_correctly_E7
- Scalar_assertions.is_scalar_works_correctly_E8
- Scalar_assertions.is_scalar_works_correctly_E9
- Scalar_assertions.is_string_works_correctly_E1
- Scalar_assertions.is_string_works_correctly_E2
- Scalar_assertions.is_string_works_correctly_E3
- Scalar_assertions.is_string_works_correctly_E4
- Scalar_assertions.is_string_works_correctly_E5
- Scalar_assertions.is_string_works_correctly_E6
- are_equal-examples
- assert-is-examples
- assert_that-examples
- assertions-file-examples
- has_args-examples
- has_attr-examples
- noNA-examples
- not_empty-examples
- on_failure-examples
- scalar-examples
- testthat
- validate_that-examples