Skip to content

Commit

Permalink
init_jolin returns nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
schlichtanders committed Jul 7, 2024
1 parent cb143f1 commit 45c009c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "JolinPluto"
uuid = "5b0b4ef8-f4e6-4363-b674-3f031f7b9530"
authors = ["Stephan Sahm <[email protected]> and contributors"]
version = "0.1.65"
version = "0.1.66"

[deps]
AbstractPlutoDingetjes = "6e696c72-6542-2067-7265-42206c756150"
Expand Down
1 change: 1 addition & 0 deletions ext/PythonExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ const _python_module_where_plutoscript_is_included = Ref{PyDict}()
JolinPluto.init_jolin(python_globals::Py) = JolinPluto.init_jolin(PyDict(python_globals))
function JolinPluto.init_jolin(python_globals::PyDict)
_python_module_where_plutoscript_is_included[] = python_globals
nothing
end

JolinPluto.lang_enabled(::Val{:py}) = true
Expand Down
1 change: 1 addition & 0 deletions ext/RCallExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ function JolinPluto.init_jolin(r_environment::RCall.RObject{RCall.EnvSxp})

r_environment[Symbol(".bind")] = JolinPluto.bind
RCall.reval("bind <- function(var, ui) .bind(sys.call()[[2]], ui)", r_environment)
nothing
end

JolinPluto.lang_enabled(::Val{:r}) = true
Expand Down

0 comments on commit 45c009c

Please sign in to comment.