From 58dc341405aa9f0ce68b15ce3ce53927ed1f256e Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 16 Aug 2024 14:27:54 -0300 Subject: Fix: provision: ensure a recent ggplot2 is used --- bin/provision | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'bin') diff --git a/bin/provision b/bin/provision index 21ca98e..3ae4ba4 100755 --- a/bin/provision +++ b/bin/provision @@ -77,5 +77,14 @@ if [ "$BOOKDOWN_PACKAGING" == "CRAN" ]; then else $SUDO apt install -y r-cran-bookdown $SUDO apt install -y r-cran-pdftools + + # As of 2024-08-16, this package is not available on Debian bookworm $SUDO Rscript -e 'install.packages("eulerr")' + + # As of 2024-08-16, ggplot2 from Debian bookworm version is 3.4.1, whereas + # some downstreams need functionality from 3.5.0 (specifically, the ability + # to use 'theme(legend.position = "inside"' constructs. + # + # Therefore we're currently installing a ggplot2 version from CRAN. + $SUDO Rscript -e 'install.packages("ggplot2")' fi -- cgit v1.2.3