This puts the support R code into an R package called hera instead of having volatile R code that is source() from the directory. The plan is for hera to be tested as a standalone package with typical R code tools, i.e. testthat ...
So currently, the kernel void interpreter::configure_impl() will try to load hera:
closes #32
This puts the support R code into an R package called
hera
instead of having volatile R code that issource()
from the directory. The plan is forhera
to be tested as a standalone package with typical R code tools, i.e. testthat ...So currently, the kernel
void interpreter::configure_impl()
will try to loadhera
:And then e.g.
execute_request_impl()
will call the R functionexecute
that lives inhera
:Then the R code might need to call the routines made available by
xeusr
, e.g.This is all similar to what was, but having it in a proper package will help.
For testing purposes, i.e. when R is not embedded, and therefore those routines are not available, we'll have to replace them with mockups.
An issue I have with this, is that e need to make sure that the 📦 is installed, so I probably need to investigate that.