oracle / fastr

A high-performance implementation of the R programming language, built on GraalVM.
Other
624 stars 64 forks source link

incompatible types (from pairlist to list) in subassignment type fix #172

Closed oroppas closed 3 years ago

oroppas commented 3 years ago

I encountered the error while installing surveillance

> install.packages("surveillance")

Depending on gfortran version, you might need to set FFLAGS = -O2 -mtune=native -fallow-argument-mismatch in .R/Makevars to force argument mismatch error into warning in gfortran-10.

Can you reproduce with the latest development build?

Yes.

Include the following info

Matrix products: default BLAS: /home/ryutas/graalvm-ce-java11-21.1.0-dev/languages/R/lib/libRblas.so LAPACK: /home/ryutas/graalvm-ce-java11-21.1.0-dev/languages/R/lib/libRlapack.so

locale: [1] UTF-8/UTF-8/UTF-8/C/UTF-8/UTF-8

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

loaded via a namespace (and not attached): [1] tools_3.6.1

Akirathan commented 3 years ago

The installation of surveillance package is fixed. However, we cannot guarantee that the package will be fully functional once installed. I tried running some demos of this package locally and noticed, that some of them fails - e.g. cost demo fails with argument mismatch, and biosurvbook fails with "Date and time conversion format 'G' is not implemented in FastR". But it might work correctly for your particular use case. In case you run into another failure, just post another issue and we will fix that.