Displaying 1 result from an estimated 1 matches for "do_log_bultin".
Did you mean:
do_log_bulitin
2020 May 22
0
round() and signif() do not check argument names when a single argument is given
...issing, with no default"), "x");
double digits = 0.0;
if(PRIMVAL(op) == 10004) digits = 6.0;
SETCDR(args, CONS(ScalarReal(digits), R_NilValue));
}
I'm not sure if CAR(args)==R_MissingArg is doing anything here, and
removing it seems to work, but this pattern is used in do_log_bultin.
I've tested this against the cases copied below, and this change will now
cause the error I expect in cases 5 and 6 [like round(digits=5.532) and
round(horse=5.131)], whereas current R 4.0.0 does not. This change
includes some _() text, but I'm not sure whether that means it will impact...