Closed yutannihilation closed 6 years ago
Thanks for reporting the issues. I have included your std::isnan suggestion but not using round function from C++11 since I would like to avoid the further dependency on on C++11. Note also that for vector Rcpp sugar has a round function. Thus for double I wrote my own round function called round_double. Checked the package on windows with rhub package and compile with no errors.
I see. Thanks for the quick fix! I confirmed now I can install_github()
on my Windows 👍
Hi, I heard some people can't install this via
install_github()
currently. When I tried by myself, I got two types of errors:error: ‘round’ is not a member of ‘std’
error: 'isnan' was not declared in this scope
IIUC, 1. indicates you are trying to use C++11, where
round
is the member ofstd
and 2. is just a lack ofstd::
, right? This PR is an attempt to fix the problem.