From d96021e80d6946365e9efece224472655790f0a4 Mon Sep 17 00:00:00 2001 From: Andrew Singleton Date: Tue, 24 Sep 2024 15:04:23 +0200 Subject: [PATCH] Vignette installs python tobac --- vignettes/tracking_model_OLR.Rmd | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/vignettes/tracking_model_OLR.Rmd b/vignettes/tracking_model_OLR.Rmd index 30e438c..7351a0a 100644 --- a/vignettes/tracking_model_OLR.Rmd +++ b/vignettes/tracking_model_OLR.Rmd @@ -27,6 +27,12 @@ library(harpVis) library(harpTobac) ``` +```{r echo=FALSE} +if (!reticulate::virtualenv_exists("harp-py")) { + install_tobac() +} +``` + # Loading the data First we need to load the data using `read_forecast()` from the _harpIO_