Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

different behavior when calling expect_error with testthat #32

Closed
comicfans opened this issue Nov 21, 2018 · 2 comments
Closed

different behavior when calling expect_error with testthat #32

comicfans opened this issue Nov 21, 2018 · 2 comments

Comments

@comicfans
Copy link

following code did nothing in GnuR

library(testthat)
expect_error(var = 3)

but raise error in fastR:

Error in is.character(expr) : argument "x" is missing, with no default

@steve-s
Copy link
Member

steve-s commented Nov 21, 2018

Hi comicfans,

what version of GraalVM/FastR are you using? I tried on both the RC9 and the current development version of FastR and can't reproduce this. Maybe we'll need some code that preceded this code to reproduce the error. Edit: my bad, I can reproduce now on RC9. Thank you for the report, it seems to be fixed in the development version, which you can try via https://github.com/nuest/fastr-docker

@comicfans
Copy link
Author

comicfans commented Nov 22, 2018

Hi steve:

I've confirmed that fastr 3389c8c didn't have such problem any more. plus that docker file seems out dated (docker use openjdk but fastr requires special jdk from oracle)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants