Warning: replacing previous import ‘dplyr::as_data_frame’ by ‘igraph::as_data_frame’ when loading ‘hydrographr’
AFAIK, this is because we import dplyr entirely (in NAMESPACE: import(dplyr)), instead of importing individual functions from it, such as importFrom(igraph,as_data_frame).
I think we should remove import(dplyr) and import(magrittr) and check which functions are needed, and import them individually. To get rid of that warning, and have more overview about dependencies.
When we install the package, we get this warning:
Warning: replacing previous import ‘dplyr::as_data_frame’ by ‘igraph::as_data_frame’ when loading ‘hydrographr’
AFAIK, this is because we import
dplyr
entirely (inNAMESPACE
:import(dplyr)
), instead of importing individual functions from it, such asimportFrom(igraph,as_data_frame)
.I think we should remove
import(dplyr)
andimport(magrittr)
and check which functions are needed, and import them individually. To get rid of that warning, and have more overview about dependencies.