Skip to content

Tutorial 2: Visualisation: Illustrating graphs error #39

@noortjemay

Description

@noortjemay

Describe the bug
This bug is in tutorial 2. The main issue is that the code provided as an example to run, does not work.

Provide system information

  • OS: macOS Tahoe 26.3
  • R version: 4.5.2
  • autograph version: 0.6.0 (manynet: 1.7.2)

To Reproduce
Open tutorial 2, Visualisation and go to Illustrating Graphs. Follow all exercises until you arrive at the exercise called 'tying up loose ends' and click on 'run code'.

fict_lotr %>% 
  mutate_ties(weight = tie_closeness(fict_lotr),
              is_tri = tie_is_triangular(fict_lotr)) %>% 
  graphr(edge_color = "is_tri")

It will show the following:

c("assignment of an object of class "tie_measure" is not valid for @'x' in an object of class "dsTMatrix"; is(value, "numeric") is not TRUE", "assignment of an object of class "numeric" is not valid for @'x' in an object of class "dsTMatrix"; is(value, "numeric") is not TRUE")

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions