[ ] I'd like to have a subfunction that would help create this other output as follows to be used in dockerfiler::add_dockerfile()
# Remotes ----
install.packages("remotes")
remotes::install_github('local::mylocalpackage')
remotes::install_version('cli', version = "0.1.0")
remotes::install_version('config', version = "2.1.2")
...
I think that listing all packages with their version with install_version() is not reliable, because of versions of sub-dependencies. I would recommend to redirect users to {renv} and create the Dockerfile using {renv}.
It would be interesting to create the "socle" part of {dockerfiler} that install all deps, even without {renv}
create_dependencies_file()
uses DESCRIPTION as source of information. _Note that DESCRIPTION file can be auto-fill usingfind_remotes()
Criteria of success
dependencies_file_text()
exists and is testedcreate_dependencies_file()
create_dependencies_file()
returns a list with the contents ofdependencies_file_text()
to be reused elsewhereTechnicals
golem::add_dockerfile()
⚠️ fonction plus trop utilisée et qui utilisait :
dockerfiler::doc_from_desc()
[ ] I'd like to have a subfunction that would help create this other output as follows to be used in
dockerfiler::add_dockerfile()
I think that listing all packages with their version with
install_version()
is not reliable, because of versions of sub-dependencies. I would recommend to redirect users to {renv} and create the Dockerfile using {renv}.It would be interesting to create the "socle" part of {dockerfiler} that install all deps, even without {renv}