-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
I really love this package, thank you. I'm hoping someone can help with a problem I'm regularly having with here() where it ignores the .here file and instead chooses the R project file directory.
> dr_here()
here() starts at /Users/X/Github/mygit, because it contains a file matching `[.]Rproj$` with contents matching `^Version: ` in the first line
> set_here(getwd())
File .here already exists in /Users/X/Google Drive/SI/DataScience/mygit
> here()
[1] "/Users/X/Github/mygit"
If I unload and reload the package, here() points to the desired directory:
> detach("package:here", unload=TRUE)
> library("here")
here() starts at /Users/X/Google Drive/myfiles
Attaching package: ‘here’
The following object is masked from ‘package:lubridate’:
here
> dr_here()
here() starts at /Users/X/Google Drive/myfiles, because it contains a file `.here`
ZackLarsen
Metadata
Metadata
Assignees
Labels
No labels