简体   繁体   English

警告:将之前的导入“DT::dataTableOutput”替换为“shiny::dataTableOutput”

[英]Warning: replacing previous import 'DT::dataTableOutput' by 'shiny::dataTableOutput'

I am building a package based on shiny and I get the following error message:我正在构建一个基于 shiny 的 package,我收到以下错误消息:

Warning: replacing previous import ‘DT::dataTableOutput’ by ‘shiny::dataTableOutput’ when loading ‘StatisticTeach1’
     Warning: replacing previous import ‘DT::renderDataTable’ by ‘shiny::renderDataTable’ when loading ‘StatisticTeach1’

Although I make the suggested changes the problem persist尽管我进行了建议的更改,但问题仍然存在

You can use the following namespace您可以使用以下命名空间

#' @rawNamespace import(shiny, except=c(dataTableOutput, renderDataTable))

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM