createKEGGdb icon indicating copy to clipboard operation
createKEGGdb copied to clipboard

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

Open yut8920 opened this issue 5 years ago • 0 comments

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!

yut8920 avatar Dec 26 '19 09:12 yut8920