Commit d4eecce2 authored by Facundo Muñoz's avatar Facundo Muñoz ®️
Browse files

Give up Africa report? We don't have lockdown dates.

parent 615c1bf2
Pipeline #16547 passed with stage
in 4 minutes and 9 seconds
......@@ -135,53 +135,53 @@ plan <- drake_plan(## raw_data = read_excel(
report_euro_html =
rmarkdown::render(
knitr_in("src/Covid19MortalityEurope.Rmd"),
# knit_root_dir = "../public", # Is this necessary or convenient?
output_dir = "public", # https://github.com/ropensci/drake/issues/742
output_format =
rmdformats::readthedown(
dev = "png",
lightbox = T,
gallery = T,
use_bookdown = T,
number_sections = T),
output_file =
file_out("public/covid19MortalityEurope.html"),
quiet = FALSE
),
knitr_in("src/Covid19MortalityEurope.Rmd"),
# knit_root_dir = "../public", # Is this necessary or convenient?
output_dir = "public", # https://github.com/ropensci/drake/issues/742
output_format =
rmdformats::readthedown(
dev = "png",
lightbox = T,
gallery = T,
use_bookdown = T,
number_sections = T),
output_file =
file_out("public/covid19MortalityEurope.html"),
quiet = FALSE
),
report_euro_pdf =
rmarkdown::render(
knitr_in("src/Covid19MortalityEurope.Rmd"),
# knit_root_dir = "../public", # Is this necessary or convenient?
output_dir = "public", # https://github.com/ropensci/drake/issues/742
output_format =
bookdown::pdf_document2(
dev = "pdf",
includes = list(
in_header = "preamble.tex",
before_body = "before_body.tex"),
classoption = "a4paper",
number_sections = T,
latex_engine = "xelatex"
),
output_file = file_out("public/covid19MortalityEurope.pdf"),
quiet = FALSE
),
knitr_in("src/Covid19MortalityEurope.Rmd"),
# knit_root_dir = "../public", # Is this necessary or convenient?
output_dir = "public", # https://github.com/ropensci/drake/issues/742
output_format =
bookdown::pdf_document2(
dev = "pdf",
includes = list(
in_header = "preamble.tex",
before_body = "before_body.tex"),
classoption = "a4paper",
number_sections = T,
latex_engine = "xelatex"
),
output_file = file_out("public/covid19MortalityEurope.pdf"),
quiet = FALSE
),
report_euro_docx =
rmarkdown::render(
knitr_in("src/Covid19MortalityEurope.Rmd"),
# knit_root_dir = "../public", # Is this necessary or convenient?
output_dir = "public", # https://github.com/ropensci/drake/issues/742
output_format =
bookdown::word_document2(
dev = "png",
number_sections = T
),
output_file = file_out("public/covid19MortalityEurope.docx"),
quiet = FALSE
),
knitr_in("src/Covid19MortalityEurope.Rmd"),
# knit_root_dir = "../public", # Is this necessary or convenient?
output_dir = "public", # https://github.com/ropensci/drake/issues/742
output_format =
bookdown::word_document2(
dev = "png",
number_sections = T
),
output_file = file_out("public/covid19MortalityEurope.docx"),
quiet = FALSE
),
## report_wcafrica_html =
## rmarkdown::render(
......@@ -199,21 +199,21 @@ plan <- drake_plan(## raw_data = read_excel(
## quiet = FALSE
## ),
# WEBSITE AND README ------------------------------------------------------
# WEBSITE AND README ------------------------------------------------------
readme_md =
rmarkdown::render(
knitr_in("README.Rmd"),
output_file = file_out("README.md"),
quiet = FALSE
),
knitr_in("README.Rmd"),
output_file = file_out("README.md"),
quiet = FALSE
),
index_html =
## Render to html within public
rmarkdown::render(
knitr_in("README.Rmd"),
output_dir = "public", # https://github.com/ropensci/drake/issues/742
output_file = file_out("public/index.html"),
quiet = FALSE
),
)
knitr_in("README.Rmd"),
output_dir = "public", # https://github.com/ropensci/drake/issues/742
output_file = file_out("public/index.html"),
quiet = FALSE
),
)
future::plan(future.callr::callr)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment