JGCRI / gcamdata

The GCAM data system
https://jgcri.github.io/gcamdata/
Other
44 stars 26 forks source link

Not being able to build the datasystem - GCAM v5.4 windows release (maybe vroom error?) #1175

Closed Silviameteoro closed 3 years ago

Silviameteoro commented 3 years ago

Hi,

I am trying to build gcamdata for a GCAM v5.4 windows release version. However, after running driver() I soon get the error message:

Error : The size of the connection buffer (131072) was not large enough
to fit a complete line:

Do you have any advice? I am in super need of the gacamdata installed.

I ran sessioninfo() and I have the following:

sessionInfo() R version 4.1.1 (2021-08-10) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19043)

Matrix products: default

locale: [1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] 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

other attached packages: [1] gcamdata_5.1

loaded via a namespace (and not attached): [1] rstudioapi_0.13 magrittr_2.0.1 hms_1.1.0 bit_4.0.4
[5] tidyselect_1.1.1 R6_2.5.0 rlang_0.4.11 fansi_0.5.0
[9] dplyr_1.0.7 tools_4.1.1 parallel_4.1.1 data.table_1.14.0 [13] vroom_1.5.4 utf8_1.2.2 DBI_1.1.1 withr_2.4.2
[17] ellipsis_0.3.2 bit64_4.0.5 assertthat_0.2.1 tibble_3.1.3
[21] lifecycle_1.0.0 crayon_1.4.1 purrr_0.3.4 readr_2.0.1
[25] tzdb_0.1.2 tidyr_1.1.3 vctrs_0.3.8 glue_1.4.2
[29] compiler_4.1.1 pillar_1.6.2 generics_0.1.0 pkgconfig_2.0.3

Thanks.

Silviameteoro commented 3 years ago

Hi all,

I have been able to solve this issue.

This post (https://github.com/r-lib/vroom/issues/360) has given me some hints.

The first I have done was to reverse the version of tidyverse from 1.3.1 to 1.3.0 - this did not work.

Second I reverted readr version from 2.0.0 to 1.4.0. - This solved the issue and could build the datasystem.

To revert package versions I followed this: https://support.rstudio.com/hc/en-us/articles/219949047-Installing-older-versions-of-packages