Skip to content

Regarding dependencies.R, is it needed without rsconnect? #557

Answered by kamilzyla
SaintRod asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @SaintRod and thanks for asking!

Currently two features of Rhino use this file:

  1. pkg_install() and pkg_remove() functions will recreate it, if it does not exist.
  2. Rhino uses a .renvignore file so that renv only reads dependencies only from dependencies.R (details).

At the time when we devised this solution, packrat has been already deprecated for a while, but it was still being used by rsconnect for dependency discovery (it only started using renv by default in version 1.0.0).

I'd like us to find a better solution, but it's not as simple as getting rid of dependencies.R and .renvignore, as we do want to have a central location with a list of all project dependencies (we tried using DES…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@SaintRod
Comment options

Answer selected by SaintRod
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants