Other packages > Find by keyword >

assertions  

Simple Assertions for Beautiful and Customisable Error Messages
View on CRAN: Click here


Download and install assertions package within the R console
Install from CRAN:
install.packages("assertions")

Install from Github:
library("remotes")
install_github("cran/assertions")

Install by package version:
library("remotes")
install_version("assertions", "0.2.0")



Attach the package and use:
library("assertions")
Maintained by
Sam El-Kamand
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2023-06-02
Latest Update: 2024-11-19
Description:
Provides simple assertions with sensible defaults and customisable error messages. It offers convenient assertion call wrappers and a general assert function that can handle any condition. Default error messages are user friendly and easily customized with inline code evaluation and styling powered by the 'cli' package.
How to cite:
Sam El-Kamand (2023). assertions: Simple Assertions for Beautiful and Customisable Error Messages. R package version 0.2.0, https://cran.r-project.org/web/packages/assertions. Accessed 18 Sep. 2026.
Previous versions and publish date:
(2026-07-09 07:19), 0.1.0 (2023-06-02 16:50), 0.2.0 (2024-11-19 08:20)
Other packages that cited assertions R package
View assertions citation profile
Other R packages that assertions depends, imports, suggests or enhances
Complete documentation for assertions
Functions, R codes and Examples using the assertions R package
Some associated functions: assert . assert_all_directories_exist . assert_all_files_exist . assert_all_files_have_extension . assert_all_greater_than . assert_all_greater_than_or_equal_to . assert_character . assert_character_vector . assert_class . assert_create . assert_create_chain . assert_dataframe . assert_directory_does_not_exist . assert_directory_exists . assert_equal . assert_excludes . assert_factor_vector . assert_file_does_not_exist . assert_file_exists . assert_file_has_extension . assert_flag . assert_function . assert_function_expects_n_arguments . assert_greater_than . assert_greater_than_or_equal_to . assert_identical . assert_includes . assert_int . assert_list . assert_logical . assert_logical_vector . assert_matrix . assert_names_include . assert_no_duplicates . assert_no_missing . assert_non_empty_string . assert_number . assert_numeric . assert_numeric_vector . assert_reactive . assert_string . assert_subset . assert_vector . assert_whole_number . assertion_names . assertion_tests . check_all_assertions_are_tested_enough . common_roxygen_params . excludes_advanced . format_as_bullets . format_inline . has_all_names . has_class . has_duplicates . has_extension . has_missing_values . has_no_duplicates . has_no_missing_values . includes . includes_advanced . is_character_vector . is_equal . is_flag . is_flag_advanced . is_greater_than . is_greater_than_or_equal_to . is_identical . is_list . is_logical_vector . is_non_empty_string_advanced . is_number . is_number_advanced . is_numeric_vector . is_reactive . is_same_type . is_string . is_string_advanced . is_subset . is_superset . is_vector . setopts_are_equal . setopts_common_elements . setopts_count_exlusive_to_first . setopts_exlusive_to_first . util_count_duplicates . util_count_missing . util_get_duplicated_values . 
Some associated R codes: assert.R . assert_class.R . assert_compare.R . assert_create.R . assert_dataframe.R . assert_files.R . assert_functions.R . assert_includes.R . assert_names.R . assert_numerical.R . assert_set.R . assert_type.R . coverage_testing.R . export_testing.R . has.R . is_comparisons.R . is_functions.R . set_operations.R . utils.R .  Full assertions package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
downlit  
Syntax Highlighting and Automatic Linking
Syntax highlighting of R code, specifically designed for the needs of 'RMarkdown' packages like 'pk ...
Download / Learn more Package Citations See dependency  
data360r  
Wrapper for 'TCdata360' and 'Govdata360' API
Makes it easy to engage with the Application Program Interface (API) of the 'TCdata360' and 'Govdat ...
Download / Learn more Package Citations See dependency  
eyelinker  
Import ASC Files from EyeLink Eye Trackers
Imports plain-text ASC data files from EyeLink eye trackers into (relatively) tidy data frames for ...
Download / Learn more Package Citations See dependency  
injectoR  
R Dependency Injection
R dependency injection framework. Dependency injection allows a program design to follow the depend ...
Download / Learn more Package Citations See dependency  
hmeasure  
The H-Measure and Other Scalar Classification Performance Metrics
Classification performance metrics that are derived from the ROC curve of a classifier. The package ...
Download / Learn more Package Citations See dependency  

28,565

R Packages

239,283

Dependencies

75,677

Author Associations

28,566

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA