Join GitHub today
Feature/issue 422 clean standalone functions #459
Remove most code-grepping from rstan::expose_stan_functions, hide generated code in namespace and call it via wrapper. There are warnings I'm not sure how to get rid of at the moment about get_rng and get_stream, we should fix those before merging.
This version of expose_stan_functions works with stan-dev/stan branch
How to Verify:
Use with the `` stan-dev/stan branch. Make sure the code above runs as expected. Also test a .stan function that prints output via print.
I don't know where we document expose_stan_functions but we should add documentation about the get_stream and get_rng functions there. Should also doc rstan::RNG and rstan::OUT. I haven't figured out how to inject those as the default arguments to the R wrappers for the exposed Stan functions yet.
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:
Here's the install_SteanHeaders.R for it:
On Sun, Feb 18, 2018 at 7:42 AM, Allen Riddell ***@***.***> wrote: Is this going in 2.18? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#459 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ADOrqnUxW7hDAy29trdmJEuQNZpI_9aHks5tWBq6gaJpZM4P8OP_> .