我在从GitHub安装以下R包时遇到问题。我已经安装了devtools并尝试运行:
install_github("lujunyan1118/DrugScreenExplorer")
但我得到的只是以下错误;
Downloading GitHub repo lujunyan1118/DrugScreenExplorer@HEAD
√ checking for file 'C:UsersmarceAppDataLocalTempRtmpesyKBPremotes6bf041cb1deflujunyan1118-DrugScreenExplorer-7c98599/DESCRIPTION' ...
- preparing 'DrugScreenExplorer': (663ms)
√ checking DESCRIPTION meta-information ...
- checking for LF line-endings in source and make files and shell scripts
- checking for empty or unneeded directories
NB: this package now depends on R (>= 3.5.0)
WARNING: Added dependency on R >= 3.5.0 because serialized objects in serialize/load version 3 cannot be read in older versions of R. File(s) containing such objects: 'DrugScreenExplorer/shiny/shinyData.RData' WARNING: Added dependency on R >= 3.5.0 because serialized objects in serialize/load version 3 cannot be read in older versions of R. File(s) containing such objects: 'DrugScreenExplorer/vignettes/src/shiny/shinyData.RData'
- building 'DrugScreenExplorer_0.1.0.tar.gz'
Installing package into ‘C:/Users/marce/OneDrive/Back-Up/Dokumente/R/win-library/4.0’
(as ‘lib’ is unspecified)
* installing *source* package 'DrugScreenExplorer' ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Fehler in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
there is no package called 'Rtsne'
Ruft auf: <Anonymous> ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
Ausführung angehalten
ERROR: lazy loading failed for package 'DrugScreenExplorer'
* removing 'C:/Users/marce/OneDrive/Back-Up/Dokumente/R/win-library/4.0/DrugScreenExplorer'
> Fehler: Failed to install 'DrugScreenExplorer' from GitHub:
> (konvertiert von Warnung) installation of package
> ‘C:/Users/marce/AppData/Local/Temp/RtmpesyKBP/file6bf050512a61/DrugScreenExplorer_0.1.0.tar.gz’
> had non-zero exit status
Rtools(似乎是从GitHub安装包所必需的(已安装,安装任意其他包即可(install_github("dill/beyonce")
(尝试直接通过RStudio安装zip也失败了。
也许我在监督什么。如有任何帮助,我们将不胜感激。谢谢
感谢您的回答!(我也联系了创作者,他是一个合作者(。问题是安装需要其他软件包(其中包括"Rtsne"(,这些软件包必须手动安装。
非常感谢!