attempt: Tools for Defensive Programming

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.

Version: 0.3.1
Imports: rlang
Suggests: testthat, knitr, rmarkdown, curl
Published: 2020-05-03
DOI: 10.32614/CRAN.package.attempt
Author: Colin Fay ORCID iD [aut, cre]
Maintainer: Colin Fay <contact at>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: README NEWS
CRAN checks: attempt results


Reference manual: attempt.pdf
Vignettes: Intro to attempt
Try Catch
Condition handling


Package source: attempt_0.3.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): attempt_0.3.1.tgz, r-oldrel (arm64): attempt_0.3.1.tgz, r-release (x86_64): attempt_0.3.1.tgz, r-oldrel (x86_64): attempt_0.3.1.tgz
Old sources: attempt archive

Reverse dependencies:

Reverse imports: apisensr, bitmexr, cvasi, dockerfiler, fakir, gargoyle, geoAr, gitdown, golem, gwpcormapper, languagelayeR, neo4r, pgxRpi, proustr, rgoogleclassroom, shinipsum, tidystringdist
Reverse suggests: FeatureImpCluster, InterCellar, shinyTempSignal


Please use the canonical form to link to this page.