greta-dev / greta

simple and scalable statistical modelling in R
https://greta-stats.org
Other
527 stars 63 forks source link

Rename `greta_python_deps()` to `greta_dep_spec()`? #688

Open njtierney opened 1 month ago

njtierney commented 1 month ago

Not sure if one is more evocative/easier

njtierney commented 3 weeks ago

Thinking for the future, I think we could probably avoid python in the names, as we might be adding other dependencies in the future, e.g., using torch instead of tensorflow.

So python_deps arg could be deps

And the greta_python_deps() spec producer could be called greta_deps_spec()

So instead of:

install_greta_deps(python_deps = greta_python_deps())

You get

install_greta_deps(deps = greta_deps_spec())