Joao Gabriel Moraes
Joao Gabriel Moraes

Reputation: 11

Error when trying to install devtools on Mac

Does anyone has an idea on how to solve this problem? Can't install devtools in R.

install.packages("devtools") also installing the dependencies ‘ps’, ‘fs’, ‘processx’, ‘xopen’, ‘usethis’, ‘callr’, ‘git2r’, ‘pkgbuild’, ‘pkgload’, ‘rcmdcheck’, ‘roxygen2’

The downloaded source packages are in ‘/private/var/folders/s2/cptzh4ls2knbbd767m5gjx380000gn/T/RtmpP8MNFU/downloaded_packages’ Updating HTML index of packages in '.Library' Making 'packages.html' ... done There were 11 warnings (use warnings() to see them)

warnings() Warning messages: 1: In install.packages("devtools") : installation of package ‘fs’ had non-zero exit status 2: In install.packages("devtools") : installation of package ‘processx’ had non-zero exit status 3: In install.packages("devtools") : installation of package ‘git2r’ had non-zero exit status 4: In install.packages("devtools") : installation of package ‘xopen’ had non-zero exit status 5: In install.packages("devtools") : installation of package ‘usethis’ had non-zero exit status 6: In install.packages("devtools") : installation of package ‘callr’ had non-zero exit status 7: In install.packages("devtools") : installation of package ‘pkgbuild’ had non-zero exit status 8: In install.packages("devtools") : installation of package ‘pkgload’ had non-zero exit status 9: In install.packages("devtools") : installation of package ‘rcmdcheck’ had non-zero exit status 10: In install.packages("devtools") : installation of package ‘roxygen2’ had non-zero exit status 11: In install.packages("devtools") : installation of package ‘devtools’ had non-zero exit status

Upvotes: 1

Views: 365

Answers (1)

Joao Gabriel Moraes
Joao Gabriel Moraes

Reputation: 11

The problem was that I was using R on conda and was installing the package through CRAN.

Upvotes: 0

Related Questions