dot-decode.arg: Decode from base64 and deserialize from json if necessary

.decode.argR Documentation

Decode from base64 and deserialize from json if necessary

Description

Work around the restrictions imposed by the Opal server on function arguments The Opal server is very picky as regards function arguments. The workaround is to serialize and encode them on the client and strip the right padding.

Usage

.decode.arg(some.thing, simplifyMatrix = FALSE)

Arguments

some.thing

the thing to be decoded and deserialized from json if necessary

Details

It looks for the string 'base64' in the argument to determine if it's encoded

Value

the decoded and deserialized argument


sib-swiss/dsSwissKnife documentation built on Nov. 27, 2024, 6:03 p.m.