Rename and export lockfile_from_manifest#2246
Conversation
7ec5b89 to
a1ee9bb
Compare
|
Thanks, but I intentionally don't want to export this, because it's more-or-less a utility function that is only relevant for rsconnect. (correct me if I'm wrong) Does this still need to live in renv? Would it be possible to move / reimplement this in rsconnect? |
|
FWIW, I was using it to publish with the Publisher something I already had a manifest for, and just needed to make sure I used the same packages. So no rsconnect involved. In the publisher, we will want to use something like this to shortcut there (the current path that published uses with renv didn't use this, hence me needing to do it manually). Happy to close this if you really don't want to export this, but in my experience being able to make a lockfile from a manifest helps users get into more modern lockfile experiences more easily. If we don't export this, we might need to add it to other pathways to ensure that publisher does hit it. |
|
How hard would it be to move this code into publisher? Would it be made easier if we exposed some slightly more generic tools from |
|
I do think renv is the right home for this honestly. There is value for someone who has a manifest from rsconnect and wants to start using renv but isn't using publisher. But if you're concerned about exposing this to renv, you we could add it to publisher. The r calling code is a bit in flux right now, but I'm happy to help point out where you should PR this to. |
Resolves #2245