Skip to content

Commit

Permalink
remove sink
Browse files Browse the repository at this point in the history
  • Loading branch information
lsteinmann committed Nov 1, 2023
1 parent f75c208 commit 750fb95
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 15 deletions.
3 changes: 0 additions & 3 deletions R/checks.R
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
3 changes: 0 additions & 3 deletions R/figures.R
Original file line number Diff line number Diff line change
@@ -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")) {
Expand Down
3 changes: 0 additions & 3 deletions R/get_bib.R
Original file line number Diff line number Diff line change
@@ -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")
Expand Down
3 changes: 0 additions & 3 deletions R/setup_tex_files.R
Original file line number Diff line number Diff line change
@@ -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")) {
Expand Down
3 changes: 0 additions & 3 deletions data/tags/get_tags.R
Original file line number Diff line number Diff line change
@@ -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"))
Expand Down

0 comments on commit 750fb95

Please sign in to comment.