result
0.1.0Result Type for Safely Handling Operations that can Succeed or Fail
Overview
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.
Install
Health
- NOTE r-devel-linux-x86_64-debian-clang
- NOTE r-devel-linux-x86_64-debian-gcc
- NOTE r-devel-linux-x86_64-fedora-clang
- NOTE r-devel-linux-x86_64-fedora-gcc
- NOTE r-devel-windows-x86_64
- NOTE r-oldrel-macos-arm64
- NOTE r-oldrel-macos-x86_64
- NOTE r-oldrel-windows-x86_64
- NOTE r-patched-linux-x86_64
- NOTE r-release-linux-x86_64
- NOTE r-release-macos-arm64
- NOTE r-release-macos-x86_64
- NOTE r-release-windows-x86_64
- NOTE2026-03-103 OK · 11 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Downloads
Repository
Dependencies
Code & Tests
- Cyclomatic complexity
- 1.0 median / 4 max
- Test cases
- 11 / 0.59 per code line
- Documented parameters
- 100%
Test coverage
Line coverage
–
Expression
–
Tests / Examples
–
Functions
17 10 exported
Complexity
1.4 avg / 4 max
Call network
17 nodes / 12 edges
Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.
Call graph
Open call graph →Lowest coverage
Per-function coverage is not measured for this package yet.
People & History
1 release. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 0.1.0Latest2026-03-10 · current release
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2023-11-21
- Total releases
- 1 / 3 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 7.8 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet