dr_here()
shows a message that by default also includes the
reason why here()
is set to a particular directory.
Use this function if here()
gives unexpected results.
Examples
dr_here()
#> here() starts at /home/runner/work/here/here.
#> - This directory contains a file matching "[.]Rproj$" with contents matching "^Version: " in the first line
#> - Initial working directory: /home/runner/work/here/here
#> - Current working directory: /tmp/RtmpQRFm1k/file285b8539d61/reference