MangoTheCat / rmdshower

R Markdown template for shower
http://mangothecat.github.io/rmdshower/skeleton.html
Other
147 stars 42 forks source link

Cannot Install for Missing rprojroot Package #32

Closed ArthurZ closed 7 years ago

ArthurZ commented 7 years ago

Since the installation fails if rprojroot package is not present I suggest adding it into the dependencies to install. Log: Installing rmdshower "C:/PROGRA~1/R/R-33~1.2/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL \ "C:/Users/me/AppData/Local/Temp/RtmpsnEWXI/devtools28c043cf7d31/MangoTheCat-rmdshower-cbe203c" \ --library="C:/Program Files/R/R-3.3.2/library" --install-tests

gaborcsardi commented 7 years ago

rmdshower does not depend on rprojroot. It is probably a bug in your installer. Here is an alternative:

source("https://install-github.me/MangoTheCat/rmdshower")
ArthurZ commented 7 years ago

But installing rprojroot indeed did made installing rmdshower possible.

gaborcsardi commented 7 years ago

Still, it is a bug in the installer. The installer should pick up the dependency (which is not from rmdshower) and install rprojroot automatically.

By installing it manually you worked around the installer bug.

gaborcsardi commented 7 years ago

It is a devtools bug: https://github.com/hadley/devtools/issues/1409