ropensci/rmangal

as.igraph should be imported, not redefined.

KevCaz opened this issue · 1 comments

Otherwise if we load igraph after rmangal we get:

Attaching package: 'igraph'

The following object is masked from 'package:tibble':

    as_data_frame

The following object is masked from 'package:rmangal':

    as.igraph

and later on :

no applicable method for 'as.igraph' applied to an object of class "mgNetworksCollection"

I've tried several ways, I ended up renaming the function. @SteveViss if you find a better way, let me know