tests/testthat/_snaps/greta-sitrep.md

check_tf_version errors when have_python, _tf, or _tfp is FALSE

Code
  check_tf_version("error")
Condition
  Error in `check_tf_version()`:
  ! x greta could not load Python with TensorFlow and TensorFlow Probability.
  i Run `greta::greta_sitrep()` to check your installation.
  i For help, including offline or conda installs, see the installation vignette (`vignette(greta::installation)`), or install a conda environment with `install_greta_deps()`.
x greta could not load Python with TensorFlow and TensorFlow Probability.
i Run `greta::greta_sitrep()` to check your installation.
i For help, including offline or conda installs, see the installation vignette (`vignette(greta::installation)`), or install a conda environment with `install_greta_deps()`.
Code
  check_tf_version("message")
Message
  x greta could not load Python with TensorFlow and TensorFlow Probability.
  i Run `greta::greta_sitrep()` to check your installation.
  i For help, including offline or conda installs, see the installation vignette (`vignette(greta::installation)`), or install a conda environment with `install_greta_deps()`.

check_tf_version fails when tfp not available

Code
  check_tf_version("error")
Message
  i Initialising python and checking dependencies, this may take a moment.
  x Initialising python and checking dependencies, this may take a moment. ... ...

Condition
  Error in `check_tf_version()`:
  ! x greta could not load Python with TensorFlow and TensorFlow Probability.
  i Run `greta::greta_sitrep()` to check your installation.
  i For help, including offline or conda installs, see the installation vignette (`vignette(greta::installation)`), or install a conda environment with `install_greta_deps()`.

greta_sitrep warns when have_python, _tf, or _tfp is FALSE

x greta could not load Python with TensorFlow and TensorFlow Probability.
i Run `greta::greta_sitrep()` to check your installation.
i For help, including offline or conda installs, see the installation vignette (`vignette(greta::installation)`), or install a conda environment with `install_greta_deps()`.
x greta could not load Python with TensorFlow and TensorFlow Probability.
i Run `greta::greta_sitrep()` to check your installation.
i For help, including offline or conda installs, see the installation vignette (`vignette(greta::installation)`), or install a conda environment with `install_greta_deps()`.
x greta could not load Python with TensorFlow and TensorFlow Probability.
i Run `greta::greta_sitrep()` to check your installation.
i For help, including offline or conda installs, see the installation vignette (`vignette(greta::installation)`), or install a conda environment with `install_greta_deps()`.
x greta could not load Python with TensorFlow and TensorFlow Probability.
i Run `greta::greta_sitrep()` to check your installation.
i For help, including offline or conda installs, see the installation vignette (`vignette(greta::installation)`), or install a conda environment with `install_greta_deps()`.
x greta could not load Python with TensorFlow and TensorFlow Probability.
i Run `greta::greta_sitrep()` to check your installation.
i For help, including offline or conda installs, see the installation vignette (`vignette(greta::installation)`), or install a conda environment with `install_greta_deps()`.
x greta could not load Python with TensorFlow and TensorFlow Probability.
i Run `greta::greta_sitrep()` to check your installation.
i For help, including offline or conda installs, see the installation vignette (`vignette(greta::installation)`), or install a conda environment with `install_greta_deps()`.
Code
  greta_sitrep()
Message
  i checking if python available
  v python (v3.11) available

  i checking if TensorFlow available
  v TensorFlow (v2.15.1) available

  i checking if TensorFlow Probability available
  v TensorFlow Probability (v0.23.0) available

  i greta conda environment: not used (managed (uv) environment active)
  * backend: "managed (uv) environment"
  * selected via: default
  i All dependencies available; greta is ready to use!

greta_sitrep warns when different versions of python, tf, tfp

Code
  greta_sitrep()
Message
  i checking if python available
  v python (v3.6) available

  i checking if TensorFlow available
  v TensorFlow (v2.15.1) available

  i checking if TensorFlow Probability available
  v TensorFlow Probability (v0.23.0) available

  i greta conda environment: not used (managed (uv) environment active)
  * backend: "managed (uv) environment"
  * selected via: default
  i All dependencies available; greta is ready to use!
Code
  greta_sitrep()
Message
  i checking if python available
  v python (v3.6) available

  i checking if TensorFlow available
  v TensorFlow (v2.0.0) available

  i checking if TensorFlow Probability available
  v TensorFlow Probability (v0.23.0) available

  i greta conda environment: not used (managed (uv) environment active)
  * backend: "managed (uv) environment"
  * selected via: default
  i All dependencies available; greta is ready to use!
Code
  greta_sitrep()
Message
  i checking if python available
  v python (v3.6) available

  i checking if TensorFlow available
  v TensorFlow (v2.0.0) available

  i checking if TensorFlow Probability available
  v TensorFlow Probability (v0.9.0) available

  i greta conda environment: not used (managed (uv) environment active)
  * backend: "managed (uv) environment"
  * selected via: default
  i All dependencies available; greta is ready to use!

greta_sitrep reports a missing conda env as unused when managed

Code
  greta_sitrep()
Message
  i checking if python available
  v python (v3.11) available

  i checking if TensorFlow available
  v TensorFlow (v2.15.1) available

  i checking if TensorFlow Probability available
  v TensorFlow Probability (v0.23.0) available

  i greta conda environment: not used (managed (uv) environment active)
  * backend: "managed (uv) environment"
  * selected via: default
  i All dependencies available; greta is ready to use!

conda env status keeps the availability check off-managed

Code
  report_greta_conda_env_status(plan = plan_managed)
Message
  i greta conda environment: not used (managed (uv) environment active)
Code
  report_greta_conda_env_status(plan = plan_conda)
Message
  i checking if greta conda environment available
  x greta conda environment not available

greta_sitrep works with quiet, minimal, and detailed options

Code
  greta_sitrep(verbosity = "quiet")
Code
  greta_sitrep(verbosity = "minimal")
Message
  i checking if python available
  v python (v3.11) available

  i checking if TensorFlow available
  v TensorFlow (v2.15.1) available

  i checking if TensorFlow Probability available
  v TensorFlow Probability (v0.23.0) available

  i greta conda environment: not used (managed (uv) environment active)
  * backend: "<backend>"
  * selected via: <source>
  i All dependencies available; greta is ready to use!
Code
  greta_sitrep(verbosity = "bananas")
Condition
  Error in `greta_sitrep()`:
  ! `verbosity` must be one of "minimal", "detailed", or "quiet", not "bananas".


Try the greta package in your browser

Any scripts or data that you put into this service are public.

greta documentation built on July 20, 2026, 5:09 p.m.