
Replace code identifiers with their full paths
Source:R/codeIds_to_codePaths.R
codeIds_to_codePaths.RdThis function replaces the column names in the mergedSourceDf data frame
in a rock_parsedSource or rock_parsedSources object with the full paths
to those code identifiers.
Usage
codeIds_to_codePaths(
x,
stripRootsFromCodePaths = rock::opts$get("stripRootsFromCodePaths")
)Arguments
- x
A
rock_parsedSourceorrock_parsedSourcesobject as returned by a call toparse_source()orparse_sources().- stripRootsFromCodePaths
Whether to strip the roots first (i.e. the type of code)