Package: zucbor 0.1.0.9000

zucbor: Deterministic and Secure CBOR Encoding and Decoding

Encodes R values as Concise Binary Object Representation (CBOR, RFC 8949; Bormann and Hoffman (2020) <doi:10.17487/RFC8949>) and decodes CBOR into ordinary R vectors and lists. Decoding checks the whole input against configurable depth, size and item limits before any R object is built, so untrusted input from network peers and devices cannot drive large allocations. Encoding is deterministic: identical R objects always produce identical bytes. Uses a bundled copy of the 'TinyCBOR' library (<https://github.com/intel/tinycbor>), so no system library is required.

Authors:Pedro Baltazar [aut, cre, cph], Thiago Macieira [aut], Intel Corporation [cph]

zucbor_0.1.0.9000.tar.gz
zucbor_0.1.0.9000.zip(r-4.7-x86_64)zucbor_0.1.0.9000.zip(r-4.7-arm64)zucbor_0.1.0.9000.zip(r-4.6-x86_64)zucbor_0.1.0.9000.zip(r-4.6-arm64)zucbor_0.1.0.9000.zip(r-4.5-x86_64)
zucbor_0.1.0.9000.tgz(r-4.6-x86_64)zucbor_0.1.0.9000.tgz(r-4.6-arm64)zucbor_0.1.0.9000.tgz(r-4.5-x86_64)zucbor_0.1.0.9000.tgz(r-4.5-arm64)
zucbor_0.1.0.9000.tar.gz(r-4.7-arm64)zucbor_0.1.0.9000.tar.gz(r-4.7-x86_64)zucbor_0.1.0.9000.tar.gz(r-4.6-arm64)zucbor_0.1.0.9000.tar.gz(r-4.6-x86_64)
zucbor_0.1.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
zucbor/json (API)

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

Bug tracker:https://github.com/pedrobtz/zucbor/issues

Pkgdown/docs site:https://pedrobtz.github.io

On CRAN:

Conda:

4.60 score 9 scripts 16 exports 0 dependencies

Last updated from:f5b2cfff12. Checks:13 OK, 2 ERROR. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK90
linux-devel-x86_64OK121
source / vignettesOK197
linux-release-arm64OK95
linux-release-x86_64OK117
macos-release-arm64OK123
macos-release-x86_64OK286
macos-oldrel-arm64OK114
macos-oldrel-x86_64OK294
windows-devel-arm64ERROR225
windows-devel-x86_64OK137
windows-release-arm64ERROR235
windows-release-x86_64OK107
windows-oldrel-x86_64OK101
wasm-releaseOK76

Exports:as_cborcbor_annotatecbor_bigintcbor_decodecbor_decode_prefixcbor_decode_seqcbor_diagnosecbor_encodecbor_encode_seqcbor_mapcbor_readcbor_read_seqcbor_simplecbor_tagcbor_validatezucbor_info

Dependencies:

Decoding untrusted CBOR
Check first, build second | Limits | Duplicate map keys | Deterministic input | Handling errors

Last update: 2026-10-04
Started: 2026-09-30

COSE and WebAuthn
A WebAuthn attestation object | Re-encoding what was signed | A signed CWT

Last update: 2026-10-01
Started: 2026-09-30

Readme and manuals

Help Manual

Help pageTopics
Teach 'cbor_encode()' a classas_cbor as_cbor.default
Annotated hex dump of CBORcbor_annotate
Decode CBORcbor_decode cbor_decode_seq
Decode the CBOR item at the start of a raw vectorcbor_decode_prefix
CBOR diagnostic notationcbor_diagnose
Encode R values as CBORcbor_encode cbor_encode_seq
Read CBOR from a file or connectioncbor_read cbor_read_seq
Validate CBORcbor_validate
CBOR values without a native R typecbor-values cbor_bigint cbor_map cbor_simple cbor_tag
Build informationzucbor_info
Conditions raised by zucborzucbor-conditions