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

Error while installing liana #102

Closed
sidrahmaryam-cyber opened this issue Apr 10, 2023 · 5 comments
Closed

Error while installing liana #102

sidrahmaryam-cyber opened this issue Apr 10, 2023 · 5 comments

Comments

@sidrahmaryam-cyber
Copy link

Hello,
I am trying to install liana using
remotes::install_github('saezlab/liana')

However I face this issue:
Error: Failed to install 'unknown package' from GitHub:
Line starting 'Config/testthat/edit ...' is malformed!

Can you please let me know the possible reason or solution.
Thank you so much in advance.

@dbdimitrov
Copy link
Collaborator

Hi @sidrahmaryam-cyber,

I assume that it's an issue with a confilict in testthat versions

A solution is to install liana with a fresh R version (e.g. conda environment)

See these issues:
#73
nhanhocu/metamicrobiomeR#4

Hope this helps.
Daniel

@sidrahmaryam-cyber
Copy link
Author

Thank you so much for the response. However, I am still not able to install it. I tried various ways.
I created conda environment, tried installing, and getting same error. Without the conda, I tried installing in head R, same issue.
I followed the steps in the link, still same problem. :(

Regards,
Sidrah

@dbdimitrov
Copy link
Collaborator

Hi @sidrahmaryam-cyber,

In a replicated issue the author said that this worked for them by installing via source - e.g. glone and install locally. Hope this helps.

@EricDeveaud
Copy link

as usual R error message may be confusing.

PB is a combination of using UTF8 char in DESCRIPTION and locale environment//support

just use plain ascii in DESCRIPTION file and installation goes smooth.

see:

> remotes::install_github("saezlab/liana")                                                                                                                                                                                                                                
Error: Failed to install 'unknown package' from GitHub:
  Line starting 'Config/testthat/edit ...' is malformed!

versus

> remotes::install_github("EricDeveaud/liana")

@dbdimitrov dbdimitrov reopened this Jul 9, 2024
@dbdimitrov
Copy link
Collaborator

I have addressed this in the update that I will push today.

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

No branches or pull requests

3 participants