[R包开发]报错解决checking data for ASCI

2019-01-10  本文已影响10人  郑宝童

1.问题产生:

在开发R包的时候,碰到了一个warmings:


warmings

2.解决方案:

https://stackoverflow.com/questions/10233593/how-to-effectively-deal-with-uncompressed-saves-during-package-check

When you save your .rda file, please use the command: save(..., file='test.rda', compress='xz') This will help to solve the problem!

save(..., file='test.rda', compress='xz') 
#注意要有参数compress='xz'

3.问题分析:

产生这个报错的原因是R包嫌弃你的例子数据xxx.rda太大,要你采取其他的压缩方式来保存xxx.rda

上一篇下一篇

猜你喜欢

热点阅读