Skip to content

Fails to install if repo is not named "CRAN" #6

@xguardi

Description

@xguardi

Installation failed bc:

current_cran <- getOption("repos")["CRAN"]
returned NA

I had to manually add to my .RProfile a repo labelled CRAN:

`options(repos = c("CRAN" = "http://cran.r-project.org"))

as in my case it was labelled differently: 'RStudio'. In any case, cran repos can have other names as well, or you might be using also a corporate one.
`
This is the code that generated the error when Mason tried to install the server

if (current_cran == "@CRAN@")

Cheers,

Xavi.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions