Skip to content

Commit

Permalink
Merge pull request #523 from SciML/ChrisRackauckas-patch-2
Browse files Browse the repository at this point in the history
Switch R to using numargs
  • Loading branch information
ChrisRackauckas authored Oct 9, 2023
2 parents 3642251 + 1e9fb8f commit 7afe983
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions ext/SciMLBaseRCallExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ module SciMLBaseRCallExt
using RCall: RFunction
using SciMLBase

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

end
end

0 comments on commit 7afe983

Please sign in to comment.