H2o Rd警告:“文件链接丢失”

时间:2019-01-15 00:12:21

标签: r h2o automl

从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”

    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

时,此问题会导致下游错误

2 个答案:

答案 0 :(得分: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}\link[base:character]{as.character},因为指向其他软件包的链接是指向帮助页面的名称,而不是主题别名。如果您使用?h2o.ascharacter寻求帮助,则可能会在帮助页面中找到指向as.character的链接无效。 (通常这样的链接有效,因为R动态帮助系统了解了作者的意思,但是某些安装使用带有内置.html文件的静态帮助系统,其中的链接无效。)

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

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

答案 1 :(得分: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'

下游错误无关。如果您可以将正在运行的代码发布为带有可复制代码的独立问题,我们可以尝试对其进行梳理。