rstudio / packrat

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

define setNames ahead of options.R #623

Closed aronatkins closed 3 years ago

aronatkins commented 3 years ago

The utils.R definition of setNames was not visible to the package-build-time calls to setNames in options.R because of R file-load order. As a result, packrat would fall back to stats::setNames or err if stats was not loaded.