Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我在我的 RStudio 项目中使用 packrat Menue "Clean Unused Packages..." 时,我曾经安装过的所有包都会被列出,例如,即使是其中包含该行library(<pkgName>)的那些包。
library(<pkgName>)
当我直接调用函数时也会发生同样的情况
packrat::unused_packages() 或者 packrat::clean(dry.run = TRUE)
packrat::unused_packages()
packrat::clean(dry.run = TRUE)
我究竟做错了什么?