Closed comicfans closed 5 years ago
Hi comicfans,
thanks for reporting this issue. It seems that GNU-R does not match arguments of primitive functions by name. An even simpler example is:
as.character(3, x=42)
gives 3
in GNU-R, but 42
in FastR. However, there are some special arguments matched by name, e.g. drop
argument of [
. We are working on a fix.
Should be fixed by abdce2eccc7361c6eaff88a50cb97e101996da4f
running following code leads fastR throw
Error in forceAndCall(1, FUN, newX[, i], ...) : invalid or unimplemented arguments
but if change second argument name of func from 'n' to 'n1', 'n2', 'nq' or something else, fastR gives correct result for example:
(I'm on fastR ee11fce71b2 )