Other packages > Find by keyword >

attempt  

Tools for Defensive Programming
View on CRAN: Click here


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

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

Install by package version:
library("remotes")
install_version("attempt", "0.3.1")



Attach the package and use:
library("attempt")
Maintained by
Colin Fay
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2018-01-03
Latest Update: 2020-05-03
Description:
Tools for defensive programming, inspired by 'purrr' mappers and based on 'rlang'.'attempt' extends and facilitates defensive programming by providing a consistent grammar, and provides a set of easy to use functions for common tests and conditions. 'attempt' only depends on 'rlang', and focuses on speed, so it can be easily integrated in other functions and used in data analysis.
How to cite:
Colin Fay (2018). attempt: Tools for Defensive Programming. R package version 0.3.1, https://cran.r-project.org/web/packages/attempt. Accessed 06 Aug. 2026.
Previous versions and publish date:
(2026-07-09 07:19), 0.1.0 (2018-01-03 14:37), 0.2.0 (2018-01-31 19:05), 0.2.1 (2018-04-20 13:43), 0.3.0 (2019-04-08 09:42)
Other packages that cited attempt R package
View attempt citation profile
Other R packages that attempt depends, imports, suggests or enhances
Complete documentation for attempt
Functions, R codes and Examples using the attempt R package
Some associated functions: attempt-package . attempt . discreetly . ifthenelse . is_try_error . messagefunctions . messagehandler . on_error . scopedif . silent_attempt . silently . surely . try_catch . 
Some associated R codes: adverbs.R . attempt-package.R . if.R . is_class.R . on_error.R . try_catch.R . utils.R . warn_if.R .  Full attempt package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

RRedshiftSQL  
R Interface to the 'Redshift' Database
Superclasses 'PostgreSQL' connection to help enable full 'dplyr' functionality on 'Redshift'. ...
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  
lsmeans  
Least-Squares Means
Obtain least-squares means for linear, generalized linear, and mixed models. Compute contrasts or l ...
Download / Learn more Package Citations See dependency  
SAMBA  
Selection and Misclassification Bias Adjustment for Logistic Regression Models
Health research using data from electronic health records (EHR) has gained popularity, but miscla ...
Download / Learn more Package Citations See dependency  
TMDb  
Access to TMDb API
Provides an R-interface to the TMDb API (see TMDb API on < ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

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