aboutsummaryrefslogtreecommitdiff
path: root/bin/provision
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-08-16 14:27:54 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-08-16 14:27:54 -0300
commit58dc341405aa9f0ce68b15ce3ce53927ed1f256e (patch)
tree658dbc173c1ed2c5bf7394c3135c269f520f5531 /bin/provision
parentbdcca4567263802d86dc6e5e0711397ea7fa2054 (diff)
downloadbookup-58dc341405aa9f0ce68b15ce3ce53927ed1f256e.tar.gz
bookup-58dc341405aa9f0ce68b15ce3ce53927ed1f256e.tar.bz2
Fix: provision: ensure a recent ggplot2 is used0.2.0
Diffstat (limited to 'bin/provision')
-rwxr-xr-xbin/provision9
1 files changed, 9 insertions, 0 deletions
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