Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

36 ci #46

Merged
merged 6 commits into from
Jan 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/
42 changes: 42 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
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,
COGiter,
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,
MaelTheuliere/COGiter,
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.

Loading