I am trying to use a file from a different directory, but I need the file to accessible from any directory. Thus, I wanted to start the file path with .. However, doing this throws an error that the file is not available. Is there a way to go to a parent directory in R? This is what I currently have (which throws the error):
source("../src/functions.r")