Skip to content

Commit

Permalink
WIP: Add placeholder R check commented out
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenMaude committed May 15, 2024
1 parent 5267674 commit 4130d55
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/dev_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ set -euxo pipefail
# Check the OpenSAFELY research-template example runs.
opensafely run run_all

# Check the R packages.
#opensafely_r_packages=$(curl -s https://raw.githubusercontent.com/opensafely-core/r-docker/main/renv.lock |
# jq '.Packages | keys')
#r_installed=$(Rscript -e 'installed_packages <- as.data.frame(installed.packages()[,c(1,3:4)])' \
# -e 'package_names<-unique(installed_packages[installed_packages$Priority!="base"|is.na(installed_packages$Priority),,drop=FALSE][["Package"]])'
# -e 'cat(package_names[! package_names %in% c("docopt","spatial","littler")],sep="\n")')

# Check the Python packages are as the Python image from which they are taken.
python_image_version="v2"
opensafely pull "python:$python_image_version"
Expand Down

0 comments on commit 4130d55

Please sign in to comment.