We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Related to #114. If you don't have Depends, then dockerfile breaks:
Depends
dockerfile
library(desc) library(containerit) desc = description$new("!new") desc$set("Package", "foobar") desc$set(Title = "Example Package for 'description'") desc$set(Description = "Example Package for 'description'.") desc$set_dep("dplyr") desc$set_dep("tidyr", "Suggests") desc$set("License" = "GPL-2") desc$del("Maintainer") desc$del("BugReports") desc$del("URL") tdir = tempfile() dir.create(tdir) tfile = file.path(tdir, "DESCRIPTION") desc #> Package: foobar #> Title: Example Package for 'description' #> Version: 1.0.0 #> Authors@R (parsed): #> * Jo Doe <[email protected]> [aut, cre] #> Description: Example Package for 'description'. #> License: GPL-2 #> Imports: #> dplyr #> Suggests: #> tidyr #> Encoding: UTF-8 desc$write(file = tfile) dx = dockerfile(from = tfile) #> Error in val %||% default: Field 'Depends' not found
Created on 2021-10-08 by the reprex package (v2.0.0)
sessioninfo::session_info() #> ─ Session info ─────────────────────────────────────────────────────────────── #> setting value #> version R version 4.1.0 (2021-05-18) #> os Debian GNU/Linux 10 (buster) #> system x86_64, linux-gnu #> ui X11 #> language (EN) #> collate C.UTF-8 #> ctype C.UTF-8 #> tz Etc/UTC #> date 2021-10-08 #> #> ─ Packages ─────────────────────────────────────────────────────────────────── #> package * version date lib source #> cli 3.0.1 2021-07-17 [1] CRAN (R 4.1.0) #> containerit * 0.6.0.9004 2021-10-08 [1] local #> crayon 1.4.1 2021-02-08 [2] CRAN (R 4.1.0) #> curl 4.3.2 2021-06-23 [1] CRAN (R 4.1.0) #> desc * 1.4.0 2021-09-28 [1] CRAN (R 4.1.0) #> digest 0.6.27 2020-10-24 [2] CRAN (R 4.1.0) #> ellipsis 0.3.2 2021-04-29 [2] CRAN (R 4.1.0) #> evaluate 0.14 2019-05-28 [2] CRAN (R 4.1.0) #> fansi 0.5.0 2021-05-25 [2] CRAN (R 4.1.0) #> fastmap 1.1.0 2021-01-25 [2] CRAN (R 4.1.0) #> formatR 1.11 2021-06-01 [2] CRAN (R 4.1.0) #> fs 1.5.0 2020-07-31 [2] CRAN (R 4.1.0) #> futile.logger 1.4.3 2016-07-10 [1] CRAN (R 4.1.0) #> futile.options 1.0.1 2018-04-20 [1] CRAN (R 4.1.0) #> glue 1.4.2 2020-08-27 [2] CRAN (R 4.1.0) #> highr 0.9 2021-04-16 [2] CRAN (R 4.1.0) #> htmltools 0.5.1.1 2021-01-22 [2] CRAN (R 4.1.0) #> httpuv 1.6.3 2021-09-09 [1] CRAN (R 4.1.0) #> jsonlite 1.7.2 2020-12-09 [2] CRAN (R 4.1.0) #> knitr 1.36 2021-09-29 [1] CRAN (R 4.1.0) #> lambda.r 1.2.4 2019-09-18 [1] CRAN (R 4.1.0) #> later 1.2.0 2021-04-23 [2] CRAN (R 4.1.0) #> lifecycle 1.0.0 2021-02-15 [2] CRAN (R 4.1.0) #> magrittr 2.0.1 2020-11-17 [2] CRAN (R 4.1.0) #> mime 0.12 2021-09-28 [1] CRAN (R 4.1.0) #> miniUI 0.1.1.1 2018-05-18 [2] CRAN (R 4.1.0) #> pillar 1.6.1 2021-05-16 [2] CRAN (R 4.1.0) #> pkgconfig 2.0.3 2019-09-22 [2] CRAN (R 4.1.0) #> promises 1.2.0.1 2021-02-11 [2] CRAN (R 4.1.0) #> R6 2.5.1 2021-08-19 [1] CRAN (R 4.1.0) #> Rcpp 1.0.7 2021-07-07 [1] CRAN (R 4.1.0) #> reprex 2.0.0 2021-04-02 [2] CRAN (R 4.1.0) #> rjson 0.2.20 2018-06-08 [1] CRAN (R 4.1.0) #> rlang 0.4.11 2021-04-30 [2] CRAN (R 4.1.0) #> rmarkdown 2.9 2021-06-15 [2] CRAN (R 4.1.0) #> rprojroot 2.0.2 2020-11-15 [2] CRAN (R 4.1.0) #> rstudioapi 0.13 2020-11-12 [2] CRAN (R 4.1.0) #> semver 0.2.0 2017-01-06 [1] CRAN (R 4.1.0) #> sessioninfo 1.1.1 2018-11-05 [2] CRAN (R 4.1.0) #> shiny 1.6.0 2021-01-25 [2] CRAN (R 4.1.0) #> shinyFiles 0.9.0 2020-11-09 [1] CRAN (R 4.1.0) #> stevedore 0.9.3 2020-01-12 [1] CRAN (R 4.1.0) #> stringi 1.7.5 2021-10-04 [1] CRAN (R 4.1.0) #> stringr 1.4.0 2019-02-10 [2] CRAN (R 4.1.0) #> tibble 3.1.2 2021-05-16 [2] CRAN (R 4.1.0) #> utf8 1.2.1 2021-03-12 [2] CRAN (R 4.1.0) #> vctrs 0.3.8 2021-04-29 [2] CRAN (R 4.1.0) #> versions 0.3 2016-09-01 [1] CRAN (R 4.1.0) #> withr 2.4.2 2021-04-18 [2] CRAN (R 4.1.0) #> xfun 0.26 2021-09-14 [1] CRAN (R 4.1.0) #> xtable 1.8-4 2019-04-21 [2] CRAN (R 4.1.0) #> yaml 2.2.1 2020-02-01 [2] CRAN (R 4.1.0) #> #> [1] /home/jupyter/.R/library #> [2] /usr/local/lib/R/site-library #> [3] /usr/lib/R/site-library #> [4] /usr/lib/R/library
The text was updated successfully, but these errors were encountered:
Fixing o2r-project#191 when no DESCRIPTION
ad38fe7
Successfully merging a pull request may close this issue.
Related to #114. If you don't have
Depends
, thendockerfile
breaks:Created on 2021-10-08 by the reprex package (v2.0.0)
Session info
The text was updated successfully, but these errors were encountered: