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

create_from_github() fails when setting destdir to a network drive #982

Closed
leungi opened this issue Jan 19, 2020 · 3 comments
Closed

create_from_github() fails when setting destdir to a network drive #982

leungi opened this issue Jan 19, 2020 · 3 comments

Comments

@leungi
Copy link

leungi commented Jan 19, 2020

As per subject; reprex below.

library(usethis)

# fails
create_from_github("markfairbanks/tidydt", destdir = "P:/project/Fun/", fork = TRUE,
                   rstudio = TRUE, protocol = "https")
✔ Creating 'P:/project/Fun/tidydt/'Forking 'markfairbanks/tidydt'Cloning repo from 'https://github.com/leungi/tidydt.git' into 'P:/project/Fun/tidydt'
Error: [EPERM] Failed to realize 'P:/project/Fun/tidydt': operation not permitted

# works
create_from_github("markfairbanks/tidydt", fork = TRUE,
                   rstudio = TRUE, protocol = "https")
✔ Creating 'C:/Users/leungi/Desktop/tidydt/'Forking 'markfairbanks/tidydt'Cloning repo from 'https://github.com/leungi/tidydt.git' into 'C:/Users/leungi/Desktop/tidydt'Setting active project to 'C:/Users/leungi/Desktop/tidydt'Adding 'upstream' remote: 'https://github.com/markfairbanks/tidydt.git'Pulling changes from GitHub source repo 'upstream/master'Setting remote tracking branch for local 'master' branch to 'upstream/master'Opening 'C:/Users/leungi/Desktop/tidydt/' in new RStudio sessionSetting active project to '<no active project>'
@leungi leungi changed the title EPERM create_from_github() fails when setting destdir to a network drive Jan 19, 2020
@jennybc
Copy link
Member

jennybc commented Jan 20, 2020

This is being tracked at r-lib/fs#147.

@jennybc jennybc closed this as completed Jan 20, 2020
@leungi
Copy link
Author

leungi commented Jan 20, 2020

@jennybc: thanks for referencing open issue; that issue didn't show up on the suggested search list as I was typing out this one.

Apologies for inconvenience.

@jennybc
Copy link
Member

jennybc commented Jan 20, 2020

No worries, there's no way you'd know to make the connection.

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

No branches or pull requests

2 participants