rstudio / packrat

Packrat is a dependency management system for R
http://rstudio.github.io/packrat/
399 stars 89 forks source link

Remove reference to unassigned variable from error message #692

Closed toph-allen closed 1 year ago

toph-allen commented 1 year ago

Previously, an error message in appendRemoteInfoToDescription referenced a variable that was out of scope. This small change removes that reference.

The variable was used to add the package reference to the error message. However, this function is only ever called in contexts that already add the package name to the error message, so I didn't think it was necessary to pass in an extra object to obtain that name for the error message.

Fixes #691

QA Notes

None needed.