R: Get the Location of the R Script that is Being Sourced/Executed

# Get the Location of the R Script that is Being Sourced/Executed

## Documentation for package ‘scriptloc’ version 1.0.0

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package README

## Help Pages

scriptloc | Get location of script in a fashion analagous to $BASH_SOURCE[0]
script_dir_get | Return directory where the script exists
script_file_get | Get location of script that was executed through Rscript
src_file_get | Get location of script that was loaded through the source() function