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 131a255 commit 9503f34Copy full SHA for 9503f34
1 file changed
.github/workflows/publish-website.yml
@@ -41,16 +41,12 @@ jobs:
41
python-version: "3.x"
42
43
# Install python dependencies for reticulate
44
- - name: Setup r-reticulate venv
45
- shell: Rscript {0}
+ - name: Create Python venv
46
run: |
47
- path_to_python <- reticulate::virtualenv_create(
48
- envname = "r-reticulate",
49
- python = Sys.which("python"),
50
- requirements = "docs/requirements.txt"
51
- )
52
- writeLines(sprintf("RETICULATE_PYTHON=%s", path_to_python),
53
- Sys.getenv("GITHUB_ENV"))
+ python -m venv r-reticulate
+ source r-reticulate/bin/activate
+ pip install -r docs/requirements.txt
+ echo "RETICULATE_PYTHON=$(pwd)/r-reticulate/bin/python" >> $GITHUB_ENV
54
55
- name: "Set up Quarto"
56
uses: quarto-dev/quarto-actions/setup@v2
0 commit comments