usethis icon indicating copy to clipboard operation
usethis copied to clipboard

Should `create_from_github()` support subdirs?

Open hadley opened this issue 1 year ago • 2 comments

e.g. create_from_github("https://github.com/apache/arrow/tree/master/r")

hadley avatar Sep 19 '22 17:09 hadley

How would that actually work? I.e. what sort of Git concepts / operations are we talking about.

jennybc avatar Sep 19 '22 18:09 jennybc

I think maybe it clones in the same way, you just use_rstudio() in a subdirectory?

hadley avatar Sep 19 '22 21:09 hadley

Another approach would be to scan all subdirectories for an .Rproj file before creating a new one in the root.

hadley avatar Nov 03 '22 13:11 hadley