biometry / bipartite

repository for the bipartite R-package for network analysis
37 stars 17 forks source link

Unable to install from github--input string 1 is invalid #18

Closed ReichYang closed 1 year ago

ReichYang commented 1 year ago

Please see the attched.

> library(devtools)
Loading required package: usethis
> install_github("biometry/bipartite/bipartite")
Downloading GitHub repo biometry/bipartite@HEAD
Error: Failed to install 'bipartite' from GitHub:
  input string 1 is invalid
In addition: Warning message:
In gsub("\n([^[:blank:]])", "\n \\1", val) :
  unable to translate 'c(person(given = "Carsten F.",
                    family = "Dormann",
                    role = c("aut", "cre"),
                    email = "carsten.dormann@biom.uni-freiburg.de",
                    comment = c(ORCID = "0000-0002-9835-1794")),
    ...' to a wide string
cdormann commented 1 year ago

Hm. I can reproduce the error. However, downloading the tar.gz and running R CMD install on it will install it properly on my computer. Traceback did not help me to understand what devtools cannot translate and why: the formatting of the author list follows specifications (AFAICS). So: I think this is not a bipartite issue, but a devtools one (unless I am wrong).