包或命名空间失败

  • 本文关键字:失败 命名空间 r
  • 更新时间 :
  • 英文 :


我正在尝试安装包"microdosBasil",但遇到了一些问题。安装程序包("remotes"(之后remotes::install_github("lucasmation/micradosBasil"(该程序要求我更新版本,并在此处输入错误:

It is recommended to update all of them.
Which would you like to update?
1: All                           
2: CRAN packages only            
3: None                          
4: Rcpp (1.0.4 -> 1.0.4.6) [CRAN]
Enter one or more numbers, or an empty line to skip updates:
1
...
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
*** arch - i386
Error: package or namespace load failed for 'microdadosBrasil' in library.dynam(lib, package, package.lib):
DLL 'datatable' not found: maybe not installed for this architecture?
Erro: loading failed
Execução interrompida
*** arch - x64
ERROR: loading failed for 'i386'
* removing 'C:/Users/Usuario/OneDrive/Documentos/R/win-library/3.6/microdadosBrasil'
Erro: Failed to install 'microdadosBrasil' from GitHub:
(convertido do aviso) installation of package ‘C:/Users/Usuario/AppData/Local/Temp/RtmpOO4bHT/file3a0479d3ee9/microdadosBrasil_0.0.0.9000.tar.gz’ had non-zero exit status

我有过几次出现这种错误。通常使用手动安装R遇到的程序包就足够了。

所以我会尝试install.packages('i386'),如果你在那个包上得到一个错误,它可能会提供信息。它们通常与底层语言解释器或您需要安装的某种应用程序绑定。

如果您在依赖关系中看到错误,请继续深入研究,直到找到失败的根本原因。一旦你安装了软件包、底层语言或应用程序,你就可以重新开始工作,一切都会好起来的。

相关内容

最新更新