Other packages > Find by keyword >

assertthat  

Easy Pre and Post Assertions
View on CRAN: Click here


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

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

Install by package version:
library("remotes")
install_version("assertthat", "0.2.1")



Attach the package and use:
library("assertthat")
Maintained by
Hadley Wickham
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2013-12-06
Latest Update: 2019-03-21
Description:
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's gone wrong.
How to cite:
Hadley Wickham (2013). assertthat: Easy Pre and Post Assertions. R package version 0.2.1, https://cran.r-project.org/web/packages/assertthat. Accessed 22 Sep. 2026.
Previous versions and publish date:
(2026-07-09 07:19), 0.1 (2013-12-06 00:51), 0.2.0 (2017-04-11 23:28)
Other packages that cited assertthat R package
View assertthat citation profile
Other R packages that assertthat depends, imports, suggests or enhances
Complete documentation for assertthat
Functions, R codes and Examples using the assertthat R package
Some associated functions: are_equal . assert-is . assert_that . assertions-file . has_args . has_attr . noNA . not_empty . on_failure . scalar . validate_that . 
Some associated R codes: assertions-scalar.R . validate-that.R .  Full assertthat package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

spider  
Species Identity and Evolution in R
Analysis of species limits and DNA barcoding data. Included are functions for generating important s ...
Download / Learn more Package Citations See dependency  
Countr  
Flexible Univariate Count Models Based on Renewal Processes
Flexible univariate count models based on renewal processes. The models may include covariates and ...
Download / Learn more Package Citations See dependency  
cnum  
Chinese Numerals Processing
Chinese numerals processing in R, such as conversion between Chinese numerals and Arabic numerals a ...
Download / Learn more Package Citations See dependency  
jointseg  
Joint Segmentation of Multivariate (Copy Number) Signals
Methods for fast segmentation of multivariate signals into piecewise constant profiles and for gene ...
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  
heatmaply  
Interactive Cluster Heat Maps Using 'plotly' and 'ggplot2'
Create interactive cluster 'heatmaps' that can be saved as a stand- alone HTML file, embedded in 'R ...
Download / Learn more Package Citations See dependency  

28,720

R Packages

247,686

Dependencies

75,677

Author Associations

28,721

Publication Badges

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