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

use_course() #132

Closed
jennybc opened this issue Dec 13, 2017 · 4 comments
Closed

use_course() #132

jennybc opened this issue Dec 13, 2017 · 4 comments

Comments

@jennybc
Copy link
Member

jennybc commented Dec 13, 2017

Grabs a course's-worth of material from DropBox or GitHub (as zip archive), saves to a reasonable place, unpacks it, opens RStudio Project in that place opens directory.

cc @jaredlander

@hadley
Copy link
Member

hadley commented Dec 20, 2017

I think this is fairly straightforward:

  1. Download with download.file()
  2. Unzip to desktop (?) with unzip() and print message
  3. browseUrl() on the downloaded directory, so that it opens in finder/explorer.

@hadley
Copy link
Member

hadley commented Dec 20, 2017

Oh this will be more complicated than I was thinking because you need to figure out how to go from dropbox directory to zip file download (or from github page to equivalent)

@jaredlander
Copy link

Another complicating factor is that a lot of companies now use Box or Dropbox as their Documents folder which is often the only directory to which users have write access. And I've seen Box/Dropbox not play well with RStudio projects and with Git.

@jennybc
Copy link
Member Author

jennybc commented Dec 29, 2017

We will definitely separate the acquisition + unpacking of files from making the folder into an RStudio Project and/or a Git repo. This has pedagogical value (to do those things explicitly) and, as you @jaredlander point out, it may also be very pragmatic.

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

3 participants