Lodown facility

Asked

Viewed 957 times

3

I am trying to install the lodown package, but the following error appears and I cannot solve:

 ERROR: loading failed
    * removing ‘/Library/Frameworks/R.framework/Versions/3.4/Resources/library/archive’
    Installation failed: Command failed (1)
    '/Library/Frameworks/R.framework/Resources/bin/R' --no-site-file --no-environ  \
      --no-save --no-restore --quiet CMD INSTALL  \
      '/private/var/folders/s0/ydk6pxp96xx9_skq6zsgnz7w0000gn/T/RtmplkTXsa/devtools54239183389/ajdamico-lodown-b902889'  \
      --library='/Library/Frameworks/R.framework/Versions/3.4/Resources/library'  \
      --install-tests 

   ERROR: dependency ‘archive’ is not available for package ‘lodown’
    * removing ‘/Library/Frameworks/R.framework/Versions/3.4/Resources/library/lodown’
    Installation failed: Command failed (1)

Does anyone have any idea what I should do?

2 answers

4

If you’re using macOS, you need to agree to the license terms (Xcode/iOS License). You can go to the terminal and run the code below:

sudo xcodebuild -license

After that, try running the code to install the lodown package again:

devtools::install_github("ajdamico/lodown")
  • 1

    the language to be used is Portuguese. Please edit your reply

4

I just did the test and the installation happened without errors.

library(devtools)
install_github("ajdamico/lodown" , dependencies = TRUE)

The package archive, was installed with the aid of Rtools. You can download it here.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.