我正在遵循这些步骤,就像这里的工作流程一样:
renv::init()
- 照常工作并安装新软件包
renv::snapshot()
我面临的问题是在运行时library(renv)
,许多函数被屏蔽了,比如加载,所以我必须在我的代码中重新屏蔽它们才能让它再次工作。像base::load(...)
有没有办法避免这种掩蔽?
这里是运行时的日志library(renv)
:
>
> Attaching package: ‘renv’
>
> The following object is masked from ‘package:stats’:
>
> update
>
> The following objects are masked from ‘package:utils’:
>
> history, upgrade
>
> The following objects are masked from ‘package:base’:
>
> load, remove