Skip to content

Commit

Permalink
Avoid installing flepicommon
Browse files Browse the repository at this point in the history
Now having issues with `install.packages`, an error along the lines of
"ERROR: dependencies 'dplyr', 'yaml', ..., 'tidyselect' are not
available for package 'flepicommon'". However, these should be installed
by the `install.packages` line.
  • Loading branch information
TimothyWillard committed Oct 16, 2024
1 parent 132ba53 commit dbd692e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/flepicommon-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ jobs:
run: |
files <- list.files()
pkg <- files[startsWith(files, "flepicommon_")]
install.packages(pkg, dependencies=TRUE)
install.packages("testthat")
install.packages(pkg, repos = NULL, type = "source")
install.packages(pkg, dependencies = TRUE)
install.packages("devtools")
packageVersion("flepicommon")
shell: Rscript {0}
- name: Run Unit Tests
run: |
library(flepicommon)
library(testthat)
test_local("flepimop/R_packages/flepicommon")
setwd("flepimop/R_packages/flepicommon")
library(devtools)
devtools::test(stop_on_failure = TRUE)
shell: Rscript {0}

0 comments on commit dbd692e

Please sign in to comment.