here often fails to identify directory on google drive on windows

Open
#75 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
r

Research direction

Start by reproducing here() from an R project or file stored on Google Drive in RStudio on Windows 10, comparing it with RStudio’s copied path. The issue is done when the package consistently identifies the Google Drive project location rather than a C: drive location, including after restarting the R session.

Written by the indexing model from the issue text.

Description

Hello, I am having trouble with here() on my windows 10 machine. I believe the problem stems from my use of it with google drive. The package and R are both up to date. I am using r studio. When I run a "here()" call from my google drive files, here often fails to find my project folder. Instead, it starts looking for a project in my C drive. This is even if I restart my r session and only have files from my google drive folder open. It's strange, because if I right-click the file and ask Rstudio to "copy path" for the file, it correctly identifies the google drive location. However, if I then run here::here() from the file, it spits out an entirely different and incorrect location. Any suggestions as to what the issue might be? Thanks!

Dominant language
R
Stars
436
Forks
45
Avg merge
4m
Merged PRs (30d)
4

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from r-lib/here

All issues in r-lib/here

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.