get_current_rmd_src: Find Name of Current Rmd-Source Document

Description Usage Arguments Value

Description

Given the value passed by the parameter ps_path, we can assume that there must be a Rmd-source file in the current working directory ps_cwd which contains the path to the odg graphics file given in ps_path. Hence, we can search through all Rmd-files in ps_cwd for the value in ps_path. If we find a match in a single Rmd-source file, we return the name of that file, otherwise we return NULL.

Usage

1
get_current_rmd_src(ps_path, ps_cwd)

Arguments

ps_path

name of and path to odg-graphics file

ps_cwd

current working directory

Value

s_rmd_src_result resulting Rmd-source file


charlotte-ngs/rmddochelper documentation built on June 27, 2019, 1:22 a.m.