Skip to content

Commit

Permalink
Revert "Switch R to using numargs"
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Oct 20, 2023
1 parent e5579db commit 96a58e3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ext/SciMLBaseRCallExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ module SciMLBaseRCallExt
using RCall: RFunction
using SciMLBase

function SciMLBase.numargs(f::RFunction)
R"formals"(f)
# Always assume a function from R is not in-place because copy-on-write disallows it!
function SciMLBase.isinplace(f::RFunction, args...; kwargs...)
false
end

end
end

0 comments on commit 96a58e3

Please sign in to comment.