rstudio / rstudio/packrat

RStudio: packrat on Windows fails with special characters in directory name

Open
#171 3 comments 0 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

In RStudio on Windows 7, I try to create a project in a directory with an & in the folder name (a legal character), in this instance, called ./example&54, with packrat support.

Here are a couple of error messages I get when the project initializes:

Error installing package: Error: ERROR: no packages specified
'54' is not recognized as an internal or external command,
operable program or batch file.

Error installing package: Error: ERROR: no packages specified
'54' is not recognized as an internal or external command,
operable program or batch file.

I also had issues installing packages in some cases, with x[, 1]: incorrect number of dimensions errors but I can't reproduce those.

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

No source file or test is named. Start by reproducing packrat project initialization and package installation on Windows 7 in the ./example&54 directory, then trace the command handling that produces the reported errors; done means initialization and package installation succeed when the path contains &.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
operating-systems, 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.