jacob-long / panelr

Regression models and utilities for repeated measures and panel data
Other
99 stars 21 forks source link

Unable to install package from CRAN or github #35

Closed gpresto closed 4 years ago

gpresto commented 4 years ago

Hi, This may be a known issue, but I am currently unable to install panelr from either CRAN or github. My attempt and session info below:

> install.packages("panelr")
Installing package into ‘C:/Users/gprest/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
Warning in install.packages :
  package ‘panelr’ is not available (for R version 3.6.0)
> devtools::install_github("jacob-long/panelr")
Downloading GitHub repo jacob-long/panelr@HEAD
√  checking for file 'C:\Users\gprest\AppData\Local\Temp\RtmpovHytz\remotes2b38226753f6\jacob-long-panelr-bcbbf9e/DESCRIPTION' (1.3s)
-  preparing 'panelr':
√  checking DESCRIPTION meta-information ... 
-  checking for LF line-endings in source and make files and shell scripts
-  checking for empty or unneeded directories
-  looking to see if a 'data/datalist' file should be added
-  building 'panelr_0.7.3.tar.gz'

Installing package into ‘C:/Users/gprest/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
* installing *source* package 'panelr' ...
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
Error: (converted from warning) package 'lme4' was built under R version 3.6.3
Execution halted
ERROR: lazy loading failed for package 'panelr'
* removing 'C:/Users/gprest/Documents/R/win-library/3.6/panelr'
Error: Failed to install 'panelr' from GitHub:
  (converted from warning) installation of package ‘C:/Users/gprest/AppData/Local/Temp/RtmpovHytz/file2b38177d5055/panelr_0.7.3.tar.gz’ had non-zero exit status
> sessionInfo()
R version 3.6.0 (2019-04-26)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18362)

Matrix products: default

locale:
[1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United States.1252    LC_MONETARY=English_United States.1252 LC_NUMERIC=C                          
[5] LC_TIME=English_United States.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
 [1] rstudioapi_0.11   magrittr_1.5      usethis_1.6.1     devtools_2.3.1    pkgload_1.1.0     R6_2.4.1          rlang_0.4.7       fansi_0.4.1       tools_3.6.0      
[10] pkgbuild_1.1.0    sessioninfo_1.1.1 cli_2.0.2         withr_2.2.0       ellipsis_0.3.1    remotes_2.2.0     assertthat_0.2.1  digest_0.6.25     rprojroot_1.3-2  
[19] crayon_1.3.4      processx_3.4.4    callr_3.4.4       fs_1.5.0          ps_1.3.4          curl_4.3          testthat_2.3.2    memoise_1.1.0     glue_1.4.2       
[28] compiler_3.6.0    desc_1.2.0        backports_1.1.10  prettyunits_1.1.1
gpresto commented 4 years ago

Either upgrading to R3.6.3 and/or uninstalling Rtools fixed the issue