Conversation
|
Can one of the admins verify this patch? |
|
@bddbot add to whitelist |
|
Looks good! I think you are probably missing an entry in the stat package's NAMESPACE file. Can you also add a simple test case for the Thanks again! |
| SEXP cfilter(SEXP sx, SEXP sfilter, SEXP ssides, SEXP scircular); | ||
| SEXP rfilter(SEXP x, SEXP filter, SEXP out); | ||
|
|
||
| #ifndef R_STATS_H |
There was a problem hiding this comment.
to avoid build conflict: in stats.h there is lowess, and arima.c include both stats.h and statsR.h.
|
Not quite easy.. After adding stuffs inside arima.c to NAMESPACE, now it report:
Found a do_polyroot function inside complex.c of R source code: Not sure how to get this thing work, I don't even know where to put complex.c. Do you have any clue? |
|
Yes, this is a bit trickier. polyroot is an internal base function that basically has two parts:
|
| ARIMA_Like, | ||
| ARIMA_CSS, | ||
| TSconv, | ||
| getQ0, |
There was a problem hiding this comment.
Are all of these functions actually exported and used in the R code, or are some of them internal to the C code? Check the stat's package NAMESPACE file in GNU R:
https://github.com/wch/r-source/blob/trunk/src/library/stats/NAMESPACE
ef9d981 to
efef981
Compare
The arima.c get copied here, it include ARIMA_transPars function. C_ARIMA_transPars is defined in renjin.R. The build is working now, but for some reason the arima() report ERROR: Could not resolve native method ARIMA_transPars.
@akbertram, do you have any clue what I missed? Thanks in advance.