Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 741 Bytes

cran-comments.md

File metadata and controls

29 lines (20 loc) · 741 Bytes

Submission

This yet another C++11 fix, fixing clang warning: Result: WARN Found the following significant warnings: znorm.cpp:44:59: warning: 'bind2nd<std::__1::minus, double>' is deprecated [-Wdeprecated-declarations]

The old code: std::transform(ts.begin(), ts.end(), diff.begin(), std::bind2nd(std::minus(), mean));

The new code: for(unsigned i=0; i<ts.size(); i++) diff[i] = ts[i]-mean;

Changes

All over source code in order to fix any thrown warnings.

Test environments

  • Ubuntu LTS 19.10 (localhost), R 3.6.1
  • Ubuntu LTS 16.04 (on travis-ci), R 3.5
  • win-builder (devel and release)

R CMD check results

There were no ERRORs or WARNINGs

Downstream dependencies

stats::as.dist