-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more detail to greta_sitrep()
#679
Add more detail to greta_sitrep()
#679
Conversation
Currently can't seem to work out where TF and TFP are installed. I'm also wondering if a verbose = TRUE option might be useful here? The info is getting a little bit long! > greta_sitrep()
── R ─────────────────────────────────────
• version: 4.4.2
• path:
/Library/Frameworks/R.framework/Resources
── greta ─────────────────────────────────
• version: 0.4.5.9000
• path:
"/Users/nick/github/greta-dev/greta"
── python ────────────────────────────────
✔ python (v3.10) available
• path:
"/Users/nick/github/greta-dev/greta"
• path:
"/Users/nick/Library/r-miniconda-arm64"
── TensorFlow ────────────────────────────
✔ TensorFlow (v2.15.0) available
• R path:
/Users/nick/Library/R/arm64/4.4/library/tensorflow
• python path:
"/Users/nick/github/greta-dev/greta"
── TensorFlow Probability ────────────────
✔ TensorFlow Probability (v0.23.0) availa…
• R path:
/Users/nick/Library/R/arm64/4.4/library/tensorflow
• python path:
"/Users/nick/github/greta-dev/greta"
── greta conda environment ───────────────
✔ greta conda environment available
• path:
/Users/nick/Library/r-miniconda-arm64/envs/greta-env-tf2/bin/python
── greta usability ───────────────────────
ℹ greta is ready to use! Compared to: > greta_sitrep()
✔ python (v3.10) available
✔ TensorFlow (v2.15.0) available
✔ TensorFlow Probability (v0.23.0) availa…
✔ greta conda environment available
ℹ greta is ready to use! So perhaps some option like: greta_sitrep(verbosity = "verbose") By default, and then some note that appears at the end of the messages that tells you about the Other options could be "quiet", "minimal", "verbose" ? |
… functions that are much easier to reason with
Current behaviour library(greta)
#>
#> Attaching package: 'greta'
#> The following objects are masked from 'package:stats':
#>
#> binomial, cov2cor, poisson
#> The following objects are masked from 'package:base':
#>
#> %*%, apply, backsolve, beta, chol2inv, colMeans, colSums, diag,
#> eigen, forwardsolve, gamma, identity, rowMeans, rowSums, sweep,
#> tapply
greta_sitrep(verbosity = "minimal")
#> ℹ checking if python available
#> ✔ python (v3.10) available
#>
#> ℹ checking if TensorFlow available
#> ✔ TensorFlow (v2.15.0) available
#>
#> ℹ checking if TensorFlow Probability available
#> ✔ TensorFlow Probability (v0.23.0) available
#>
#> ℹ checking if greta conda environment available
#> ✔ greta conda environment available
#>
#> ℹ Initialising python and checking dependencies, this may take a moment.
#> ✔ Initialising python and checking dependencies ... done!
#>
#> ℹ greta is ready to use!
greta_sitrep(verbosity = "detailed")
#>
#> ── R ───────────────────────────────────────────────────────────────────────────
#> • version: 4.4.2
#> • path: /Library/Frameworks/R.framework/Resources
#>
#> ── greta ───────────────────────────────────────────────────────────────────────
#> • version: 0.5.0.9000
#> • path: "/Users/nick/Library/R/arm64/4.4/library/greta"
#>
#> ── python ──────────────────────────────────────────────────────────────────────
#> ℹ checking if python available
#> ✔ python (v3.10) available
#>
#> • path: "/Users/nick/Library/R/arm64/4.4/library/greta"
#> • path: "/Users/nick/Library/r-miniconda-arm64"
#>
#> ── TensorFlow ──────────────────────────────────────────────────────────────────
#> ℹ checking if TensorFlow available
#> ✔ TensorFlow (v2.15.0) available
#>
#> • R path: '/Users/nick/Library/R/arm64/4.4/library/tensorflow'
#> • python path: "/Users/nick/Library/R/arm64/4.4/library/greta"
#>
#> ── TensorFlow Probability ──────────────────────────────────────────────────────
#> ℹ checking if TensorFlow Probability available
#> ✔ TensorFlow Probability (v0.23.0) available
#>
#> • R path: '/Users/nick/Library/R/arm64/4.4/library/tensorflow'
#> • python path: "/Users/nick/Library/R/arm64/4.4/library/greta"
#>
#> ── greta conda environment ─────────────────────────────────────────────────────
#> ℹ checking if greta conda environment available
#> ✔ greta conda environment available
#>
#> • path: /Users/nick/Library/r-miniconda-arm64/envs/greta-env-tf2/bin/python
#> ℹ greta is ready to use!
greta_sitrep(verbosity = "quiet") Created on 2025-01-24 with reprex v2.1.1
|
…e but greta env isn't
Relevant issue #612
Goals: