Is RStudio required for `here::i_am()`?

Open
#73 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Reproduce the reported here::i_am("README.Rmd") and here::dr_here(show_reason = TRUE) commands from the issue, comparing them with here::here(). Trace the i_am() project-detection entry point and determine whether the behavior requires RStudio or an .Rproj file; done means the requirement is clarified or the inconsistent behavior is corrected.

Written by the indexing model from the issue text.

Description

The below is what I get when I run the command. here::here() seems to work without the .Rproj file though.

> here::i_am("README.Rmd")
Error: Could not find associated project in working directory or any parent directory.
- Path in project: README.Rmd
- Current working directory: [path]
Please open the project associated with this file and try again.

> here::dr_here(show_reason = TRUE)
here() starts at [path].
- This directory contains a directory ".git"
- Initial working directory: [path]
- Current working directory: [path]
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.