-
Notifications
You must be signed in to change notification settings - Fork 35
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
[WIP] Automatic wrapping of julia packages #118
Conversation
Push more commits into the branch with a more refined API.
|
Out of curiousity, does it the call on |
R does not support the callable object syntax. sol is not recognized as a function in R so R will not think sol() is valid.
I am not sure whether I can modify the internal of JuliaCall to make sol a function so the syntax is possible. Once the syntax works, the functionality should follows.
Or is there any suggestion for a new syntax to mimic callable object syntax in R?
|
Maybe it can be something like |
With the new commits, |
I will first merge this PR and get a new release with all the new functionalities and bug fixes. More work will be done in future PRs. |
Implement the automatic wrapping functionality for julia functions and packages. Hope it is helpful for package developers using JuliaCall.
Description
Related Issue
Related to SciML/diffeqr#16
Example
The new code implements
JuliaCall:::julia_function
andJuliaCall:::julia_pkg_import
, both unexported currently, which wrap functions and packages automatically. The usage is as follows:In progress.