Skip to content

Commit

Permalink
update pipeline for reports
Browse files Browse the repository at this point in the history
  • Loading branch information
david-beauchesne committed Apr 6, 2023
1 parent 1e5f2a6 commit 8f4cc3f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/00-pipeline.R
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,9 @@ pipeline <- function(
# WARNING: Temporary pipeline to export report only to another repo.
# TODO: This is not reproducible and should be removed from the pipeline as soon as this
# repository can be made available publicly
# unlink("../Rapport/docs/", recursive = TRUE) # uncomment
unlink("../Rapport/docs/", recursive = TRUE)
unlink("./report_fr/figures/", recursive = TRUE)
# file.copy("./report_fr/docs", "../Rapport/", recursive = TRUE) # uncomment
file.copy("./report_fr/docs", "../Rapport/", recursive = TRUE) # uncomment
# file.copy("./report_fr/docs/", "./", recursive = TRUE) # delete

# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Expand All @@ -324,9 +324,9 @@ pipeline <- function(
# WARNING: Temporary pipeline to export report only to another repo.
# TODO: This is not reproducible and should be removed from the pipeline as soon as this
# repository can be made available publicly
# unlink("../Report/docs/", recursive = TRUE)
unlink("../Report/docs/", recursive = TRUE)
unlink("./report_en/figures/", recursive = TRUE)
# file.copy("./report_en/docs", "../Report/", recursive = TRUE)
file.copy("./report_en/docs", "../Report/", recursive = TRUE)
}

# =~-~=~-~=~-~=~-~=~-~=~-~=~-~=~-~=~-~=~-~=~-~=~-~=~-~=~-~=~-~=~-~=~-~=~-~=~-~
Expand Down

0 comments on commit 8f4cc3f

Please sign in to comment.