fastr icon indicating copy to clipboard operation
fastr copied to clipboard

fail to install pakage evanmunro/dhlvm from gh

Open o- opened this issue 5 years ago • 1 comments

Trying to install evanmunro/dhlvm from github, i get the following error.

./graalvm-ce-java11-20.1.0-dev/bin/R --R.PrintErrorStacktracesToFile=true
R version 3.6.1 (FastR)
Copyright (c) 2013-19, Oracle and/or its affiliates
Copyright (c) 1995-2018, The R Core Team
Copyright (c) 2018 The R Foundation for Statistical Computing
Copyright (c) 2012-4 Purdue University
Copyright (c) 1997-2002, Makoto Matsumoto and Takuji Nishimura
All rights reserved.

FastR is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

R is a collaborative project with many contributors.
Type 'contributors()' for more information.

Type 'q()' to quit R.

> devtools::install_github("evanmunro/dhlvm")
Downloading GitHub repo evanmunro/dhlvm@master
An internal error occurred: "should not reach here"
Please report an issue at https://github.com/oracle/fastr including the commands and the error log file 'fastr_errors_pid29653.log'.
Warning messages:
1: In FUN(X[[i]], ...) :
  named arguments other than 'exact' are discouraged
2: In FUN(X[[i]], ...) :
  named arguments other than 'exact' are discouraged

you can find the error log here.

I first tried with graal version 20.0.0 and got the same error

Can you reproduce with the latest development build?

yes

Include the following info

  • If you were installing the package from sources, include the sources or a link to them.

https://github.com/evanmunro/dhlvm

  • If FastR produced fastr_errors_pid{xyz}.log or fastr_errors.log, attach them to the issue.
  • GraalVM version or git revisions of FastR and GraalVM repositories if built from source.

here

  • OS name and version.

Ubuntu bionic

o- avatar Apr 14 '20 12:04 o-

Hello,

thank you for reporting the issue. This seems to be because FastR does not implement the ASCII serialization format (ID of this format is 1). We do support the default format XDR, other formats (ASCII, ASCII_HEX, BINARY) are not supported at the moment.

For the time being, if you can control the source of the package, you can use the XDR serialization format.

steve-s avatar Apr 16 '20 19:04 steve-s