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

Installation failed #1

Open
eatom opened this issue Apr 2, 2019 · 1 comment
Open

Installation failed #1

eatom opened this issue Apr 2, 2019 · 1 comment

Comments

@eatom
Copy link

eatom commented Apr 2, 2019

Hi,

I have an issue when installing the package that I cannot get around.
I'm running R 3.5.2 on a debian server.

This is the output from the console

> devtools::install_github("IronistM/googleAnalyticsModelR")
Downloading GitHub repo IronistM/googleAnalyticsModelR@master
These packages have more recent versions available.
Which would you like to update?

 1:   assertthat   (0.2.0    -> 0.2.1       ) [CRAN]     2:   backports    (1.1.2    -> 1.1.3       ) [CRAN]  
 3:   BH           (1.66.0-1 -> 1.69.0-1    ) [CRAN]     4:   callr        (3.0.0    -> 3.2.0       ) [CRAN]  
 5:   cli          (1.0.1    -> 1.1.0       ) [CRAN]     6:   colorspace   (1.3-2    -> 1.4-1       ) [CRAN]  
 7:   curl         (3.2      -> 3.3         ) [CRAN]     8:   dplyr        (0.7.8    -> 0.8.0.1     ) [CRAN]  
 9:   glue         (1.3.0    -> 1.3.1       ) [CRAN]    10:   gtable       (0.2.0    -> 0.3.0       ) [CRAN]  
11:   httr         (1.3.1    -> 1.4.0       ) [CRAN]    12:   jsonlite     (1.5      -> 1.6         ) [CRAN]  
13:   lazyeval     (0.2.1    -> 0.2.2       ) [CRAN]    14:   openssl      (1.1      -> 1.3         ) [CRAN]  
15:   pillar       (1.3.0    -> 1.3.1       ) [CRAN]    16:   pkgbuild     (1.0.2    -> 1.0.3       ) [CRAN]  
17:   processx     (3.2.1    -> 3.3.0       ) [CRAN]    18:   ps           (1.2.1    -> 1.3.0       ) [CRAN]  
19:   purrr        (0.2.5    -> 0.3.2       ) [CRAN]    20:   R6           (2.3.0    -> 2.4.0       ) [CRAN]  
21:   Rcpp         (1.0.0    -> 1.0.1       ) [CRAN]    22:   rlang        (0.3.0.1  -> 0.3.3       ) [CRAN]  
23:   stringi      (1.2.4    -> 1.4.3       ) [CRAN]    24:   stringr      (1.3.1    -> 1.4.0       ) [CRAN]  
25:   sys          (2.1      -> 3.1         ) [CRAN]    26:   tibble       (1.4.2    -> 2.1.1       ) [CRAN]  
27:   tidyr        (0.8.2    -> 0.8.3       ) [CRAN]    28:   zoo          (1.8-4    -> 1.8-5       ) [CRAN]  
29:   googleAna... (0.5.0    -> fc6dd075b...) [GitHub]  30:   CRAN packages only                              
31:   All                                               32:   None                                            

Enter one or more numbers separated by spaces, or an empty line to cancel
1: 32
✔  checking for file ‘/tmp/RtmpuJbh7N/remotes4ac61a5b1312/IronistM-googleAnalyticsModelR-6e92050/DESCRIPTION’ ...
─  preparing ‘googleAnalyticsModelR’:
✔  checking DESCRIPTION meta-information ...
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  building ‘googleAnalyticsModelR_0.0.0.9000.tar.gz’
   
Installing package into ‘/home/emil/R/x86_64-pc-linux-gnu-library/3.5’
(as ‘lib’ is unspecified)
* installing *source* package ‘googleAnalyticsModelR’ ...
** R
** inst
** byte-compile and prepare package for lazy loading
2019-04-02 18:30:40> Default Google Project for googleAnalyticsR is now set.  
 This is shared with all googleAnalyticsR users. 
 If making a lot of API calls, please: 
 1) create your own Google Project at https://console.developers.google.com 
 2) Activate the Google Analytics Reporting API 
 3) set options(googleAuthR.client_id) and options(googleAuthR.client_secret) 
 4) Reload the package.
2019-04-02 18:30:40> Set API cache
Error : object ‘ga_model’ is not exported by 'namespace:googleAnalyticsR'
ERROR: lazy loading failed for package ‘googleAnalyticsModelR’
* removing ‘/home/emil/R/x86_64-pc-linux-gnu-library/3.5/googleAnalyticsModelR’
Error in i.p(...) : 
  (converted from warning) installation of package ‘/tmp/RtmpuJbh7N/file4ac656d76e1c/googleAnalyticsModelR_0.0.0.9000.tar.gz’ had non-zero exit status

Any ideias what might be wrong? Could this be related to an older version of some libraries?

@MarkEdmondson1234
Copy link
Collaborator

It looks like you should install the dev version of googleAnalyticsR first.

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