nimble-dev / nimble

The base NIMBLE package for R
http://R-nimble.org
BSD 3-Clause "New" or "Revised" License
156 stars 23 forks source link

update import of igraph to only import functions used #1482

Closed paciorek closed 2 months ago

paciorek commented 2 months ago

This is better practice and should reduce name collisions such as #1469

paciorek commented 2 months ago

@perrydv @danielturek any concerns here? I think testing would reveal any problems, but this does touch any use of a model...

danielturek commented 2 months ago

I took a careful look at the changes.

Want to also add igraph:: prefix to line 2385 of BUGS_modelDef.R, for completeness?

graph <<- igraph::make_empty_graph()

Otherwise, I think it's all fine.