How to pkgup

Prepare pkgup workflow from template

Clone pkgup.
In below commands change “yourpkg” to the actual name of your package.

cp pkgup/.github/workflows/pkgup.yaml yourpkg/.github/workflows/pkgup.yaml
sed -i 's|pkgup|yourpkg|g' yourpkg/.github/workflows/pkgup.yaml

If needed, add OS dependencies chunk in yourpkg/.github/workflows/pkgup.yaml

      - name: setup-os-dependencies
        run: |
          sudo apt-get install -y libcurl4-openssl-dev

Activate github Pages

Go to your github repository Pages settings.

Set build and deployment source: GitHub Actions

Push pkgup yaml to your package repo

Once pkgup workflow completes, your R package source tarball should be published in CRAN-like repo at https://namespace.github.io/yourpkg. Package desription, manual and vignettes will be published at the same address.

Use R package repo

Then anyone can install package by pointing repos to your address.

install.packages("yourpkg", repos="https://namespace.github.io/yourpkg")