[英]Rcmd Check: Unexported objects imported by ':::' calls I have never used
I am trying to write my first R package. 我正在尝试编写我的第一个R包。 But with
Rcmd check
I always get the following message: 但是使用
Rcmd check
我总是会收到以下消息:
❯ checking dependencies in R code ... NOTE
Unexported object imported by a ':::' call: ‘knitr:::is_blank’
See the note in ?`:::` about the use of this operator.
0 errors ✔ | 0 warnings ✔ | 1 note ✖
R CMD check succeeded
But I have is_blank()
never used in my R scripts! 但是我有在我的R脚本中从未使用过的
is_blank()
!
I have used knitr
(and rmarkdown
) for the Vignettes: 我已经为Vignettes使用了
knitr
(和rmarkdown
):
%\VignetteEngine{knitr::rmarkdown}
And I have knitr
(and rmarkdown
) included in the Suggests and VignetteBuilder: 我将
knitr
(和rmarkdown
)包含在rmarkdown
和VignetteBuilder中:
Suggests:
knitr,
rmarkdown
VignetteBuilder:
knitr,
rmarkdown
I hope this information is enough to understand my difficulty. 我希望这些信息足以理解我的困难。 What is the problem respectively what did I wrong?
有什么问题我分别错了什么?
My package is at https://github.com/petzi53/coinsR and I am using R version 3.6.0 (2019-04-26) on a Mac. 我的软件包在https://github.com/petzi53/coinsR上 ,我在Mac上使用R版本3.6.0(2019-04-26)。
Does the error still show when you remove/comment out the other lines with :::
ie 当您使用
:::
删除/注释掉其他行时,错误仍然显示吗?
fetch_yaml = bookdown:::fetch_yaml
load_config = blogdown:::load_config
split_yaml_body = blogdown:::split_yaml_body
in utils.R 在utils.R中
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.