Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package fails to install. #2

Open
paulnewnes opened this issue Jun 16, 2019 · 1 comment
Open

Package fails to install. #2

paulnewnes opened this issue Jun 16, 2019 · 1 comment

Comments

@paulnewnes
Copy link

Hi,
Can't seem to get the package to install on latest (public release) versions of R and RStudio:

ERROR: hard-coded installation path: please report to the package maintainer and use ‘--no-staged-install’

  • removing ‘/Library/Frameworks/R.framework/Versions/3.6/Resources/library/bingAdsR’
    Error in i.p(...) :
    (converted from warning) installation of package ‘/var/folders/7_/lr05ld_17rs6thbtmzdks4mw0000gn/T//RtmpQ0fo6v/file2fb55f6b3cb4/bingAdsR_0.1.0.tar.gz’ had non-zero exit status

I tried using the "--no-staged-install" flag in install_github but to no avail. Thanks.

@luisccmm
Copy link

I have the same problem

`Installing package into ‘C:/Users/luis.carmona/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)

  • installing source package 'bingAdsR' ...
    ** using staged installation
    ** R
    ** data
    *** moving datasets to lazyload DB
    ** byte-compile and prepare package for lazy loading
    Warning messages:
    1: package 'httr' was built under R version 4.0.4
    2: package 'XML' was built under R version 4.0.4
    3: package 'jsonlite' was built under R version 4.0.4
    4: package 'RCurl' was built under R version 4.0.5
    ** help
    *** installing help indices
    converting help for package 'bingAdsR'
    finding HTML links ... done
    baAuthentication html
    bingAdsR html
    getDataFromURL html
    getDownloadUrl html
    getReportId html
    ** building package indices
    ** testing if installed package can be loaded from temporary location
    *** arch - i386
    Warning: package 'httr' was built under R version 4.0.4
    Warning: package 'XML' was built under R version 4.0.4
    Warning: package 'jsonlite' was built under R version 4.0.4
    Warning: package 'RCurl' was built under R version 4.0.5
    *** arch - x64
    Warning: package 'httr' was built under R version 4.0.4
    Warning: package 'XML' was built under R version 4.0.4
    Warning: package 'jsonlite' was built under R version 4.0.4
    Warning: package 'RCurl' was built under R version 4.0.5
    ** testing if installed package can be loaded from final location
    *** arch - i386
    Warning: package 'httr' was built under R version 4.0.4
    Warning: package 'XML' was built under R version 4.0.4
    Warning: package 'jsonlite' was built under R version 4.0.4
    Warning: package 'RCurl' was built under R version 4.0.5
    *** arch - x64
    Warning: package 'httr' was built under R version 4.0.4
    Warning: package 'XML' was built under R version 4.0.4
    Warning: package 'jsonlite' was built under R version 4.0.4
    Warning: package 'RCurl' was built under R version 4.0.5
    ** testing if installed package keeps a record of temporary installation path
    ERROR: hard-coded installation path: please report to the package maintainer and use '--no-staged-install'
  • removing 'C:/Users/luis.carmona/Documents/R/win-library/4.0/bingAdsR'
    Warning message:
    In i.p(...) :
    installation of package ‘C:/Users/LUIS~1.CAR/AppData/Local/Temp/2/RtmpcdbpVP/file20581a166a4/bingAdsR_0.1.0.tar.gz’ had non-zero exit status`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants