Package 'wickraradar'

Title: Data-Driven Liquidation-Cascade Radar Core
Description: R bindings for wickra-radar over its C ABI hub: build a Radar from a spec JSON, drive it with command JSON and read back a report of alerts - the same protocol as the CLI and every other binding.
Authors: kingchenc [aut, cre]
Maintainer: kingchenc <[email protected]>
License: MIT + file LICENSE | Apache License 2.0
Version: 0.2.0
Built: 2026-10-15 11:45:03 UTC
Source: https://github.com/wickra-lib/wickra-radar

Help Index


Apply a command JSON and return the resulting response JSON.

Description

Apply a command JSON and return the resulting response JSON.

Usage

wkradar_command(radar, cmd_json)

Arguments

radar

A radar handle from [wkradar_new()].

cmd_json

A command JSON string.

Value

The response as a JSON string.


Build a radar from a spec JSON string.

Description

Build a radar from a spec JSON string.

Usage

wkradar_new(spec_json)

Arguments

spec_json

A JSON spec string.

Value

A 'wickra_radar' handle (an external pointer).


The wickra-radar library version.

Description

The wickra-radar library version.

Usage

wkradar_version()

Value

A version string.