我正在开发一个名为MyPkgName
的R包,它导入plyr
和dplyr
。当我构建并安装我的软件包时,我收到以下警告消息:
Warning: replacing previous import by ‘plyr::arrange’ when loading ‘MyPkgName’
Warning: replacing previous import by ‘plyr::desc’ when loading ‘MyPkgName’
Warning: replacing previous import by ‘plyr::failwith’ when loading ‘MyPkgName’
Warning: replacing previous import by ‘plyr::id’ when loading ‘MyPkgName’
Warning: replacing previous import by ‘plyr::mutate’ when loading ‘MyPkgName’
Warning: replacing previous import by ‘plyr::summarise’ when loading ‘MyPkgName’
Warning: replacing previous import by ‘plyr::summarize’ when loading ‘MyPkgName’
我不确定它们是否会导致同时导入plyr
和dplyr
个包...我想我先导入plyr
然后导入dplyr
。有办法解决这个问题吗?我在每个包中使用了几个函数。谢谢!