[R-pkg-devel] re-exporting plot method?

2024-04-30 Thread Kevin R. Coombes
Hi, I am working on a new package that primarily makes use of "igraph" representations of certain mathematical graphs, in order to apply lots of the comp sci algorithms already implemented in that package. For display purposes, my "igraph" objects already include information that defines

Re: [R-pkg-devel] re-exporting plot method?

2024-04-30 Thread Simon Urbanek
Kevin, welcome to the S4 world! ;) There is really no good solution since S4 only works at all if you attach the package since it relies on replacing the base S3 generic with its own - so the question remains what are your options to do it. The most obvious is to simply add Depends: Rgraphviz