Package: result 0.1.0

result: Result Type for Safely Handling Operations that can Succeed or Fail

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.

Authors:Soumya Ray [aut, cre, cph]

result_0.1.0.tar.gz
result_0.1.0.zip(r-4.7)result_0.1.0.zip(r-4.6)result_0.1.0.zip(r-4.5)
result_0.1.0.tgz(r-4.6-any)result_0.1.0.tgz(r-4.5-any)
result_0.1.0.tar.gz(r-4.7-any)result_0.1.0.tar.gz(r-4.6-any)
result_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
result/json (API)

# Install 'result' in R:
install.packages('result', repos = c('https://soumyaray.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/soumyaray/result/issues

On CRAN:

Conda:

6.14 score 6 stars 1 packages 1.5k scripts 343 downloads 11 exports 0 dependencies

Last updated from:6cb3b93845. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK113
source / vignettesOK132
linux-release-x86_64OK112
macos-release-arm64OK85
macos-oldrel-arm64OK95
windows-develOK70
windows-releaseOK69
windows-oldrelOK59
wasm-releaseOK197

Exports:as_resultbindfailureis_failureis_resultis_successresultstatussuccessthen_tryvalue

Dependencies: