Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unused argument error when using add_dockerfile_with_renv() #1103

Closed
citscisean opened this issue Sep 6, 2023 · 1 comment
Closed

unused argument error when using add_dockerfile_with_renv() #1103

citscisean opened this issue Sep 6, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@citscisean
Copy link

Describe the bug
Getting an error when running add_dockerfile_with_renv()

To Reproduce
golem::add_dockerfile_with_renv(output_dir = "../Docker/")

Expected behavior
Should create a docker image but instead get the following error:
Error in renv::snapshot(packages = pkg_list, lockfile = output, prompt = FALSE, :
unused argument (check_if_suggests_is_installed = ..1)

session info
─ Session info ───────────────────────────────────────────────────────────────────────────────────────
setting value
version R version 4.2.2 (2022-10-31 ucrt)
os Windows 10 x64 (build 19045)
system x86_64, mingw32
ui RStudio
language (EN)
collate English_United States.utf8
ctype English_United States.utf8
tz America/Los_Angeles
date 2023-09-06
rstudio 2023.06.0+421 Mountain Hydrangea (desktop)
pandoc 3.1.1 @ C:/Program Files/RStudio/resources/app/bin/quarto/bin/tools/ (via rmarkdown)

─ Packages ───────────────────────────────────────────────────────────────────────────────────────────
! package * version date (UTC) lib source
P abind 1.4-5 2016-07-21 [?] CRAN (R 4.2.0)
P assertthat 0.2.1 2019-03-21 [?] CRAN (R 4.2.2)
P attachment 0.3.0 2022-09-19 [?] CRAN (R 4.2.2)
P attempt 0.3.1 2020-05-03 [?] CRAN (R 4.2.2)
P brio 1.1.3 2021-11-30 [?] CRAN (R 4.2.2)
P bslib 0.4.2 2022-12-16 [?] CRAN (R 4.2.2)
P cachem 1.0.6 2021-08-19 [?] CRAN (R 4.2.2)
P callr 3.7.3 2022-11-02 [?] CRAN (R 4.2.2)
P car 3.1-1 2022-10-19 [?] CRAN (R 4.2.2)
P carData 3.0-5 2022-01-06 [?] CRAN (R 4.2.2)
cellranger 1.1.0 2016-07-27 [1] CRAN (R 4.2.2)
P cli 3.6.0 2023-01-09 [?] CRAN (R 4.2.2)
P codetools 0.2-18 2020-11-04 [?] CRAN (R 4.2.2)
P colorspace 2.1-0 2023-01-23 [?] CRAN (R 4.2.2)
P config 0.3.1 2020-12-17 [?] CRAN (R 4.2.2)
P crayon 1.5.2 2022-09-29 [?] CRAN (R 4.2.2)
curl 5.0.2 2023-08-14 [1] CRAN (R 4.2.3)
P data.table 1.14.6 2022-11-16 [?] CRAN (R 4.2.2)
P desc 1.4.2 2022-09-08 [?] CRAN (R 4.2.2)
P devtools 2.4.5 2022-10-11 [?] CRAN (R 4.2.2)
P digest 0.6.31 2022-12-11 [?] CRAN (R 4.2.2)
dplyr 1.1.0 2023-01-29 [1] CRAN (R 4.2.2)
P drc 3.0-1 2016-08-30 [?] CRAN (R 4.2.2)
DT 0.27 2023-01-17 [1] CRAN (R 4.2.2)
R ecxshiny * 0.0.0.9000 [?]
P ellipsis 0.3.2 2021-04-29 [?] CRAN (R 4.2.2)
P esmisc 0.0.3 2017-01-11 [?] CRAN (R 4.2.2)
P evaluate 0.20 2023-01-17 [?] CRAN (R 4.2.2)
P fansi 1.0.4 2023-01-22 [?] CRAN (R 4.2.2)
P fastmap 1.1.0 2021-01-25 [?] CRAN (R 4.2.2)
P fs 1.6.0 2023-01-23 [?] CRAN (R 4.2.2)
P generics 0.1.3 2022-07-05 [?] CRAN (R 4.2.2)
P ggplot2 3.4.0 2022-11-04 [?] CRAN (R 4.2.2)
P glue 1.6.2 2022-02-24 [?] CRAN (R 4.2.2)
golem 0.4.1 2023-06-05 [1] CRAN (R 4.2.3)
P gtable 0.3.1 2022-09-01 [?] CRAN (R 4.2.2)
P gtools 3.9.4 2022-11-27 [?] CRAN (R 4.2.2)
P hms 1.1.2 2022-08-19 [?] CRAN (R 4.2.2)
P htmltools 0.5.4 2022-12-07 [?] CRAN (R 4.2.2)
P htmlwidgets 1.6.1 2023-01-07 [?] CRAN (R 4.2.2)
P httpuv 1.6.8 2023-01-12 [?] CRAN (R 4.2.2)
P httr 1.4.4 2022-08-17 [?] CRAN (R 4.2.2)
janitor 2.1.0 2021-01-05 [1] CRAN (R 4.2.2)
P jquerylib 0.1.4 2021-04-26 [?] CRAN (R 4.2.2)
P jsonlite 1.8.4 2022-12-06 [?] CRAN (R 4.2.2)
P knitr 1.42 2023-01-25 [?] CRAN (R 4.2.2)
P later 1.3.0 2021-08-18 [?] CRAN (R 4.2.2)
P lattice 0.20-45 2021-09-22 [?] CRAN (R 4.2.2)
P lazyeval 0.2.2 2019-03-15 [?] CRAN (R 4.2.2)
P lifecycle 1.0.3 2022-10-07 [?] CRAN (R 4.2.2)
lubridate 1.9.1 2023-01-24 [1] CRAN (R 4.2.2)
P magrittr 2.0.3 2022-03-30 [?] CRAN (R 4.2.2)
markdown 1.4 2022-11-16 [1] CRAN (R 4.2.2)
P MASS 7.3-58.1 2022-08-03 [?] CRAN (R 4.2.2)
P Matrix 1.5-1 2022-09-13 [?] CRAN (R 4.2.2)
P memoise 2.0.1 2021-11-26 [?] CRAN (R 4.2.2)
P mime 0.12 2021-09-28 [?] CRAN (R 4.2.0)
P miniUI 0.1.1.1 2018-05-18 [?] CRAN (R 4.2.2)
P multcomp 1.4-20 2022-08-07 [?] CRAN (R 4.2.2)
P munsell 0.5.0 2018-06-12 [?] CRAN (R 4.2.2)
P mvtnorm 1.1-3 2021-10-08 [?] CRAN (R 4.2.0)
P pander 0.6.5 2022-03-18 [?] CRAN (R 4.2.2)
P parsedate 1.3.1 2022-10-27 [?] CRAN (R 4.2.2)
P pillar 1.8.1 2022-08-19 [?] CRAN (R 4.2.2)
P pkgbuild 1.4.0 2022-11-27 [?] CRAN (R 4.2.2)
P pkgconfig 2.0.3 2019-09-22 [?] CRAN (R 4.2.2)
P pkgload 1.3.2 2022-11-16 [?] CRAN (R 4.2.2)
P plotly 4.10.1 2022-11-07 [?] CRAN (R 4.2.2)
P plotrix 3.8-2 2021-09-08 [?] CRAN (R 4.2.0)
P plyr 1.8.8 2022-11-11 [?] CRAN (R 4.2.2)
P prettyunits 1.1.1 2020-01-24 [?] CRAN (R 4.2.2)
P processx 3.8.0 2022-10-26 [?] CRAN (R 4.2.2)
P profvis 0.3.7 2020-11-02 [?] CRAN (R 4.2.2)
P promises 1.2.0.1 2021-02-11 [?] CRAN (R 4.2.2)
P ps 1.7.2 2022-10-26 [?] CRAN (R 4.2.2)
P purrr 1.0.1 2023-01-10 [?] CRAN (R 4.2.2)
P R6 2.5.1 2021-08-19 [?] CRAN (R 4.2.2)
P rappdirs 0.3.3 2021-01-31 [?] CRAN (R 4.2.2)
P raster 3.6-14 2023-01-16 [?] CRAN (R 4.2.2)
P rcmdcheck 1.4.0 2021-09-27 [?] CRAN (R 4.2.2)
P Rcpp 1.0.10 2023-01-22 [?] CRAN (R 4.2.2)
P readr 2.1.3 2022-10-01 [?] CRAN (R 4.2.2)
readxl 1.4.1 2022-08-17 [1] CRAN (R 4.2.2)
rematch 1.0.1 2016-04-21 [1] CRAN (R 4.2.2)
P remotes 2.4.2 2021-11-30 [?] CRAN (R 4.2.2)
renv 1.0.2 2023-08-15 [1] CRAN (R 4.2.3)
P rhub 1.1.2 2022-08-31 [?] CRAN (R 4.2.2)
P rlang 1.0.6 2022-09-24 [?] CRAN (R 4.2.2)
P rmarkdown 2.20 2023-01-19 [?] CRAN (R 4.2.2)
P roxygen2 7.2.3 2022-12-08 [?] CRAN (R 4.2.2)
P rprojroot 2.0.3 2022-04-02 [?] CRAN (R 4.2.2)
P rstudioapi 0.14 2022-08-22 [?] CRAN (R 4.2.2)
P sandwich 3.0-2 2022-06-15 [?] CRAN (R 4.2.2)
P sass 0.4.5 2023-01-24 [?] CRAN (R 4.2.2)
P scales 1.2.1 2022-08-20 [?] CRAN (R 4.2.2)
P sessioninfo 1.2.2 2021-12-06 [?] CRAN (R 4.2.2)
P shiny 1.7.4 2022-12-15 [?] CRAN (R 4.2.2)
shinybusy 0.3.1 2022-05-10 [1] CRAN (R 4.2.2)
P shinyWidgets 0.7.6 2023-01-08 [?] CRAN (R 4.2.3)
snakecase 0.11.0 2019-05-25 [1] CRAN (R 4.2.2)
P sp 1.6-0 2023-01-19 [?] CRAN (R 4.2.2)
P spelling 2.2 2020-10-18 [?] CRAN (R 4.2.2)
P stringi 1.7.12 2023-01-11 [?] CRAN (R 4.2.2)
P stringr 1.5.0 2022-12-02 [?] CRAN (R 4.2.2)
P survival 3.4-0 2022-08-09 [?] CRAN (R 4.2.2)
P terra 1.7-3 2023-01-24 [?] CRAN (R 4.2.2)
P testthat 3.1.6 2022-12-09 [?] CRAN (R 4.2.2)
P TH.data 1.1-1 2022-04-26 [?] CRAN (R 4.2.2)
P tibble 3.1.8 2022-07-22 [?] CRAN (R 4.2.2)
P tidyr 1.3.0 2023-01-24 [?] CRAN (R 4.2.2)
P tidyselect 1.2.0 2022-10-10 [?] CRAN (R 4.2.2)
timechange 0.2.0 2023-01-11 [1] CRAN (R 4.2.2)
P tzdb 0.3.0 2022-03-28 [?] CRAN (R 4.2.2)
P urlchecker 1.0.1 2021-11-30 [?] CRAN (R 4.2.2)
P usethis 2.1.6 2022-05-25 [?] CRAN (R 4.2.2)
P utf8 1.2.2 2021-07-24 [?] CRAN (R 4.2.2)
P uuid 1.1-0 2022-04-19 [?] CRAN (R 4.2.0)
P vctrs 0.5.2 2023-01-23 [?] CRAN (R 4.2.2)
P viridisLite 0.4.1 2022-08-22 [?] CRAN (R 4.2.2)
P whoami 1.3.0 2019-03-19 [?] CRAN (R 4.2.2)
P withr 2.5.0 2022-03-03 [?] CRAN (R 4.2.2)
P xfun 0.36 2022-12-21 [?] CRAN (R 4.2.2)
P xml2 1.3.3 2021-11-30 [?] CRAN (R 4.2.2)
P xopen 1.0.0 2018-09-17 [?] CRAN (R 4.2.2)
P xtable 1.8-4 2019-04-21 [?] CRAN (R 4.2.2)
P yaml 2.3.7 2023-01-23 [?] CRAN (R 4.2.2)
P zoo 1.8-11 2022-09-17 [?] CRAN (R 4.2.2)

@citscisean citscisean added the bug Something isn't working label Sep 6, 2023
@citscisean
Copy link
Author

Solved. It looks like I needed to update the package 'attachment' that now includes this argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants