rhub icon indicating copy to clipboard operation
rhub copied to clipboard

Fedora using V8 package

Open ijlyttle opened this issue 3 years ago • 2 comments

I don't know if this is an r-hub issue or a V8 issue; I'll start here.

I am prepping the vegawidget package for another CRAN release. According to CRAN, there are no problems on Fedora for vegawidget (0.4.1.) All the checks are passing using GitHub Actions, and on the other rhub::check_for_cran() default platforms.

However, using rhub's "fedora-gcc-devel", I get a V8-related problem for both the existing CRAN version of vegawidget (0.4.1), and the dev version (proposed for CRAN):

 >   svg <- vw_to_svg(vegawidget(spec_mtcars))
 Error in context_eval(join(src), private$context, serialize, await) : 
   SyntaxError: Use of const in strict mode.
 Calls: vw_to_svg ... <Anonymous> -> evaluate_js -> get_str_output -> context_eval
 Execution halted

Links to vegawidget runs on r-hub "fedora-gcc-devel": CRAN and dev.

I understand that curating the versions of libv8 for all these platforms is an ongoing challenge, so I hope @jeroen won't mind that I cc him, here.

There is no great urgency to this. I'd like to make a CRAN release at some point, but there are no deadlines.

Of course, I remain grateful for all that r-hub does to support development efforts, and all that @jeroen does to keep V8 up and running. Thanks as always!

ijlyttle avatar Oct 14 '22 18:10 ijlyttle

We need to update the Fedora container to make V8 work. It won't work with the current container, unfortunately.

gaborcsardi avatar Oct 19 '22 07:10 gaborcsardi

Hi @gaborcsardi - thanks!

Given that it's working at CRAN and that V8 is a known issue here, the path is clear for me to resume submission.

ijlyttle avatar Oct 19 '22 11:10 ijlyttle

This issue is about the previous R-hub system, it does not apply to the new system, so I am closing it now. Please see https://r-hub.github.io/rhub/ for the new system, R-hub v2.

gaborcsardi avatar May 09 '24 12:05 gaborcsardi