2

在我的 linux 上从 R 下载 H2o.ai 时,我收到几个文件丢失的警告,例如: Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.abs.Rd:32: missing file link 'abs'

我正在使用 H2o 的标准安装代码:install.packages("h2o", type="source", repos="http://h2o-release.s3.amazonaws.com/h2o/rel-xu/1/R")

这是带有警告的输出:` h2o.abs html
Rd 警告:/tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.abs.Rd:32:缺少文件链接'abs' h2o.acos html
Rd 警告: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.acos.Rd:24:缺少文件链接“acos”</p>

    h2o.ascharacter                         html  
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.ascharacter.Rd:16: missing file link ‘as.character’
    h2o.asfactor                            html  
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.asfactor.Rd:16: missing file link ‘as.factor’
    h2o.asnumeric                           html  
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.asnumeric.Rd:16: missing file link ‘as.numeric’

    h2o.ceiling                             html  
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.ceiling.Rd:18: missing file link ‘ceiling’

Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.cos.Rd:16: missing file link ‘cos’
    h2o.cosh                                html  
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.cosh.Rd:16: missing file link ‘cosh’
    h2o.coxph                               html  
    h2o.createFrame                         html  
    h2o.cross_validation_fold_assignment    html  
    h2o.cross_validation_holdout_predictions
                                            html  
    h2o.cross_validation_models             html  
    h2o.cross_validation_predictions        html  
    h2o.cummax                              html  
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.cummax.Rd:18: missing file link ‘cummax’
    h2o.cummin                              html  
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.cummin.Rd:18: missing file link ‘cummin’
    h2o.cumprod                             html  
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.cumprod.Rd:18: missing file link ‘cumprod’
    h2o.exp                                 html  
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.exp.Rd:16: missing file link ‘exp’

    h2o.floor                               html  
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.floor.Rd:18: missing file link ‘floor’

    h2o.ischaracter                         html  
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.ischaracter.Rd:16: missing file link ‘is.character’
    h2o.isfactor                            html  
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.isfactor.Rd:16: missing file link ‘is.factor’
    h2o.isnumeric                           html  
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.isnumeric.Rd:16: missing file link ‘is.numeric’

Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.log.Rd:16: missing file link ‘log’
    h2o.log10                               html  
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.log10.Rd:16: missing file link ‘log10’
    h2o.log1p                               html  
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.log1p.Rd:16: missing file link ‘log1p’
    h2o.log2                                html  
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.log2.Rd:16: missing file link ‘log2’

Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.max.Rd:18: missing file link ‘max’
    h2o.mean                                html  
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.mean.Rd:46: missing file link ‘rowMeans’
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.mean.Rd:46: missing file link ‘colMeans’

Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.min.Rd:18: missing file link ‘min’

Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.ncol.Rd:16: missing file link ‘ncol’

Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.rbind.Rd:32: missing file link ‘rbind’

Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.round.Rd:21: missing file link ‘round’

Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.signif.Rd:21: missing file link ‘signif’
    h2o.sin                                 html  
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.sin.Rd:16: missing file link ‘sin’

Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.sqrt.Rd:16: missing file link ‘sqrt’

Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.tan.Rd:16: missing file link ‘tan’
    h2o.tanh                                html  
Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.tanh.Rd:16: missing file link ‘tanh’

Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.trunc.Rd:17: missing file link ‘trunc’

Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.var.Rd:36: missing file link ‘var’

Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.which_max.Rd:29: missing file link ‘which.max’

 building package indices
 testing if installed package can be loaded
 DONE (h2o)

我相信这个问题在使用 automl 时会导致下游错误,Error: DistributedException from localhost/127.0.0.1:54321: 'Categorical value out of bounds

4

2 回答 2

0

这些是包中的错误,但不是很严重的错误。例如,您列出的第一个

Rd warning: /tmp/RtmpdpaSKI/R.INSTALL1d3a6ccc7d9b/h2o/man/h2o.ascharacter.Rd:16: missing file link ‘as.character’

因为该帮助文件包含\link[base]{as.character}不存在的链接。它应该是\link[base]{character}or \link[base:character]{as.character},因为指向其他包的链接指向帮助页面名称,而不是指向主题别名。如果您使用 寻求帮助?h2o.ascharacter,您可能会发现帮助页面中的链接as.character无效。(通常这样的链接确实有效,因为 R 动态帮助系统可以理解作者的意思,但有些安装使用带有预构建.html文件的静态帮助系统,其中链接不起作用。)

帮助系统中跨包链接的规则非常奇怪,看起来h2o作者没有学习它们(或者不关心静态帮助)。

我不知道您对下游错误的猜测是否正确。

于 2019-01-15T01:41:46.647 回答
0

您能否详细说明您正在使用的系统和 R 的版本?我无法使用 R 3.4.4 在 Ubuntu 16.04.5 上重现此问题。我尝试完全按照您的方式安装,也尝试安装 CRAN 的最新版本(两者都是 3.22.0.1 版)。

> install.packages("h2o")
Installing package into '/home/ledell/R/x86_64-pc-linux-gnu-library/3.4'
(as 'lib' is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/h2o_3.22.1.1.tar.gz'
Content type 'application/x-gzip' length 432390 bytes (422 KB)
==================================================
downloaded 422 KB

* installing *source* package 'h2o' ...
** package 'h2o' successfully unpacked and MD5 sums checked
** R
** demo
** inst
** preparing package for lazy loading
Performing one-time download of h2o.jar from
     http://s3.amazonaws.com/h2o-release/h2o/rel-xu/1/Rjar/h2o.jar
(This could take a few minutes, please be patient...)
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (h2o)

The downloaded source packages are in
    '/tmp/RtmpGwtVRB/downloaded_packages'


> install.packages("h2o", type="source", repos="http://h2o-release.s3.amazonaws.com/h2o/rel-xu/1/R")
Installing package into '/home/ledell/R/x86_64-pc-linux-gnu-library/3.4'
(as 'lib' is unspecified)
trying URL 'http://h2o-release.s3.amazonaws.com/h2o/rel-xu/1/R/src/contrib/h2o_3.22.1.1.tar.gz'
Content type 'application/x-tar' length 120971891 bytes (115.4 MB)
==================================================
downloaded 115.4 MB

* installing *source* package 'h2o' ...
** R
** demo
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
* DONE (h2o)

The downloaded source packages are in
    '/tmp/RtmpGwtVRB/downloaded_packages'

下游错误不相关。如果您可以使用可重现的代码将您正在运行的代码作为单独的问题发布,我们可以尝试对其进行排序。

于 2019-01-15T19:19:27.860 回答