I experienced an error that prevented the use of install_github.
> devtools::install_github('topepo/AppliedPredictiveModeling')
Downloading GitHub repo topepo/AppliedPredictiveModeling@master
Error in FUN(X[[i]], ...) :
Invalid comparison operator in dependency: >=
I fixed this by forking the repo and editing the "Depends:" line in the DESCRIPTION to match a package I suspected would install without issue, ggplot2.
This solution was attempted based on this devtools issue and solution. It appears the space at the missing of the depends line in DESCRIPTION is causing the problem:
Depends: R (>= 2.10)
Notice the space after the closed parenthesis.
I experienced an error that prevented the use of install_github.
I fixed this by forking the repo and editing the "Depends:" line in the DESCRIPTION to match a package I suspected would install without issue, ggplot2.
This solution was attempted based on this devtools issue and solution. It appears the space at the missing of the depends line in DESCRIPTION is causing the problem:
Depends: R (>= 2.10)Notice the space after the closed parenthesis.