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.