-
-
Notifications
You must be signed in to change notification settings - Fork 219
Closed
Description
I'm preparing a PR that includes sugar
counterparts for cumprod
, cummin
, and cummax
in base R, along with the respective unit tests. I don't believe this will affect any existing code, and my unit tests & Travis build ran without hitch, but I wanted to open this issue for the sake of questions, concerns, or general discussion.
Briefly,
Rcpp::cumprod
is templated forINTSXP
,REALSXP
, andCPLXSXP
; andRcpp::cummin
&Rcpp::cummax
are templated forINTSXP
andREALSXP
; in accordance withbase::cumprod
,base::cummin
, andbase::cummax
, respectively- All three appear to handle
NA
s andmatrix
arguments correctly (re: in the same manner as base R)
Metadata
Metadata
Assignees
Labels
No labels