You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Set the minimum version of the {pak} package to 0.6.0.
Parameterize the sysreqs_platform used to find system dependencies in pkg_sysreqs
* Update NEWS.md
* Update DESCRIPTION
* update news and README
* skip test on r-devel (even on linux...)
Copy file name to clipboardExpand all lines: NEWS.md
+6-3Lines changed: 6 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,14 @@
1
-
# 0.2.2.xxxx
1
+
# dockerfile 0.2.3
2
2
3
3
- remove sysreqs.r-hub.io to use {pak} instead for system requirement detection
4
4
- move from `pak::pkg_system_requirements` to `pak::pkg_sysreqs()` thanks to @B0ydT
5
5
-`dock_from_renv` allow to specify user to use in Dockerfile
6
6
- the `dependencies` parameter in `dock_from_renv` if set to `TRUE` will install required dependencies plus optional and development dependencies. defaut is `NA` only required (hard) dependencies,
7
+
- Set the minimum version of the {pak} package to 0.6.0.
8
+
- Parameterize the `sysreqs_platform` used to find system dependencies in pkg_sysreqs (only debian/ubuntu based images are supported)
7
9
8
-
# dockerfile 0.2.2
10
+
11
+
# dockerfiler 0.2.2
9
12
10
13
- fix : create a `use_pak` parameters in `dock_from_renv` to set `renv.config.pak.enabled = FALSE` instead of `renv.config.pak.enabled = TRUE` to avoid issues with {pak} during `renv::restore()`
11
14
@@ -22,7 +25,7 @@
22
25
- feat: Added `renv_version` parameter to `dock_from_renv` to be able to fix the renv version to use during `renv::restore()` (@campbead)
#' - `FALSE`: do not install any dependencies. (You might end up with a
33
33
#' non-working package, and/or the installation might fail.)
34
+
#' @param sysreqs_platform System requirements platform.`ubuntu` by default. If `NULL`, then the current platform is used. Can be : "ubuntu-22.04" if needed to fit with the `FROM` Operating System. Only debian or ubuntu based images are supported
34
35
#' @importFrom utils getFromNamespace
35
36
#' @return A R6 object of class `Dockerfile`.
36
37
#' @details
@@ -67,6 +68,7 @@ dock_from_renv <- function(
67
68
use_pak=FALSE,
68
69
user=NULL,
69
70
dependencies=NA,
71
+
sysreqs_platform="ubuntu",
70
72
renv_version
71
73
) {
72
74
try(dockerfiler::renv$initialize(),silent=TRUE)
@@ -100,12 +102,7 @@ dock_from_renv <- function(
100
102
)
101
103
102
104
103
-
# ici il faut connaire l'image utilisé par l'image.
#' - `FALSE`: do not install any dependencies. (You might end up with a
77
77
#' non-working package, and/or the installation might fail.)
78
+
#' @param sysreqs_platform System requirements platform.`ubuntu` by default. If `NULL`, then the current platform is used. Can be : "ubuntu-22.04" if needed to fit with the `FROM` Operating System. Only debian or ubuntu based images are supported
78
79
#' @importFrom utils getFromNamespace
79
80
#' @return A R6 object of class `Dockerfile`.
80
81
#' @details
@@ -106,6 +107,7 @@ dock_from_renv <- function(
106
107
use_pak = FALSE,
107
108
user = NULL,
108
109
dependencies = NA,
110
+
sysreqs_platform = "ubuntu",
109
111
renv_version
110
112
) {
111
113
try(dockerfiler::renv$initialize(),silent=TRUE)
@@ -139,12 +141,7 @@ dock_from_renv <- function(
139
141
)
140
142
141
143
142
-
# ici il faut connaire l'image utilisé par l'image.
0 commit comments