rstudio / rstudio/packrat

packrat does not run on a window's networked drive

Open
#452 18 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
409
Forks
89
PR merge metrics
No merged PRs in 30d

Description

The following warning is produced by the call to packrat::init()

Warning message:
cannot set reparse point 'U:/packrat5/packrat/lib-R/base', reason 'Access is denied'

the warning comes from a call to Sys.junction(). Sys.junction() does not support window's networked drives.

The following email message is from the R-Devel list.

Unfortunately, junctions cannot link to a network drive, they only can
link directories on the same computer (possibly on different local
volumes). This is a limitation imposed by Windows. I have updated the
documentation for Sys.junction in R-devel accordingly.

Network drives are an integral part of system. Can packrat be updated to run properly on a windows network drive?
Mark

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.

Research direction

Start at packrat::init() and trace its call to Sys.junction(), focusing on the Windows network-drive failure described in the warning. Check the linked R-Devel limitation before determining the expected handling; done should mean packrat initializes properly on a Windows networked drive without the reported access-denied warning.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.