Skip to content

Commit

Permalink
rename r2u and fix copy
Browse files Browse the repository at this point in the history
  • Loading branch information
jrosell committed Feb 29, 2024
1 parent e765fda commit dcbbc54
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pak.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: R packages from pak
name: Last version R packages using pak

on:
push:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/last.yml → .github/workflows/r2u.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Last R packages
name: Last version R packages using r2u

on:
push:
Expand All @@ -11,8 +11,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: docker build -t my-image-name .
- run: docker run --rm --name my_pipeline_container -v /github/workspace/output/:/workspace/output/:rw my-image-name
- run: docker build -f r2u.Dockerfile -t my-r2u-name .
- run: docker run --rm --name my_pipeline_container -v /github/workspace/output/:/workspace/output/:rw my-r2u-name
- uses: actions/upload-artifact@v4
with:
path: /github/workspace/output/
2 changes: 1 addition & 1 deletion .github/workflows/renv.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Locked R packages
name: Locked version R packages

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion conda.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN apt-get install -y wget && rm -rf /var/lib/apt/lists/* \
&& conda install r-base r-dplyr r-purrr r-purrr r-readr r-stringr r-ggplot2 r-janitor r-targets r-curl -y --quiet --channel=conda-forge

WORKDIR /workspace
COPY _targets.R functions.R
COPY _targets.R functions.R /workspace

CMD R -e "sessionInfo(); \
list.files(); \
Expand Down
2 changes: 1 addition & 1 deletion pak.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ WORKDIR /workspace

RUN R -e "install.packages('pak');pak::pak(c('dplyr', 'purrr', 'curl', 'readr', 'stringr', 'ggplot2', 'janitor', 'targets'))"

COPY _targets.R functions.R
COPY _targets.R functions.R /workspace

CMD R -e "sessionInfo(); \
list.files(); \
Expand Down
File renamed without changes.

0 comments on commit dcbbc54

Please sign in to comment.