R/codeUtils.r
get.current.file.path.Rd
When called out of RStudio API returns the current path of the active file without the file name.
get.current.file.path()
A character value defining the current path.
if(rstudioapi::isAvailable()) get.current.file.path()