Skip to content

Commit

Permalink
remove library(visNetwork) from vignette as requireNamespace loads na…
Browse files Browse the repository at this point in the history
…mespace
  • Loading branch information
joshwlambert committed Sep 30, 2024
1 parent 5be306b commit 4628eb1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion vignettes/design_principles.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ if (!all(epiparameter_class_methods %in% groups$functions)) {
# {visNetwork} is not a package dependency so wrapped in requireNamespace()
if (requireNamespace("visNetwork", quietly = TRUE)) {
library(visNetwork)
visNetwork(nodes, edges) |>
visNodes(font = list(size = 18)) |>
visGroups(groupname = "<epiparameter>", color = colours[1]) |>
Expand Down

0 comments on commit 4628eb1

Please sign in to comment.