简体   繁体   English

无法安装R软件包-找不到“ scales.so”,在NAMESPACE中声明但未找到S3方法

[英]Having trouble installing R package - “scales.so” not found, S3 methods declared in NAMESPACE but not found

I'm trying to install a package in CRAN and one of the dependencies is throwing this error: 我正在尝试在CRAN中安装软件包,并且其中一个依赖项引发了此错误:

* installing *source* package ‘viridis’ ...
** package ‘viridis’ successfully unpacked and MD5 sums checked
** R
** data
*** moving datasets to lazyload DB
** inst
** preparing package for lazy loading
Warning: S3 methods ‘fullseq.Date’, ‘fullseq.POSIXt’, ‘fullseq.numeric’, ‘print.trans’ were declared in NAMESPACE but not found
Error in library.dynam(lib, package, package.lib) : 
  shared object ‘scales.so’ not found
ERROR: lazy loading failed for package ‘viridis’

This is on Linux 12.04.5 LTS, 这是在Linux 12.04.5 LTS上,

R version 3.2.5 R版本3.2.5

原来你可以用

install.packages('scales')

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 S3 方法已在 NAMESPACE 中声明,但未在 R 中找到 - S3 methods were declared in NAMESPACE but not found for R r:程序包arm:加载时出错:从名称空间“ arm”导出的方法(不是S4通用)时发现的函数:“ fixef”,“ ranef” - r: package arm: error when loading: Functions found when exporting methods from the namespace ‘arm’ which are not S4 generic: ‘fixef’, ‘ranef’ 安装 R 包 httpuv 时遇到问题 - Having trouble installing R package httpuv 安装 AWS S3 R 包 - Installing AWS S3 R package 摘要 package 未安装在 R - lgfortran 未找到 - digest package not installing in R - lgfortran not found 在R中使用quantmod包修复错误时遇到问题:继承错误(x,“xts”):找不到对象“M” - Having trouble fixing error using quantmod package in R : Error in inherits(x, “xts”): object 'M' not found calls 使用 R,如何从诸如“S3”之类的方法命名空间中删除 function? - Using R, how to delist a function from a methods namespace such as `S3`? 安装 RIO 包:找不到共享对象“haven.so” - Installing RIO Package : shared object ‘haven.so’ not found 使用data()的R包命名空间问题 - 未找到数据集 - R package namespace issue using data() — data set not found R使用s3和s4方法在同一个包中进行模拟 - R using s3 and s4 methods of simulate in the same package
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM