updateGraphSpace: Update a GraphSpace object

updateGraphSpace,GraphSpace-methodR Documentation

Update a GraphSpace object

Description

Updates GraphSpace objects serialized from previous package versions, adding any missing slots with default values.

Usage

## S4 method for signature 'GraphSpace'
updateGraphSpace(x, verbose = TRUE)

Arguments

x

A GraphSpace object.

verbose

Logical; if TRUE, reports which slots were added.

Value

An updated GraphSpace object.

Examples

data('gtoy1', package = 'RGraphSpace')
gs <- GraphSpace(gtoy1)

# Objects built with the current version are returned unchanged
gs <- updateGraphSpace(gs)


RGraphSpace documentation built on Oct. 9, 2026, 9:07 a.m.