Can you elaborate a bit more on what you're trying to accomplish?
The DESCRIPTION file just needs to be a "regular" DCF file, of the form Key: Value. The only thing renv cares about is whether the associated Config/renv/profiles entry exists.
You can "select" a particular profile by setting the RENV_PROFILE environment variable, or explicitly by using e.g. renv::activate(profile = "<profile>"). (This writes a file renv/profile containing the profile name, which is then read and used by new R sessions on startup -- basically a way of setting the "default" profile in a project)
i am creating projects from a template using the RS IDE. i have been initializing renv as part of the template, but renv is running into problems when a package is a repo and not a CRAN lib. I thought i could use a profile to tell renv that there are project deps that it needs to install on the init.
some followup questions:
where do i need to put the dcf?
does it have to be a specific name?
what else can go in that dcf other than Config/renv/...? (now i'm intrigued )
are the steps?:
create dcf file in the project root dir (called DESCRIPTION)