roualdes / bridgestan

BridgeStan provides efficient in-memory access through Python, Julia, and R to the methods of a Stan model.
https://roualdes.github.io/bridgestan
BSD 3-Clause "New" or "Revised" License
87 stars 12 forks source link

Add a download flag to get_bridgestan_path #236

Closed WardBrian closed 2 weeks ago

WardBrian commented 2 weeks ago

Closes #220 (@avehtari)

This adds a flag download to all the interfaces' get_bridgestan_path functions. The default is true, which is the previous behavior. Setting to false allows you to inspect the current value without triggering a download if it is not found.

Internally we always use the default value, but some users may want to check if their custom installation is working without triggering a download if it isn't.