Returns the relative reference directory for non-projects.

ref_dir(sub = "")

Arguments

sub

relative subfolder or file

Details

This function returns the absolute path using tools::file_path_as_absolute().