Skip to contents

Call transparency

Open up one package call: see what really runs, extract it into a self-contained, self-verifying replay script.

explain_call()
Explain what a package call actually executes
unpack_call()
Unpack a package call into a self-contained, self-verifying replay script
extract_function()
Extract a Package Function as Standalone Source
compare_call()
Compare a customized call result with the original result
with_patch()
Temporarily patch functions inside one call

Runtime tracing

See the actual path one concrete call took, and get a focused explanation when it errors.

trace_call()
Trace the runtime path of one call
explain_error()
Explain an error from a package call

Dependency resolution and package slicing

Resolve what a call depends on, and export a call-specific package slice with dependency and validation artifacts.

resolve_dependencies()
Resolve the dependencies of an extracted call slice
slice_call()
Extract a call-specific package slice and agent context

Safety checks

Scan captured inputs for sensitive-looking values and check dependencies for known CVEs.

scan_secrets()
Scan unpacked values and generated text for sensitive-looking values
check_dependency_risk()
Check package dependencies for known CVEs

Function explanation

Explain an important package function before you have a concrete call to run.

explain_function()
Explain a package function
build_context()
Build agent-facing context for one package entry point

Change impact and modification advice

Assess what changing one function would affect, and find the safest place to intervene.

change_impact()
Assess the impact of changing one graph node
find_modification_points()
Find safer places to modify behavior reached from one node
propose_change()
Assemble a change proposal from a temporary patch
diff_versions()
Diff a Package Function Across Installed Versions

Persistent store

Keep a curated, project-local record of insider analyses under a .insider/ directory, to list and retrieve them across sessions.

insider_store()
Resolve or create a project-local insider store
store_save()
Save one insider artifact into a persistent store
store_list()
List artifacts recorded in a persistent insider store
store_get()
Retrieve one artifact from a persistent insider store
store_remove()
Remove one artifact from a persistent insider store

Code graph

Index a whole package or source directory into a queryable graph of definitions and call edges.

build_graph()
Build a code graph of an R package or source directory
graph_search()
Search the code graph for definitions by name
graph_node()
Show one definition with its source and line numbers
graph_callers()
Who calls this function?
graph_callees()
What does this function call?

Package

insider insider-package
insideR: Make R Package Calls Transparent, Replayable, and Editable