Skip to content

Depends line in description preventing install_github() success #1

Description

@RickPack

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions