Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 205301

Built r package: functions with the same name but from different package

$
0
0

I want to write my own package and use "nodes" function from bnlearn and graph package. But when I check my package this warning appears:

Warning: replacing previous import 'bnlearn::nodes' by 'graph::nodes' when loading 'mypackage'

I used "::" everywhere for nodes function to determine the package. But the warning message didn't solve. In advance thanks for your help. thank you all for your answers. I added "library(..., warn.conflicts=FALSE)" to my vignette but unfortunately, when I submit my package to cran, they reject it just for this one warning.


Viewing all articles
Browse latest Browse all 205301

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>