swirldev / swirlify

:books: A toolbox for writing swirl courses
Other
63 stars 47 forks source link

Error when trying to install using devtools #9

Closed rpietro closed 10 years ago

rpietro commented 10 years ago

hey guys, i tried to do an install using:

devtools::install_github(c("swirldev/swirl", "swirldev/swirlify"))

at first it told me that htmltools couldn't be installed and so i download the tgz and installed locally. trying again, it doesn't give me any errors other than the last line saying that it was DONE but not quite hahaha but then it doesn't tell me what went wrong. Not sure what to do next, any thoughts? How can I install from a local file? Please see output below

devtools::install_github(c("swirldev/swirl", "swirldev/swirlify")) Installing github repo swirl/master from swirldev Downloading master.zip from https://github.com/swirldev/swirl/archive/master.zip Installing package from /var/folders/pn/_9xy5vn97pdfg6q1t4h43lr00000gn/T//RtmpkrWTgb/master.zip arguments 'minimized' and 'invisible' are for Windows only Installing swirl '/Library/Frameworks/R.framework/Resources/bin/R' --vanilla CMD \ INSTALL \ '/private/var/folders/pn/_9xy5vn97pdfg6q1t4h43lr00000gn/T/RtmpkrWTgb/devtools17d2522697fa/swirl-master' \ --library='/Library/Frameworks/R.framework/Versions/3.1/Resources/library' \ --install-tests

  • installing source package 'swirl' ... * R * inst * tests * preparing package for lazy loading \ help ** installing help indices * building package indices \ testing if installed package can be loaded
  • DONE (swirl) Reloading installed swirl unloadNamespace("swirl") not successful. Forcing unload. Installing github repo swirlify/master from swirldev Downloading master.zip from https://github.com/swirldev/swirlify/archive/master.zip Installing package from /var/folders/pn/_9xy5vn97pdfg6q1t4h43lr00000gn/T//RtmpkrWTgb/master.zip arguments 'minimized' and 'invisible' are for Windows only Installing swirlify '/Library/Frameworks/R.framework/Resources/bin/R' --vanilla CMD \ INSTALL \ '/private/var/folders/pn/_9xy5vn97pdfg6q1t4h43lr00000gn/T/RtmpkrWTgb/devtools17d263c3c838/swirlify-master' \ --library='/Library/Frameworks/R.framework/Versions/3.1/Resources/library' \ --install-tests
  • installing source package 'swirlify' ... * R * inst * preparing package for lazy loading * help ** installing help indices * building package indices \ testing if installed package can be loaded
  • DONE (swirlify) Reloading installed swirlify
  • installing source package 'swirl' ... * R * inst * tests * preparing package for lazy loading \ help ** installing help indices * building package indices \ testing if installed package can be loaded
  • DONE (swirl)
  • installing source package 'swirlify' ... * R * inst * preparing package for lazy loading * help ** installing help indices * building package indices \ testing if installed package can be loaded
  • DONE (swirlify)

| Not quite, but you're learning! Try again. Or, type info() for more | options.

| Type x and press Enter. This will automatically print the value of x.

WilCrofter commented 10 years ago

Hi @rpietro. It looks to me as if the two installations from github worked. The diagnostic, "Not quite but you're learning ..." is from swirl() itself, not from devtools::install_github. Best I can tell, an earlier installation of swirl() was running when you called install_github. Is that possible?

I would restart R, then use library(swirl) and/or library(swirlify) to check that the two packages are present. I believe they will be.

rpietro commented 10 years ago

You got it, working now

Thanks On Sep 9, 2014 5:22 PM, "William R Bauer" notifications@github.com wrote:

Hi @rpietro https://github.com/rpietro. It looks to me as if the two installations from github worked. The diagnostic, "Not quite but you're learning ..." is from swirl() itself, not from devtools::install_github. Best I can tell, an earlier installation of swirl() was running when you called install_github. Is that possible?

I would restart R, then use library(swirl) and/or library(swirlify) to check that the two packages are present. I believe they will be.

— Reply to this email directly or view it on GitHub https://github.com/swirldev/swirlify/issues/9#issuecomment-55037969.

WilCrofter commented 10 years ago

Great, @rpietro! Thanks for trying swirl(), here's wishing you a good time with it.

Closing this issue now.