Skip to content

backport --maj-ref + --read-freq prohibition and additional nonref_fl… #425

backport --maj-ref + --read-freq prohibition and additional nonref_fl…

backport --maj-ref + --read-freq prohibition and additional nonref_fl… #425

# Checks if the pgenlib R package can be installed by a user,
# when installing pgenlibr using:
#
# ```
# remotes::install_github("chrchang/plink-ng/2.0/pgenlibr")
# ```
#
on:
push:
pull_request:
name: can_install_pgenlib_package
jobs:
can_install_pgenlib_package:
runs-on: ubuntu-20.04
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
steps:
# Install R
- uses: r-lib/actions/setup-r@v2
# Prequisite for using the 'remotes' R package
- name: Install libcurl4-openssl-dev
run: sudo apt install -qq libcurl4-openssl-dev
- name: Install pgenlibr
run: |
install.packages("remotes")
remotes::install_github("chrchang/plink-ng/2.0/pgenlibr")
shell: Rscript {0}