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 18 Feb. 2025.
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
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

MOSS  
Multi-Omic Integration via Sparse Singular Value Decomposition
High dimensionality, noise and heterogeneity among samples and features challenge the omic integrat ...
Download / Learn more Package Citations See dependency  
OptGS  
Near-Optimal Group-Sequential Designs for Continuous Outcomes
Optimal group-sequential designs minimise some function of the expected and maximum sample size whil ...
Download / Learn more Package Citations See dependency  
readxlsb  
Read 'Excel' Binary (.xlsb) Workbooks
Import data from 'Excel' binary (.xlsb) workbooks into R. ...
Download / Learn more Package Citations See dependency  
fclust  
Fuzzy Clustering
Algorithms for fuzzy clustering, cluster validity indices and plots for cluster validity and visuali ...
Download / Learn more Package Citations See dependency  
RobustBayesianCopas  
Robust Bayesian Copas Selection Model
Fits the robust Bayesian Copas (RBC) selection model of Bai et al. (2020) for cor ...
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  

23,712

R Packages

205,795

Dependencies

64,332

Author Associations

23,631

Publication Badges

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