Skip to content

Commit

Permalink
Mise en route CI 🤞 👶
Browse files Browse the repository at this point in the history
  • Loading branch information
jengelaere committed Jan 10, 2025
1 parent bba80c8 commit d2435cb
Show file tree
Hide file tree
Showing 13 changed files with 112 additions and 225 deletions.
1 change: 0 additions & 1 deletion .github/.gitignore

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/bookdown-build-and-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Déploiement de parcours_r_module6_publications_reproductibles

on:
push:
branches:
- main
- master

workflow_dispatch:

jobs:
build-and-deploy-bookdown:
name: Build and bookdown
uses: MTES-MCT/parcours-r/.github/workflows/bookdown-build-from-desc-and-deploy.yml@master
with:
r_version: '4.4.1'
14 changes: 14 additions & 0 deletions .github/workflows/bookdown-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Test compilation de parcours_r_module6_publications_reproductibles

on:
pull_request:
branches: [main, master, dev, dev-ci, 36-CI]

workflow_dispatch:

jobs:
build-bookdown:
name: Build bookdown
uses: MTES-MCT/parcours-r/.github/workflows/bookdown-build-from-desc.yml@master
with:
r_version: '4.4.1'
78 changes: 0 additions & 78 deletions .github/workflows/deploy_bookdown.yml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/rstudio-image-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Image docker parcours_r_module6_publications_reproductibles

on:
push:
branches:
- main
- master
- dev
- 36-CI
paths:
- .github/workflows/rstudio-image-build.yml
- Dockerfile
- DESCRIPTION

pull_request:
types:
- created
branches:
- main
- master
- dev
paths:
- .github/workflows/rstudio-image-build.yml
- Dockerfile
- DESCRIPTION

workflow_dispatch:

jobs:
build-rstudio-image:
uses: MTES-MCT/parcours-r/.github/workflows/rstudio-image-build.yml@master
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
_book
_bookdown_files
*.html
support-documents-reproductibles.Rmd
support-documents-reproductibles.Rmd
archives_docs_compiles/
41 changes: 41 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
Type: Book
Package: Parcours-R-M6
Title: Parcours R M6 Publications Reproductibles avec RMarkdown
Version: 0.1.0
Description: Valise pédagogique pour le module 6 du parcours R : Publications Reproductibles avec RMarkdown
License: MIT
URL: https://github.com/MTES-MCT/parcours_r_module_publication_rmarkdown
Encoding: UTF-8
RoxygenNote: 7.2.3
Imports:
COVID19,
dplyr,
emo,
ggplot2,
gouvdown,
gouvdown.fonts,
glue,
htmltools,
kableExtra,
knitr,
lubridate,
metathis,
pagedown,
readr,
rmarkdown,
savoirfR,
scales,
showtext,
stringi,
tidyr,
tidyverse,
tinytex,
xaringan,
xaringanExtra,
xaringanthemer

Remotes:
hadley/emo,
MTES-MCT/savoirfR,
spyrales/gouvdown,
spyrales/gouvdown.fonts
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
ARG R_VERSION=4.4.1

FROM inseefrlab/onyxia-rstudio:r${R_VERSION}
RUN apt-get update && apt-get install -y cargo
RUN R -e "install.packages('remotes', repos = c(CRAN = 'https://cloud.r-project.org'))"
COPY DESCRIPTION DESCRIPTION
RUN R -e 'remotes::install_deps(dependencies = TRUE)'
2 changes: 1 addition & 1 deletion _bookdown.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
book_filename: "support-documents-reproductibles"
book_filename: "M6_Publications_reproductibles_avec_RMarkdown"
delete_merged_file: TRUE
language:
ui:
Expand Down
16 changes: 0 additions & 16 deletions _output.yml

This file was deleted.

17 changes: 0 additions & 17 deletions env-setup.R

This file was deleted.

50 changes: 0 additions & 50 deletions src/rmd/report_examples/covid-report.Rmd

This file was deleted.

61 changes: 0 additions & 61 deletions src/rmd/report_examples/covid-report2.Rmd

This file was deleted.

0 comments on commit d2435cb

Please sign in to comment.