Skip to content

Commit

Permalink
Switch R to using numargs
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Oct 9, 2023
1 parent 3642251 commit 1e9fb8f
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)

Check warning on line 7 in ext/SciMLBaseRCallExt.jl

View check run for this annotation

Codecov / codecov/patch

ext/SciMLBaseRCallExt.jl#L6-L7

Added lines #L6 - L7 were not covered by tests
end

end
end

0 comments on commit 1e9fb8f

Please sign in to comment.