Conda:从 github 安装 R 包

Jon*_*nas 10 yaml r pip devtools conda

对于 conda yml 文件,可以使用 pip 作为从 github 定义 python 依赖项

name: sample_env
channels:
dependencies:
   - python=2.7
   - pip:
     - git+https://github.com/my/repository
Run Code Online (Sandbox Code Playgroud)

有没有办法对 R 包使用类似的方法(例如使用 devtools)使用类似的方法

name: sample_env
channels:
dependencies:
   - R=3.6
   - devtools:
     - git+https://github.com/my/repository
Run Code Online (Sandbox Code Playgroud)