From 73279ce1bed5f8fdcf146fbd063499bee084c01e Mon Sep 17 00:00:00 2001 From: Lars Vilhuber Date: Wed, 11 Sep 2024 21:59:02 -0400 Subject: [PATCH] Removing redundant files --- presentation/_build.R | 26 -------------------------- presentation/_build.sh | 10 ---------- 2 files changed, 36 deletions(-) delete mode 100644 presentation/_build.R delete mode 100644 presentation/_build.sh diff --git a/presentation/_build.R b/presentation/_build.R deleted file mode 100644 index 6e1063f..0000000 --- a/presentation/_build.R +++ /dev/null @@ -1,26 +0,0 @@ - -# for testing on Mac -sysinf <- Sys.info() - -if ( sysinf['sysname'] == 'Darwin' ) { - Sys.setenv(RSTUDIO_PANDOC="/Applications/RStudio.app/Contents/MacOS/pandoc") -} - -if ( sysinf['sysname'] == 'Windows' ) { - # only if RSTUDIO_PANDOC is not already set - if (Sys.getenv("RSTUDIO_PANDOC")=="" || is.na(Sys.getenv("RSTUDIO_PANDOC"))) { - # this might not always be accurate! True for RStudio RStudio 2024.04.1+748 - Sys.setenv(RSTUDIO_PANDOC="C:/Program Files/RStudio/resources/app/bin/quarto/bin/tools") - } -} - - -# setup a few things, if needed - -setwd(here::here("presentation")) -source(here::here("presentation","libraries.R")) - -#run render - -rmarkdown::render("index.Rmd") - diff --git a/presentation/_build.sh b/presentation/_build.sh deleted file mode 100644 index 89ac589..0000000 --- a/presentation/_build.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -set -ev - - -cd $(dirname $0) - -# build the handbook -Rscript _build.R -