This fails because there is an attempt to filter to keep only files in /the/fully/specified/path/R/ using regexes. But if package is specified like ~/specified/path, then it's files look like ~/specified/path/R/some-file.R and do not match the fully-specified path.
This fails because there is an attempt to filter to keep only files in
/the/fully/specified/path/R/
using regexes. But if package is specified like~/specified/path
, then it's files look like~/specified/path/R/some-file.R
and do not match the fully-specified path.