File tree Expand file tree Collapse file tree 1 file changed +17
-12
lines changed
Expand file tree Collapse file tree 1 file changed +17
-12
lines changed Original file line number Diff line number Diff line change @@ -137,27 +137,32 @@ dock_from_renv <- function(
137137 }
138138 )
139139
140-
141- pkg_sysreqs <- attempt :: map_try_catch(
140+
141+ pkg_sysreqs <- unlist( attempt :: map_try_catch(
142142 pkg_os ,
143143 function (x ) {
144- do.call(
145- pkg_sysreqs_mem ,
146- x
147- ) | >
148- pluck(" packages" ) | >
149- keep_at(" system_packages" )
144+ keep_at(
145+ pluck(
146+ do.call(pkg_sysreqs_mem , x ),
147+ " packages"
148+ ),
149+ " system_packages"
150+ )
150151 },
151152 .e = ~ character (0 )
152- ) | >
153- unlist()
153+ ))
154154
155155
156156
157157
158158
159- pkg_installs <- unique(pkg_sysreqs ) | >
160- lapply( function (.x ) {paste0(install_cmd , " " , .x )})
159+ pkg_installs <-
160+ lapply(
161+ X = unique(pkg_sysreqs ),
162+ FUN = function (.x ) {
163+ paste0(install_cmd , " " , .x )
164+ }
165+ )
161166
162167 if (length(unlist(pkg_installs )) == 0 ) {
163168 cat_bullet(
You can’t perform that action at this time.
0 commit comments