From 750fb95b8ace3f63da3c9fa3e3dd60d74af4d374 Mon Sep 17 00:00:00 2001 From: Lisa Steinmann <37840007+lsteinmann@users.noreply.github.com> Date: Wed, 1 Nov 2023 19:05:58 +0100 Subject: [PATCH] remove sink --- R/checks.R | 3 --- R/figures.R | 3 --- R/get_bib.R | 3 --- R/setup_tex_files.R | 3 --- data/tags/get_tags.R | 3 --- 5 files changed, 15 deletions(-) diff --git a/R/checks.R b/R/checks.R index f5f2bc9..b828f46 100644 --- a/R/checks.R +++ b/R/checks.R @@ -1,6 +1,3 @@ -log_checks <- file("out/logs/checks.log", open = "at") -sink(log_checks, type = "message") - pr_comment_file <- "out/pr_comment.txt" comment_to_pr <- function(msg, file = pr_comment_file) { write(msg, file = file, append = TRUE) diff --git a/R/figures.R b/R/figures.R index 1e9bf42..3b8fde4 100644 --- a/R/figures.R +++ b/R/figures.R @@ -1,6 +1,3 @@ -log_figures <- file("out/logs/figures.log", open = "at") -sink(log_figures, type = "message") - message("Making new figures for exports.") if (exists("bib_csv")) { diff --git a/R/get_bib.R b/R/get_bib.R index e82fdc5..d2a32d0 100644 --- a/R/get_bib.R +++ b/R/get_bib.R @@ -1,6 +1,3 @@ -log_getbib <- file("out/logs/get_bib.log", open = "at") -sink(log_getbib, type = "message") - ## Setup # API key is stored in .Renviron, edit with file.edit("~/.Renviron") diff --git a/R/setup_tex_files.R b/R/setup_tex_files.R index 1d0ca60..6b45611 100644 --- a/R/setup_tex_files.R +++ b/R/setup_tex_files.R @@ -1,6 +1,3 @@ -log_tex <- file("out/logs/setup_tex_files.log", open = "at") -sink(log_tex, type = "message") - message("Producing *.tex-files for exports.") if (exists("bib_csv")) { diff --git a/data/tags/get_tags.R b/data/tags/get_tags.R index e19227b..28f44bd 100644 --- a/data/tags/get_tags.R +++ b/data/tags/get_tags.R @@ -1,6 +1,3 @@ -log_tags <- file("out/logs/get_tags.log", open = "at") -sink(log_tags, type = "message") - tags_sys <- read.csv("data/tags/tags_sys.csv", sep = ";", encoding = "UTF-8", na.strings = "", colClasses = c("character"))