Closed jmcphers closed 1 year ago
Caused upstream by https://github.com/rstudio/packrat/issues/587 -- because of the way Packrat writes out repos, the comma is ambiguous (could be a record separator or a repo name). We could "fix" this here by making some assumptions (e.g. presume that a repro with no =
was generated from a comma and try to stitch it back together) but would be better to fix upstream.
Is this high priority? The workaround at least would be simple (don't include commas in your repository names).
Also worth saying that renv
handles this since the lockfile format is just JSON.
We should have an issue open to consider moving to renv
for this package (and Connect).
Closing, since we're tracking in packrat.
Repro
deployApp
in the R consoleObserve
Error. Traceback:
Expect
App deploys successfully
Details
Probably happens because we use commas to delimit repos in the lockfile.
https://github.com/rstudio/rsconnect/blob/050a7f7cb533bc1c689a631d64458aabeb23f807/R/dependencies.R#L68-L74