CRAN/E | result

result

Result Type for Safely Handling Operations that can Succeed or Fail

Installation

About

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.

github.com/soumyaray/result
Bug report File report

Key Metrics

Version 0.1.0
Published 2023-11-21 170 days ago
Needs compilation? no
License MIT
License File
CRAN checks result results

Downloads

Yesterday 5 0%
Last 7 days 33 -49%
Last 30 days 189 +9%
Last 90 days 492 -27%
Last 365 days 1.161

Maintainer

Maintainer

Soumya Ray

soumya.ray@gmail.com

Authors

Soumya Ray

aut / cre / cph

Material

README
NEWS
Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-develnot available

x86_64

r-releasenot available

x86_64

r-oldrelnot available

x86_64

Suggests

testthat ≥ 3.0.0