Skip to content

Commit

Permalink
create files for phase 1 report
Browse files Browse the repository at this point in the history
  • Loading branch information
janneadolf committed Oct 22, 2024
1 parent 6c74186 commit e8aafca
Show file tree
Hide file tree
Showing 7 changed files with 61 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/report/formal/phase_1/knit_report.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
rmarkdown::render(
input = "source/report/formal/phase_1/master.Rmd",
output_dir = "output/formal/phase_1",
output_file = "phase_1_report.pdf"
)
36 changes: 36 additions & 0 deletions source/report/formal/phase_1/master.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
title: "Phase 1 report"
author: "Janne Adolf"
date: "`r Sys.Date()`"
output:
pdf_document:
toc: true
toc_depth: 2
toc-title: "Overview"
knit: (function(inputFile, encoding) {
rmarkdown::render(
inputFile,
encoding = encoding,
output_dir = "../../../../output/formal/phase_1",
output_file = "phase_1_report.pdf"
) })
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```

\newpage

```{r child-documents, echo = FALSE, results = 'asis'}
sections_list <- list.files(path = "sections", full.names = TRUE)

Check warning on line 26 in source/report/formal/phase_1/master.Rmd

View workflow job for this annotation

GitHub Actions / check project with checklist

file=source/report/formal/phase_1/master.Rmd,line=26,col=66,[trailing_whitespace_linter] Trailing whitespace is superfluous.
children_list <- vector(mode = "list", length = length(sections_list))
for (i in seq_along(sections_list)) {
children_list[[i]] <- knitr::knit_child(
sections_list[[i]],
quiet = TRUE,
envir = environment()
)
}
cat(unlist(children_list), sep = "\n")
```
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Demand side

## Client

\newpage
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<!--# Demand side -->
## Users



\newpage
3 changes: 3 additions & 0 deletions source/report/formal/phase_1/sections/2_scientific_basis.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Scientific basis

\newpage
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Existing monitoring

\newpage
3 changes: 3 additions & 0 deletions source/report/formal/phase_1/sections/4_conditions.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Conditions

\newpage

0 comments on commit e8aafca

Please sign in to comment.