Skip to content

Commit

Permalink
Merge pull request #20 from Sage-Bionetworks-Workflows/data-guide-16-…
Browse files Browse the repository at this point in the history
…update

[GEN-1239] Update data guide for 16.0-public
  • Loading branch information
thomasyu888 authored Jun 26, 2024
2 parents 9b25d9c + 07bee69 commit 2ce5aec
Show file tree
Hide file tree
Showing 5 changed files with 732 additions and 757 deletions.
10 changes: 5 additions & 5 deletions scripts/data_guide/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM r-base:4.2.2
FROM r-base:4.3.1

# These will allow for the renv install
ENV RENV_VERSION 0.16.0
ENV RENV_VERSION 1.0.7
ENV RENV_PATHS_LIBRARY renv/library
ENV QUARTO_VERSION 1.3.433
ENV QUARTO_VERSION 1.4.555

RUN apt-get update && apt-get -y install \
libpng-dev \
Expand All @@ -27,7 +27,7 @@ RUN apt-get update && apt-get -y install \
rm -rf /var/lib/apt/lists/*

RUN R -e "install.packages('remotes', repos = c(CRAN = 'https://cloud.r-project.org'))"
RUN R -e "remotes::install_github('rstudio/renv@${RENV_VERSION}')"
RUN R -e "remotes::install_github('rstudio/renv@v${RENV_VERSION}')"

WORKDIR /data_guide
# only copy renv file
Expand All @@ -37,7 +37,7 @@ RUN R -e "renv::restore()"

# Must install quarto cli
WORKDIR /opt
RUN wget https://github.com/quarto-dev/quarto-cli/releases/download/v${QUARTO_VERSION}/quarto-${QUARTO_VERSION}-linux-amd64.tar.gz
RUN wget "https://github.com/quarto-dev/quarto-cli/releases/download/v${QUARTO_VERSION}/quarto-${QUARTO_VERSION}-linux-amd64.tar.gz"
RUN tar -C /opt -xvzf quarto-${QUARTO_VERSION}-linux-amd64.tar.gz

# Set quarto path
Expand Down
7 changes: 7 additions & 0 deletions scripts/data_guide/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Updating the data guide

Add or update your information for your site into the dedicated field and then submit a pull request.


## Run the command

```
Rscript generate_data_guide_cli.R 16.6-consortium syn3380222
```
Loading

0 comments on commit 2ce5aec

Please sign in to comment.