You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am unable to install strex package using these two installations :
sessionInfo()
R version 3.3.1 (2016-06-21)
Platform: x86_64-koji-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)
sessionInfo()
R version 3.3.1 (2016-06-21)
Platform: x86_64-koji-linux-gnu (64-bit)
Running under: Scientific Linux release 6.8 (Carbon)
Both having as GCC version "4.4.7 20120313 (Red Hat 4.4.7-16) (GCC)"
I am getting these warnings
stringi-imports.h: In function ‘C_stringi_replace_all’:
stringi-imports.h:10:5: warning: implicit declaration of function ‘R_GetCCallable’ [-Wimplicit-function-declaration]
R_GetCCallable("stringi", "C_stri_replace_all_coll");
^
stringi-imports.h:9:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
fun = (SEXP(*)(SEXP, SEXP, SEXP, SEXP, SEXP))
^
list-utils.c: In function ‘C_int_mat_nth_col’:
list-utils.c:191:5: warning: implicit declaration of function ‘INTEGER_GET_REGION’ [-Wimplicit-function-declaration]
INTEGER_GET_REGION(int_mat, (n - 1) * nr, nr, out_int);
^
pairlist-utils.c: In function ‘C_int_prlst_cbind’:
pairlist-utils.c:9:5: warning: implicit declaration of function ‘INTEGER_GET_REGION’ [-Wimplicit-function-declaration]
INTEGER_GET_REGION(int_prlst_i_car, 0, nr, out_int + i * nr);
Which leads me to the following error
** testing if installed package can be loaded
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/home/.../lib/x86_64-koji-linux-gnu/3.3.1/strex/libs/strex.so':
/home/.../lib/x86_64-koji-linux-gnu/3.3.1/strex/libs/strex.so: undefined symbol: INTEGER_GET_REGION
Error: loading failed
Execution halted
The text was updated successfully, but these errors were encountered:
It seems that your version of R is too old. I wasn't aware of this, but it seems that a C function that I was using INTEGER_GET_REGION() came with the ALTREP framework which is from R 3.5. Can you update your R to 3.5 or later?
Thanks for your fast answer. We are currently having to POC to enhance our version of GCC so we can upgrade our R version but can't do it for now. I think you should update dependencies of your package on CRAN (currently they are written as R (≥ 3.1), stringr (≥ 1.4)).
I am unable to install strex package using these two installations :
Both having as GCC version "4.4.7 20120313 (Red Hat 4.4.7-16) (GCC)"
I am getting these warnings
Which leads me to the following error
The text was updated successfully, but these errors were encountered: