diff --git a/DESCRIPTION b/DESCRIPTION
index 8482e31..894d883 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -1,7 +1,7 @@
Package: rworkflows
Type: Package
Title: Test, Document, Containerise, and Deploy R Packages
-Version: 1.0.3
+Version: 1.0.5
Authors@R:
c(person(given = "Brian",
family = "Schilder",
diff --git a/NEWS.md b/NEWS.md
index 898e947..1bedd0d 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -1,3 +1,10 @@
+# rworkflows 1.0.5
+
+## New features
+
+* New arg `force_install` allows users to bypass cache while installing
+ dependencies.
+
# rworkflows 1.0.4
## Bug fixes
diff --git a/README.md b/README.md
index 748598c..4ea0a35 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
GPL-3](https://img.shields.io/badge/license-GPL--3-blue.svg)](https://cran.r-project.org/web/licenses/GPL-3)
[![](https://img.shields.io/badge/doi-https://doi.org/10.5281/zenodo.10048573-blue.svg)](https://doi.org/https://doi.org/10.5281/zenodo.10048573)
-[![](https://img.shields.io/badge/devel%20version-1.0.4-black.svg)](https://github.com/neurogenomics/rworkflows)
+[![](https://img.shields.io/badge/devel%20version-1.0.5-black.svg)](https://github.com/neurogenomics/rworkflows)
[![](https://img.shields.io/github/languages/code-size/neurogenomics/rworkflows.svg)](https://github.com/neurogenomics/rworkflows)
[![](https://img.shields.io/github/last-commit/neurogenomics/rworkflows.svg)](https://github.com/neurogenomics/rworkflows/commits/master)
[![R build
@@ -22,7 +22,7 @@ status](https://github.com/neurogenomics/rworkflows/workflows/rworkflows_dev/bad
Authors: Brian Schilder, Alan Murphy, Nathan Skene
-README updated: Dec-17-2024
+README updated: Dec-18-2024
[![CRAN
@@ -287,13 +287,13 @@ GitHub Action to setup Miniconda and conda environments.
utils::sessionInfo()
```
- ## R version 4.3.1 (2023-06-16)
- ## Platform: aarch64-apple-darwin20 (64-bit)
- ## Running under: macOS Sonoma 14.3
+ ## R version 4.4.1 (2024-06-14)
+ ## Platform: aarch64-apple-darwin20
+ ## Running under: macOS 15.1
##
## Matrix products: default
- ## BLAS: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRblas.0.dylib
- ## LAPACK: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRlapack.dylib; LAPACK version 3.11.0
+ ## BLAS: /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libRblas.0.dylib
+ ## LAPACK: /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/lib/libRlapack.dylib; LAPACK version 3.12.0
##
## locale:
## [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
@@ -305,21 +305,21 @@ utils::sessionInfo()
## [1] stats graphics grDevices utils datasets methods base
##
## loaded via a namespace (and not attached):
- ## [1] gtable_0.3.4 jsonlite_1.8.8 renv_1.0.3
- ## [4] dplyr_1.1.4 compiler_4.3.1 BiocManager_1.30.22
- ## [7] tidyselect_1.2.0 rvcheck_0.2.1 scales_1.3.0
- ## [10] yaml_2.3.8 fastmap_1.1.1 here_1.0.1
- ## [13] ggplot2_3.4.4 R6_2.5.1 generics_0.1.3
- ## [16] knitr_1.45 yulab.utils_0.1.3 tibble_3.2.1
+ ## [1] gtable_0.3.6 jsonlite_1.8.9 renv_1.0.11
+ ## [4] dplyr_1.1.4 compiler_4.4.1 BiocManager_1.30.25
+ ## [7] tidyselect_1.2.1 rvcheck_0.2.1 scales_1.3.0
+ ## [10] yaml_2.3.10 fastmap_1.2.0 here_1.0.1
+ ## [13] ggplot2_3.5.1 R6_2.5.1 generics_0.1.3
+ ## [16] knitr_1.48 yulab.utils_0.1.7 tibble_3.2.1
## [19] desc_1.4.3 dlstats_0.1.7 rprojroot_2.0.4
- ## [22] munsell_0.5.0 pillar_1.9.0 RColorBrewer_1.1-3
- ## [25] rlang_1.1.3 utf8_1.2.4 cachem_1.0.8
- ## [28] badger_0.2.3 xfun_0.41 fs_1.6.3
- ## [31] memoise_2.0.1.9000 cli_3.6.2 magrittr_2.0.3
- ## [34] rworkflows_1.0.1 digest_0.6.34 grid_4.3.1
- ## [37] rstudioapi_0.15.0 lifecycle_1.0.4 vctrs_0.6.5
- ## [40] data.table_1.14.10 evaluate_0.23 glue_1.7.0
- ## [43] fansi_1.0.6 colorspace_2.1-0 rmarkdown_2.25
- ## [46] tools_4.3.1 pkgconfig_2.0.3 htmltools_0.5.7
+ ## [22] munsell_0.5.1 pillar_1.9.0 RColorBrewer_1.1-3
+ ## [25] rlang_1.1.4 utf8_1.2.4 badger_0.2.4
+ ## [28] xfun_0.49 fs_1.6.5 cli_3.6.3
+ ## [31] magrittr_2.0.3 rworkflows_1.0.4 digest_0.6.37
+ ## [34] grid_4.4.1 rstudioapi_0.17.1 lifecycle_1.0.4
+ ## [37] vctrs_0.6.5 evaluate_1.0.1 glue_1.8.0
+ ## [40] data.table_1.16.2 fansi_1.0.6 colorspace_2.1-1
+ ## [43] rmarkdown_2.29 tools_4.4.1 pkgconfig_2.0.3
+ ## [46] htmltools_0.5.8.1
diff --git a/action.yml b/action.yml
index 35d7c9a..9405076 100644
--- a/action.yml
+++ b/action.yml
@@ -169,6 +169,13 @@ inputs:
Whether to run the workflow telemetry action:
https://github.com/catchpoint/workflow-telemetry-action
default: true
+ force_install:
+ description: >
+ Whether to force install packages. If `true`, all packages will be
+ reinstalled, bypassing the cache.
+ Recommended to set to `true` when pushing changes without updating R
+ package version, such as during pre-release phase of developement.
+ default: false
runs:
using: 'composite'
@@ -335,6 +342,7 @@ runs:
env:
timeout: ${{ inputs.timeout }}
GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
+ force_install: ${{ inputs.force_install }}
run: |
options(crayon.enabled = TRUE, timeout=Sys.getenv("timeout"))
## For running the checks
@@ -342,7 +350,7 @@ runs:
install.packages(c("rmarkdown","BiocManager"), dependencies = TRUE)
message(paste('****', Sys.time(), 'pass number 1 at installing dependencies****'))
repos <- BiocManager::repositories()
- remotes::install_local(repos=repos, dependencies=TRUE, build_vignettes=FALSE, upgrade=TRUE, force=FALSE)
+ remotes::install_local(repos=repos, dependencies=TRUE, build_vignettes=FALSE, upgrade=TRUE, force=Sys.getenv("force_install"))
continue-on-error: true
shell: Rscript {0}