Dynamic box::use(<with a string>) in a rhino app

I am trying to build a Shiny app with Rhino and box which picks up R modules in a directory. So instead of a fixed:

box::use( app/view/exp_median,)

something along the lines of:

mod  = "app/view/exp_median"
box::user(eval(parse(text = mod)))

The above gives an error message. What is the correct syntax to use?

Note: This is a repost after a post on klmr/box received no response after 4 days.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.