- Notifications
You must be signed in to change notification settings - Fork55
added optional RCPP_ARMADILLO_RETURN_COLVEC_AS_VECTOR and co.#151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Signed-off-by: Serguei Sokol <sokol at insa-toulouse.fr>
eddelbuettel commentedJul 29, 2017 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
First off, thanks for getting this started! Second, I edited your markdown. Level headers (one #) are 'too loud'; I made them level four. And I made your code snippets code snippets. See what I did there, and read up on Markdown and GitHub-flavoured Markdoiwn. It is worth it. Third, this must have new unit tests. Adding them is trivial. Justlook at the subdirectory and the |
eddelbuettel left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
This looks fine but is too minimal and bare.
We need unit tests.
We probably need a commented-out but documenting setting in RcppArmadilloConfig.h.
unit_test_setup() is modified to accept character vector as first argument;
eddelbuettel commentedAug 1, 2017
That looks good. I'll add ChangeLog and NEWS entries. |
Uh oh!
There was an error while loading.Please reload this page.
I don't know how to add unit tests with RUnit so tested by hand with code snipets like the following:
legacy colvec
colvec tested with COLVEC
colvec tested with ANYVEC
legacy rowvec
rowvec tested with ROWVEC
rowvec tested with ANYVEC
Signed-off-by: Serguei Sokol