Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

error: working directory on windows #70

Closed
verajosemanuel opened this issue Nov 28, 2017 · 1 comment
Closed

error: working directory on windows #70

verajosemanuel opened this issue Nov 28, 2017 · 1 comment

Comments

@verajosemanuel
Copy link

verajosemanuel commented Nov 28, 2017

Created a new Project called Rtest (just for testing). And initialized with changes

create_repo("C:/Users/jonathan/Documents/Code/Rtest")

started version control project at C:/Users/jonathan/Documents/Code/Rtest
Error: The current working directory (C:/Users/jonathan/Documents/Code/Rtest) is not in the directory of this version control project.
You could do setwd("C:/Users/jonathan/Documents/Code/Rtest") to move back into the directory and rerun this function.

Then I did:

setwd("C:/Users/jonathan/Documents/Code/Rtest")

All seems ok and then created a new file and added to source control with:

record("added Rpres")

Error: The current working directory (C:/Users/jonathan/Documents/Code/Rtest) is not in the directory of this version control project.
You could do setwd("C:/Users/jonathan/Documents/Code/Rtest") to move back into the directory and rerun this function.

Then I do:

setwd("C:/Users/jonathan/Documents/Code/Rtest")

but keep gettinq the same error again, and again, and again.......

@verajosemanuel verajosemanuel changed the title every time I try to use changes I get same message about working directory error: working directory on windows Nov 28, 2017
@verajosemanuel
Copy link
Author

Tried using other directory, with and without spaces in names, but to no avail

@maelle maelle closed this as completed May 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants