Re: [R-pkg-devel] "Additional issues" show WRITE outside an array

2019-07-26 Thread Ivan Krylov
On Fri, 26 Jul 2019 01:50:36 -0500 Jiahuan ye wrote: > I am very confused what causes the ERROR. Your code on line 197 of src/min_wgss.cpp causes memory access outside the block that had been allocated for the best_change_point vector. I have not read the code in depth, but it looks like the

Re: [R-pkg-devel] "Additional issues" show WRITE outside an array

2019-07-26 Thread Uwe Ligges
Checks with address sanitizers have to be done with instrumnted R versions and take a long time, hence we run these checks less frequently and only under one platform (here Linux for simplicity). Best, Uwe Ligges On 26.07.2019 08:50, Jiahuan ye wrote: Hi, Recently, my first r package

[R-pkg-devel] "Additional issues" show WRITE outside an array

2019-07-26 Thread Jiahuan ye
Hi, Recently, my first r package offlineChange was uploaded to CRAN, and there are three errors. I already figured out that two of the three errors are that the depend and import are inconsistent: Depends:R (≥ 3.5.0) Imports: