Skip to content

unable to install from github using remotes #1220

@tdhock

Description

@tdhock

What happens?

Looks like there is an error when parsing the DESCRIPTION, when attempting to remotes::install_github. I expected this should be possible, as it is mentioned in the README.

To Reproduce

(emacs1) th798@cn65:~/genomic-ml/data.table-revdeps(master)$ R -e 'remotes::install_github("igraph/rigraph")'

R version 4.3.1 (2023-06-16) -- "Beagle Scouts"
Copyright (C) 2023 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
...
> remotes::install_github("igraph/rigraph")
Error: Failed to install 'unknown package' from GitHub:
  Line starting 'SystemR ...' is malformed!
Execution halted

Note that cloning and then doing R CMD install works fine:

(emacs1) th798@cn65:~/R$ git clone https://github.com/igraph/rigraph
Cloning into 'rigraph'...
remote: Enumerating objects: 149493, done.
remote: Counting objects: 100% (39873/39873), done.
remote: Compressing objects: 100% (4355/4355), done.
remote: Total 149493 (delta 36467), reused 38412 (delta 35225), pack-reused 109\
620
Receiving objects: 100% (149493/149493), 392.61 MiB | 41.04 MiB/s, done.
Resolving deltas: 100% (129610/129610), done.
Updating files: 100% (2380/2380), done.
(emacs1) th798@cn65:~/R$ R CMD INSTALL rigraph/
Loading required namespace: BiocManager
* installing to library '/projects/genomic-ml/lib64/R/library'
* installing *source* package 'igraph' ...
...
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
Loading required namespace: BiocManager
** testing if installed package keeps a record of temporary installation path
* DONE (igraph)

Metadata

Metadata

Assignees

Labels

install 🔌Problems with installing the package, or with compiling in nonstandard environments

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions