workflowr / workflowr/workflowr
Error: A Git repository is required for this functionality.
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 906
- Forks
- 107
- PR merge metrics
- No merged PRs in 30d
Description
When I run this command I get:
wflow_status()
Error: A Git repository is required for this functionality.
I thought that somehow I lost my Git configuration in my laptop so I tried reinstalling the Git repo again by running:
wflow_git_config(user.name = "...", user.email = "...")
Current settings:
user.email: ...@gmail.com
user.name: ...
Error: Some settings already exist. Set overwrite=TRUE to overwrite them.
I do the overwrite = TRUE command and get...
wflow_git_config(user.name = "...", user.email = "...@gmail.com", overwrite = TRUE)
Current settings:
user.email: ...@gmail.com
user.name: ...
The settings above will be overwritten.
Current Git user.name: ...
Current Git user.email: ...@gmail.com
Other Git settings:
filter.lfs.clean: git-lfs clean -- %f
filter.lfs.process: git-lfs filter-process
filter.lfs.required: true
filter.lfs.smudge: git-lfs smudge -- %f
I am trying to determine what may be the issue. Is it realted to git2r as mentioned in this post? https://github.com/jdblischak/workflowr/issues/160
I have tried restarting the R session and checking any packages installed outside the project workflowr session. Any help on the matter will be highly appreciated. I have tried this with several of my projects and get the same error and I still have no idea of the direction I should take to resolve this.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the wflow_status() and wflow_git_config() entry points, then review the related git2r discussion in workflowr#160. Reproduce the error in one of the affected projects and determine whether the Git repository detection or configuration handling is responsible; done means identifying a specific cause and a verified resolution.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- git, r
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100