fastr icon indicating copy to clipboard operation
fastr copied to clipboard

FastR data.table dependency not recognized

Open mik3hall opened this issue 4 years ago • 2 comments

Can you reproduce with the latest development build?

Yes

Include the following info

  • GraalVM version or git revisions of FastR and GraalVM repositories if built from source.

openjdk version "11.0.11" 2021-04-20 OpenJDK Runtime Environment GraalVM CE 21.2.0-dev (build 11.0.11+8-jvmci-21.2-b02) OpenJDK 64-Bit Server VM GraalVM CE 21.2.0-dev (build 11.0.11+8-jvmci-21.2-b02, mixed mode, sharing)

  • Output of R built-in function sessionInfo().

sessionInfo() FastR version 4.0.3 (2020-10-10) Platform: x86_64-apple-darwin19.6.0 (64-bit) Running under: macOS Catalina 10.15.7

Matrix products: default BLAS: /Users/mjh/HalfPipe/HalfPipe_jpkg/HPGraal11/HalfPipeGraal11.app/Contents/runtime/Contents/Home/languages/R/lib/libRblas.dylib LAPACK: /Users/mjh/HalfPipe/HalfPipe_jpkg/HPGraal11/HalfPipeGraal11.app/Contents/runtime/Contents/Home/languages/R/lib/libRlapack.dylib

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_4.0.3

  • OS name and version.

As shown in sessionInfo

The error:

R> remove.packages("data.table") Removing package from ‘/Users/mjh/Documents/R/fastr’ (as ‘lib’ is unspecified) R> install.fastr.packages("data.table") Installing package into ‘/Users/mjh/Documents/R/fastr’ (as ‘lib’ is unspecified) R> install.packages("mlr") Installing package into ‘/Users/mjh/Documents/R/fastr’ (as ‘lib’ is unspecified) Warning: dependency ‘data.table’ is not available Content type 'application/octet-stream' length 2247800 bytes (2.1 MB)

The downloaded source packages are in ‘/private/var/folders/dh/91wmrk0n6lzfmr4tjhjmcfp40000gn/T/RtmpNAslb1/downloaded_packages’ Warning message: In install.packages("mlr") : installation of package ‘mlr’ had non-zero exit status R>

The same for mlr3.

mik3hall avatar Jun 17 '21 17:06 mik3hall

I suspect that this is going to be due to mlr declaring data.table dependency with version requirement (>=1.12.4), but the data.table fork we patched to work with FastR is of version 1.10.4-3.

steve-s avatar Jun 21 '21 14:06 steve-s

Sounds possible. But I don't know how difficult it would be to update the patched data.table.

mik3hall avatar Jun 21 '21 14:06 mik3hall