Skip to contents

Reads .rrlmgraph/graph.rds from project_path, validates compatibility with the installed rrlmgraph version, refreshes task-trace weights via update_task_weights(), and returns the graph.

Usage

load_graph_cache(project_path = ".")

Arguments

project_path

Character(1). Root directory of the R project (parent of .rrlmgraph/).

Value

An rrlm_graph object, or NULL invisibly when no cache exists.

Examples

if (FALSE) { # \dontrun{
g <- load_graph_cache("mypkg")
} # }