nimble-dev / nimble

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

update import of igraph to only import functions used #1482

Closed paciorek closed 4 months ago

paciorek commented 4 months ago

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

paciorek commented 4 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 4 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.