We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70046cb commit e0891f4Copy full SHA for e0891f4
1 file changed
.github/workflows/publish-website.yml
@@ -36,9 +36,16 @@ jobs:
36
any::reticulate
37
38
# Install python dependencies
39
- - name: "Install python dependencies"
+ - name: Setup r-reticulate venv
40
+ shell: Rscript {0}
41
run: |
- pip install -r docs/requirements.txt
42
+ path_to_python <- reticulate::virtualenv_create(
43
+ envname = "r-reticulate",
44
+ python = Sys.which("python"),
45
+ requirements = "docs/requirements.txt"
46
+ )
47
+ writeLines(sprintf("RETICULATE_PYTHON=%s", path_to_python),
48
+ Sys.getenv("GITHUB_ENV"))
49
50
- name: "Set up Quarto"
51
uses: quarto-dev/quarto-actions/setup@v2
0 commit comments