mhahsler / arules

Mining Association Rules and Frequent Itemsets with R
http://mhahsler.github.io/arules
GNU General Public License v3.0
194 stars 42 forks source link

build from github fails #17

Closed gdbassett closed 8 years ago

gdbassett commented 8 years ago

I attempted to install the dev version from github (to see if the %pin% issue in issue #16 was fixed in 1.4-2-1) I was unable to build from github. Build is on an up-to-date mac pro with R version 3.3.1 and RStudio 0.99.902.

> devtools::install_github("mhahsler/arules")
Downloading GitHub repo mhahsler/arules@master
from URL https://api.github.com/repos/mhahsler/arules/zipball/master
Error: Could not find build tools necessary to build arules

> devtools::install_git("git://github.com/mhahsler/arules")
Downloading git repo git://github.com/mhahsler/arules
Error: Could not find build tools necessary to build arules

> devtools::install_git("git://github.com/mhahsler/arules", args="--recursive")
Downloading git repo git://github.com/mhahsler/arules
Error: Could not find build tools necessary to build arules
mhahsler commented 8 years ago

You need to install the build tools https://www.rstudio.com/products/rpackages/devtools/.

I presume you need Xcode on a Mac.