Jean-Baptiste-Camps / stemmatology

Stemmatological Analysis of Textual Traditions
GNU General Public License v3.0
15 stars 3 forks source link

PCC.conflicts bug with layout #22

Closed Jean-Baptiste-Camps closed 6 years ago

Jean-Baptiste-Camps commented 6 years ago

Trying to run the example as in:

data(fournival)
myConflicts = PCC.conflicts(fournival)

I have encountered the following bug:

 Error in gplot(myNetwork, displaylabels, label = network.vertex.names(myNetwork),  :   
 Error in gplot: no layout function for mode fruchtermanreingold 
Jean-Baptiste-Camps commented 6 years ago

Curiously, it works when run directly, but not in the example…

Jean-Baptiste-Camps commented 6 years ago

This is a good illustration of why we need examples and unit tests.

Jean-Baptiste-Camps commented 6 years ago

Looks like a namespace issue again, see #18 .