conda install -c conda-forge r-devtools
报错:Solving environment: \ Killed
Solving environment: \ Killed - Product Help - Anaconda Community 中的方法无用
install.packages('devtools')
报错:
ERROR: dependencies ‘usethis’, ‘pkgdown’, ‘rcmdcheck’, ‘rversions’, ‘urlchecker’ are not available for package ‘devtools’
依次安装依赖conda install r-usethis,r-pkgdown
最终,解决问题,
install.packages('devtools')