Closed kevinushey closed 1 year ago
The "source" of Source
is packrat, https://github.com/rstudio/packrat/blob/v0.9.0/R/pkg.R#L328. I double checked that all the conditions set a non-NULL
source, which I think is the best we can do without a reprex.
Not yet sure of the underlying cause, but a customer saw this issue during a deployment:
The error most likely implies that
isSCMSource(source)
returned a length-zero vector;source
is most likelyNULL
.https://github.com/rstudio/rsconnect/blob/e42166e4d0d39ead451165c30a0dd847dc11e639/R/dependencies.R#L159-L164
We should see if we can understand why the value could be
NULL
here.