Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing installing bold package #99

Closed
Natacha66 opened this issue Sep 6, 2023 · 6 comments · Fixed by #100
Closed

Failing installing bold package #99

Natacha66 opened this issue Sep 6, 2023 · 6 comments · Fixed by #100

Comments

@Natacha66
Copy link

Hello,

I am trying to install bold package on R studio (version 4.0.4) however I am receiving the message below and can't find how to fix the problem. (I get the same problem when trying remotes::install_github("ropensci/bold").
thank you for your help.

install.packages("bold")
Installing package into ‘C:/Users/natac/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)

There is a binary version available but the source version is later:
binary source needs_compilation
bold 1.2.0 1.3.0 FALSE

installing the source package ‘bold’

trying URL 'https://cran.rstudio.com/src/contrib/bold_1.3.0.tar.gz'
Content type 'application/x-gzip' length 2030481 bytes (1.9 MB)
downloaded 1.9 MB

  • installing source package 'bold' ...
    ** package 'bold' correctement décompressé et sommes MD5 vérifiées
    ** using staged installation
    ** R
    Error in parse(outFile) :
    C:/Users/natac/AppData/Local/Temp/RtmpkZnH2o/R.INSTALL53f05db256/bold/R/bold_identify_taxonomy.R:43:24: unexpected input
    42: taxOnly <- b_assert_logical(taxOnly, name = "taxOnly")
    43: hasID <- vapply(x,
    ^
    ERROR: unable to collate and parse R files for package 'bold'
  • removing 'C:/Users/natac/Documents/R/win-library/4.0/bold'
    Warning in install.packages :
    installation of package ‘bold’ had non-zero exit status
@salix-d
Copy link
Collaborator

salix-d commented Sep 6, 2023

I think I see the problem: At line 43 in the file 'bold_identify_taxonomy.R' I used \(x) instead of function(x).
My bad ^^'

I've just fix the github version (and check if there was other cases of that; it seems to be the only one).
Can you retry installing with remotes::install_github("ropensci/bold")?

@salix-d
Copy link
Collaborator

salix-d commented Sep 6, 2023

package 'bold' correctement décompressé et sommes MD5 vérifiées

En passant, je parle aussi français si c'est plus facile 🙂

@Natacha66
Copy link
Author

Natacha66 commented Sep 7, 2023 via email

@salix-d
Copy link
Collaborator

salix-d commented Sep 7, 2023

Okay je vais corriger ça et revérifier être sûr que y'en a plus d'autre.

Désolée de t’embêter.

Mais non! je suis là pour ça 🙂 (et c'est ma faute de toute façon 😆)

@salix-d salix-d linked a pull request Sep 8, 2023 that will close this issue
@salix-d salix-d reopened this Sep 8, 2023
@salix-d
Copy link
Collaborator

salix-d commented Sep 8, 2023

Finalement, y'en avait 4 autres ^^'

Mais là, ça devrait marcher 🤞

@Natacha66
Copy link
Author

Natacha66 commented Sep 12, 2023 via email

@salix-d salix-d closed this as completed Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants