[英]Unexported object imported by a ':::' call: 'tsfeatures:::scalets'
在執行 devtools::check(cran=TRUE) 之后,我收到了這個警告。 我看到其他人說我們不能在 CRAN 上使用“:::”。 那么,如何解決這個問題呢? 感謝您的幫助!
> checking dependencies in R code ... NOTE
Unexported object imported by a ':::' call: 'tsfeatures:::scalets'
See the note in ?`:::` about the use of this operator.
在這里你可以找到答案。 https://github.com/drsimonj/twidlr/issues/16
總結起來有很多選擇:
fun <- utils::getFromNamespace("fun", "pkg")
。 當您構建 package 時,函數的順序和位置不相關(除非您使用 S4 或其他外來對象)。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.