Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't build vignettes during installation on Windows #87

Closed
jdblischak opened this issue Dec 7, 2017 · 4 comments
Closed

Can't build vignettes during installation on Windows #87

jdblischak opened this issue Dec 7, 2017 · 4 comments
Labels

Comments

@jdblischak
Copy link
Member

On Windows, this fails:

devtools::install_github("jdblischak/workflowr", build_vignettes = TRUE)
Error: processing vignette 'wflow-01-getting-started.Rmd' failed with diagnostics:
The directory where you have chosen to create a new workflowr directory is already within a Git repository. This is potentially dangerous. If you want to have a workflowr project created within this existing Git repository, re-run wflow_start with `git = FALSE` and then manually commit the new files. The following directory contains the existing .git directory: C:/Users/han
Execution halted

I confirmed this still works on Ubuntu, regardless of whether or not the installation is run from inside a Git repo. I'll need to see if I can verify this on Windows. One thing that could be causing a problem is the .git is in the user's home directory.

@pcarbo
Copy link
Member

pcarbo commented Dec 7, 2017

@jdblischak If you need it, there is a Windows machine in room 407 that you can use to test and debug this error.

@jdblischak
Copy link
Member Author

@pcarbo Thanks! Good to know that's available.

@jdblischak
Copy link
Member Author

And the temporary fix for the time being is to install workflowr on Windows without building the vignettes locally.

devtools::install_github("jdblischak/workflowr")

And instead rely solely on the online vignettes.

@jdblischak
Copy link
Member Author

This Issue was fixed by having the user delete the Git repo in their home directory, i.e. C:/Users/han/.git. The worry now is if this Git repo was possibly created by workflowr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants