Other packages > Find by keyword >

result  

Result Type for Safely Handling Operations that can Succeed or Fail
View on CRAN: Click here


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

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

Install by package version:
library("remotes")
install_version("result", "0.1.0")



Attach the package and use:
library("result")
Maintained by
Soumya Ray
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2023-11-21
Latest Update: 2023-11-21
Description:
Allows wrapping values in success() and failure() types to capture the result of operations, along with any status codes. Risky expressions can be wrapped in as_result() and functions wrapped in result() to catch errors and assign the relevant result types. Monadic functions can be bound together as pipelines or transaction scripts using then_try(), to gracefully handle errors at any step.
How to cite:
Soumya Ray (2023). result: Result Type for Safely Handling Operations that can Succeed or Fail. R package version 0.1.0, https://cran.r-project.org/web/packages/result. Accessed 29 Oct. 2026.
Previous versions and publish date:
No previous versions
Other packages that cited result R package
View result citation profile
Other R packages that result depends, imports, suggests or enhances
Complete documentation for result
Functions, R codes and Examples using the result R package
Some associated functions: as_result . bind . failure . is_failure . is_result . is_success . result . status . success . value . 
Some associated R codes: attributes.R . bind.R . predicates.R . result.R .  Full result package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

GEVcdn  
GEV Conditional Density Estimation Network
Implements a flexible nonlinear modelling framework for nonstationary generalized extreme value anal ...
Download / Learn more Package Citations See dependency  
binovisualfields  
Depth-Dependent Binocular Visual Fields Simulation
Simulation and visualization depth-dependent integrated visual fields. Visual fields are measured mo ...
Download / Learn more Package Citations See dependency  
personalized2part  
Two-Part Estimation of Treatment Rules for Semi-Continuous Data
Implements the methodology of Huling, Smith, and Chen (2020) , w ...
Download / Learn more Package Citations See dependency  
fastRG  
Sample Generalized Random Dot Product Graphs in Linear Time
Samples generalized random product graphs, a generalization of a broad class of network models. Giv ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  

29,218

R Packages

247,686

Dependencies

77,281

Author Associations

29,219

Publication Badges

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