JGCRI/gcamland

unable to install gcamland

Opened this issue · 0 comments

I am getting the following message when trying to install the gcamland using the code specified. can anyone help at the soonest possible,

> devtools::install_github("jgcri/gcamland")
Downloading GitHub repo jgcri/gcamland@HEAD
v  checking for file 'C:\Users\Rajiv\AppData\Local\Temp\RtmpGEKU0u\remotes47841db127af\JGCRI-gcamland-be3d382/DESCRIPTION' ...
-  preparing 'gcamland':
v  checking DESCRIPTION meta-information ... 
-  checking for LF line-endings in source and make files and shell scripts (1.4s)
-  checking for empty or unneeded directories
   Removed empty directory 'gcamland/outputs'
   Removed empty directory 'gcamland/vignettes/outputs'
     NB: this package now depends on R (>= 3.5.0)
     WARNING: Added dependency on R >= 3.5.0 because serialized objects in
     serialize/load version 3 cannot be read in older versions of R.
     File(s) containing such objects:
       'gcamland/tests/testthat/data/bayes-scenario-info.rds'
-  building 'gcamland_1.1.1.tar.gz'
   
Installing package intoC:/GCAM/GCAM_V6/input/gcamdata/renv/library/R-4.1/x86_64-w64-mingw32’
(aslibis unspecified)
* installing *source* package 'gcamland' ...
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
Error in vec_assign(x = col, i = missing, value = value, x_arg = col_arg,  : 
  Can't convert `replace$ha` <double> to match type of `data$ha` <character>.
Error: unable to load R code in package 'gcamland'
Execution halted
ERROR: lazy loading failed for package 'gcamland'
* removing 'C:/GCAM/GCAM_V6/input/gcamdata/renv/library/R-4.1/x86_64-w64-mingw32/gcamland'
Warning messages:
1: In untar2(tarfile, files, list, exdir, restore_times) :
  skipping pax global extended headers
2: In untar2(tarfile, files, list, exdir, restore_times) :
  skipping pax global extended headers
3: In i.p(...) :
  installation of package ‘C:/Users/Rajiv/AppData/Local/Temp/RtmpGEKU0u/file4784682d6fab/gcamland_1.1.1.tar.gz’ had non-zero exit status

error.txt

Thank you