Skip to content

Update pkgstats Results #56

Update pkgstats Results

Update pkgstats Results #56

Workflow file for this run

on:
schedule:
- cron: 0 0 * * *
name: Update pkgstats Results
jobs:
update-pkgstats-results:
runs-on: ubuntu-latest
permissions:
contents: write
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install R
uses: r-lib/actions/setup-r@v2
- name: Extra deps
run: |
sudo apt-get install -y autoconf automake git global libgit2-dev libglpk-dev
- name: ctags latest
if: runner.os == 'Linux'
run: |
git clone https://github.com/universal-ctags/ctags.git
cd ctags
./autogen.sh
./configure --prefix=/usr
make
sudo make install
- uses: r-lib/actions/setup-r-dependencies@v2
- name: Install this package
run: R CMD INSTALL .
- name: Call the function
run: Rscript -e "pkgstats::pkgstats_update()"