Skip to content

Commit

Permalink
刷新软件依赖 (#22)
Browse files Browse the repository at this point in the history
* 刷新依赖

* Pandoc 3.3 and remove spacy

* Quarto 1.5.57 and Pandoc 3.4

* 定时任务周二
  • Loading branch information
XiangyunHuang authored Sep 18, 2024
1 parent a8930a5 commit 9ccf683
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 17 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/quarto-book-netlify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
workflow_dispatch:
schedule:
# run every day at 11 PM
- cron: '0 23 * * 3'
- cron: '0 23 * * 1'

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Expand All @@ -25,11 +25,12 @@ jobs:
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
CMDSTAN_VERSION: "2.35.0"
PANDOC_VERSION: "3.1.13"
QUARTO_VERSION: "1.4.555"
R_VERSION: "4.4.0"
PANDOC_VERSION: "3.4"
QUARTO_VERSION: "1.5.57"
R_VERSION: "4.4.1"
LANG: "en_US.UTF-8"
TZ: "Asia/Shanghai"
RETICULATE_PYTHON: /opt/.virtualenvs/r-tensorflow/bin/python
RETICULATE_PYTHON_ENV: /opt/.virtualenvs/r-tensorflow
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -65,8 +66,6 @@ jobs:
virtualenv -p /usr/bin/python3 $RETICULATE_PYTHON_ENV
source $RETICULATE_PYTHON_ENV/bin/activate
pip3 install -r requirements.txt
python -m spacy download en_core_web_sm
python -m spacy download zh_core_web_sm
deactivate
- name: Setup CmdStan
Expand Down Expand Up @@ -111,8 +110,8 @@ jobs:
quarto render --to html
shell: bash
env:
RETICULATE_PYTHON_ENV: /opt/.virtualenvs/r-tensorflow
RETICULATE_PYTHON: /opt/.virtualenvs/r-tensorflow/bin/python
RETICULATE_PYTHON_ENV: ${{ env.RETICULATE_PYTHON_ENV }}
RETICULATE_PYTHON: ${{ env.RETICULATE_PYTHON }}
CMDSTAN: /opt/cmdstan/cmdstan-${{ env.CMDSTAN_VERSION }}

- name: Deploy book to bookdown.org
Expand Down
15 changes: 7 additions & 8 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -12,28 +12,28 @@ Imports:
bayesplot,
blme,
brms,
cmdstanr (>= 0.8.0),
cmdstanr (>= 0.8.1),
downlit,
expm,
fastmatrix,
fGarch (>= 4031.90),
fGarch (>= 4033.92),
fmesher,
kernlab,
FRK (>= 2.2.0),
glmmTMB,
glmnet,
GLMMadaptive,
geodata (>= 0.4.13),
geodata (>= 0.6-2),
ggeffects,
ggfortify,
ggplot2 (>= 3.5.0),
ggrepel,
hexbin,
hglm,
INLA (>= 23.9.9),
igraph,
keras3 (>= 0.2.0),
knitr,
INLA (>= 24.1.20),
igraph (>= 2.0.3),
keras3 (>= 1.1.0),
knitr (>= 1.48),
lars,
lavaan,
lme4,
Expand Down Expand Up @@ -71,7 +71,6 @@ Imports:
Suggests:
quarto (>= 1.4),
rsconnect (>= 1.2.1)
Remotes: rspatial/geodata
LinkingTo: BH (>= 1.75.0-0), StanHeaders (>= 2.32.6)
SystemRequirements: pgf (>= 3.00), JAGS 4.x.y
Additional_repositories:
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ numpy>=1.25.1
pandas>=2.1.3
tensorflow>=2.16.0
keras>=3.2.0
spacy>=3.7.2

12 comments on commit 9ccf683

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Published on https://masr.netlify.app as production
🚀 Deployed on https://66ea4b422226f5eb488adaa0--masr.netlify.app

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Published on https://masr.netlify.app as production
🚀 Deployed on https://66fb3a4ce6e09060da390faa--masr.netlify.app

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Published on https://masr.netlify.app as production
🚀 Deployed on https://6704741fb00364683d3f9bb8--masr.netlify.app

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Published on https://masr.netlify.app as production
🚀 Deployed on https://670daec668d03e973be9dd72--masr.netlify.app

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Published on https://masr.netlify.app as production
🚀 Deployed on https://6716ea02bb2f12ff7c36d563--masr.netlify.app

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Published on https://masr.netlify.app as production
🚀 Deployed on https://67202352db77e41e6c1802a3--masr.netlify.app

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Published on https://masr.netlify.app as production
🚀 Deployed on https://67295e002362ccaaec52dd77--masr.netlify.app

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Published on https://masr.netlify.app as production
🚀 Deployed on https://673298386eae15fda76ee281--masr.netlify.app

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Published on https://masr.netlify.app as production
🚀 Deployed on https://673bd302f3d6a360887c91f2--masr.netlify.app

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Published on https://masr.netlify.app as production
🚀 Deployed on https://67450db1330f67664bcb9b00--masr.netlify.app

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Published on https://masr.netlify.app as production
🚀 Deployed on https://674e482cdd2a546f90fe4336--masr.netlify.app

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 Published on https://masr.netlify.app as production
🚀 Deployed on https://6757823d3e8ffb56066101e9--masr.netlify.app

Please sign in to comment.