Skip to content

Extend template for renv packaging #55

@zuphilip

Description

@zuphilip

A more reproducible approach w.r.t. to packaging is using renv instead of the install.R file. Thus I wonder whether the template could be extended to handle renv packaging as well?

Essentially one could add the following line to the template:

RUN if [ -f renv.lock ]; then R -e "renv::restore()"; fi

However, maybe some further changes might be needed, e.g. not having the files directly in the home directory of the NB_USER but rather in a subdirectory of it. At least that was what I came up after some try-and-error work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions