Skip to content

Commit

Permalink
Add python packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Susan Vanderplas committed Jan 20, 2024
1 parent 2b35889 commit 1cce93e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/render.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,9 @@ jobs:
- name: Get R and OS version
id: get-version
run: |
cat("##[set-output name=os-version;]", sessionInfo()$running, "\n", sep = "")
cat("##[set-output name=r-version;]", R.Version()$version.string, sep = "")
make_cmd <- function(name, value, var) sprintf("echo \"{%s}={%s}\" >> $%s", name, value, var)
system(make_cmd("os-version", sessionInfo()$running, GITHUB_OUTPUT))
system(make_cmd("r-version", R.Version()$version.string, $GITHUB_OUTPUT))
shell: Rscript {0}

- name: Restore Renv package cache
Expand All @@ -99,7 +100,7 @@ jobs:
- name: Install Python dependencies
run: |
pip install pandas datetime seaborn matplotlib
pip install pandas datetime seaborn matplotlib numpy
- name: Render Quarto Project
uses: quarto-dev/quarto-actions/render@v2
Expand Down
17 changes: 17 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
contourpy==1.2.0
cycler==0.12.1
DateTime==5.4
fonttools==4.47.2
kiwisolver==1.4.5
matplotlib==3.8.2
numpy==1.26.3
packaging==23.2
pandas==2.2.0
pillow==10.2.0
pyparsing==3.1.1
python-dateutil==2.8.2
pytz==2023.3.post1
seaborn==0.13.1
six==1.16.0
tzdata==2023.4
zope.interface==6.1

0 comments on commit 1cce93e

Please sign in to comment.