stan-dev / stan-dev/rstan

Use filePath instead of file.path to catch weird windows paths?

Open
#822 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
R
Stars
1.1k
Forks
266
Avg merge
2h 56m
Merged PRs (30d)
1

Description

Summary:

Not necessary, but it seems like filePath() is the version of file.path() that also catches some weird windows issues (though idt it handles spaces). I'd be a pretty easy find/replace to do, @wds15 do you know if this is helpful for windows?

RStan Version:

cf564e3

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

Search the repository for uses of file.path and compare them with the R.utils filePath behavior described in the issue. Confirm whether the replacement addresses the reported Windows path cases, then update the applicable calls and verify the affected behavior on Windows.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.