Skip to content

Error when using remotes::install_github("YuLab-SMU/createKEGGdb") #4

@yut8920

Description

@yut8920

I want to try the method to get the latest information about E.coli.But when I type remotes::install_github("YuLab-SMU/createKEGGdb") on RStudio,the program reported an error.

remotes::install_github("YuLab-SMU/createKEGGdb")
Downloading GitHub repo YuLab-SMU/createKEGGdb@master
Skipping 1 packages not available: clusterProfiler
✓ checking for file 'C:\Users\yuwt8\AppData\Local\Temp\Rtmp63vtx0\remotes123865ac3bdb\YuLab-SMU-createKEGGdb-378e7cf/DESCRIPTION' (710ms)
─ preparing 'createKEGGdb':
✓ checking DESCRIPTION meta-information ...
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ building 'createKEGGdb_0.0.2.tar.gz'

  • installing source package 'createKEGGdb' ...
    ** using staged installation
    ** R
    Error : (converted from warning) unable to re-encode 'create_kegg_db.R' line 139
    ERROR: unable to collate and parse R files for package 'createKEGGdb'
  • removing 'C:/Download/R/R-3.6.2/library/createKEGGdb'
    Error: Failed to install 'createKEGGdb' from GitHub:
    (converted from warning) installation of package ‘C:/Users/yuwt8/AppData/Local/Temp/Rtmp63vtx0/file123872f9683b/createKEGGdb_0.0.2.tar.gz’ had non-zero exit status

I wonder the reason and how to solve it.
Thank you!

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