Skip to content

Commit

Permalink
Merge pull request #26 from ashiklom/python-example
Browse files Browse the repository at this point in the history
Complete EML parts of Python logistic example
  • Loading branch information
mdietze authored Oct 6, 2022
2 parents 95b55bd + 30160d1 commit 2ba23ed
Show file tree
Hide file tree
Showing 4 changed files with 322 additions and 26 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ jobs:
eval sudo $cmd
done < <(Rscript -e 'writeLines(remotes::system_requirements("ubuntu", "20.04"))')
- name: Install Miniconda
- name: Install Python dependencies
run: reticulate::py_install(c("numpy", "matplotlib", "NetCDF4", "pandas", "dicttoxml"))
shell: Rscript {0}
run: |
reticulate::install_miniconda()
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,17 @@ jobs:
with:
use-public-rspm: true


- name: Install Python dependencies
run: reticulate::py_install(c("numpy", "matplotlib", "NetCDF4", "pandas", "dicttoxml"))
shell: Rscript {0}

- uses: r-lib/actions/setup-r-dependencies@v1
with:
extra-packages: pkgdown
needs: website


- name: Install Miniconda
shell: Rscript {0}
run: |
Expand Down
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Config/reticulate:
list(package = "numpy"),
list(package = "matplotlib"),
list(package = "NetCDF4"),
list(package = "pandas")
list(package = "pandas"),
list(package = "dicttoxml")
)
)
Loading

0 comments on commit 2ba23ed

Please sign in to comment.