I'm make a new package in R. In a function of mine, I called get_subnetwork
from Package STRINGdb
, while function get_subnetwork
called function graph.data.frame
internally and function graph.data.frame
is from another package igraph
.
Here I wanted to make package STRINGdb
and igraph
as imports but not depends in the DESCRIPTION of my new package. When I ran the code, it showed
Error in load() : could not find function "graph.data.frame"