stripCodePathRoot: Strip the root from a code path

View source: R/stripCodePathRoot.R

stripCodePathRootR Documentation

Strip the root from a code path

Description

This function strips the root (just the first element) from a code path, using the codeTreeMarker stored in the opts object as marker.

Usage

stripCodePathRoot(x)

Arguments

x

A vector of code paths.

Value

The modified vector of code paths.

Examples

stripCodePathRoot("codes>reason>parent_feels");

gitlab-r-packages-mirror/rock documentation built on Dec. 3, 2024, 5:40 p.m.