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]
First Published: 2023-06-02
Latest Update: 2023-06-02
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 10 Apr. 2025.
Previous versions and publish date:
0.1.0 (2023-06-02 16:50)
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
03/1103/1203/1303/1403/1503/1603/1703/1803/1903/2003/2103/2203/2303/2403/2503/2603/2703/2803/2903/3003/3104/0104/0204/0304/0404/0504/0604/0704/0804/09Downloads for assertions5101520253035404550556065TrendBars

Today's Hot Picks in Authors and Packages

GRNNs  
General Regression Neural Networks Package
This General Regression Neural Networks Package uses various distance functions. It was motivated b ...
Download / Learn more Package Citations See dependency  
RODBC  
ODBC Database Access
txtq  
A Small Message Queue for Parallel Processes
This queue is a data structure that lets parallel processes send and receive messages, and it can he ...
Download / Learn more Package Citations See dependency  
xtermStyle  
Terminal Text Formatting Using Escape Sequences
Can be used for coloring output in terminals. It was developed for the standard Ubuntu terminal but ...
Download / Learn more Package Citations See dependency  
webglobe  
3D Interactive Globes
Displays geospatial data on an interactive 3D globe in the web browser. ...
Download / Learn more Package Citations See dependency  
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  

24,012

R Packages

207,311

Dependencies

64,867

Author Associations

24,013

Publication Badges

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