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 16 Jul. 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

bbdetection  
Identification of Bull and Bear States of the Market
Implements two algorithms of detecting Bull and Bear markets in stock prices: the algorithm of Pagan ...
Download / Learn more Package Citations See dependency  
stevedata  
Steve's Toy Data for Teaching About a Variety of Methodological, Social, and Political Topics
This is a collection of various kinds of data with broad uses for teaching. My students, and academ ...
Download / Learn more Package Citations See dependency  
schoolmath  
Functions and Datasets for Math Used in School
Contains functions and datasets for math taught in school. A main focus is set to prime-calculation. ...
Download / Learn more Package Citations See dependency  
Rnmr1D  
Perform the Complete Processing of a Set of Proton Nuclear Magnetic Resonance Spectra
Perform the complete processing of a set of proton nuclear magnetic resonance spectra from the free ...
Download / Learn more Package Citations See dependency  
tarchetypes  
Archetypes for Targets
Function-oriented Make-like declarative pipelines for Statistics and data science are supported in t ...
Download / Learn more Package Citations See dependency  
tibble  
Simple Data Frames
Provides a 'tbl_df' class (the 'tibble') with stricter checking and better formatting than the tradi ...
Download / Learn more Package Citations See dependency  

27,806

R Packages

239,283

Dependencies

73,837

Author Associations

27,807

Publication Badges

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