Error building gcamdata
emmaliulu opened this issue · 11 comments
Hi @emmaliulu, I'm guessing this is an issue with package versions (we are working on a fix to this). Can you share you sessionInfo()
in R when this happens? Also just to check, are you using the latest publicly-available version of GCAM (https://github.com/JGCRI/gcam-core/releases/tag/gcam-v5.4)?
@russellhz
Yes, I am using the latest GCAM.
The issue is most likely cause by tidyr
. I would suggest going back to version 1.1.4.
I tested the solution you suggested but it didn't work. I used version 1.1.4. of the tidyr
package. @russellhz
@EngFatemeh can you also send the results of sessionInfo()
when you try to run the driver?
Hi @EngFatemeh, I haven't been able to recreate your error on my system with the packages from your sessionInfo()
. Can you also confirm that you are running the gcamdata
from the latest publicly-available version of GCAM? One other note is that we've just been testing on R 3.6.3 and R 4.0+.
Hi @russellhz @emmaliulu @EngFatemeh I also had the same issue. Was able to run gcamdata by changing the version of readr. Bit of trial and error. It ran with readr-1.3.1 and I also did have to use an older tidyr package. Hope this helps.
Yes, I am using the latest GCAM. I tried on R 4.1.2 but it didn't work. However, using readr 1.3.1 solved the error, thanks. @russellhz @tlongden620