Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sugar cbind with unit tests #447

Merged
merged 4 commits into from
Mar 14, 2016
Merged

Conversation

nathan-russell
Copy link
Contributor

The latest cbind implementation as discussed toward the bottom of #407.

@eddelbuettel
Copy link
Member

Looks pretty good to me.


} // cbind_impl

#define MakeBindable(x) (cbind_impl::detail::MakeBindable(x)(x))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this macro get undefined after we're done using it?

@kevinushey
Copy link
Contributor

Looks great! One minor comment re: potentially cleaning up the MakeBindable macro. Awesome stuff!

@nathan-russell
Copy link
Contributor Author

@kevinushey Thanks for reviewing! I just committed the change.

@eddelbuettel
Copy link
Member

Something went marginally wrong with the commit as GH thinks you changed 830 lines... Not to worry though.

@nathan-russell
Copy link
Contributor Author

Oh dear. I made this commit from a Windows machine -- I wonder if that has anything to do with it.

@eddelbuettel
Copy link
Member

That would do it. Hint: I believe even Windoze has some editors that behave like grownups :)

Here it doesn't matter. It's a new file anyway. In general, we've been pretty careful about not mass-committing whitespace changes. (With exception: @kevinushey once did a mass commit as I recall; I recently updated a bunch of headers following @ellert's PR, .... -- but in general that is best avoided).

We do have a number of skeletons with mixed tab/spaces in the closet though. But no point going crazy about them just for the heck of it...

I'll merge this now. Nice work!

eddelbuettel added a commit that referenced this pull request Mar 14, 2016
@eddelbuettel eddelbuettel merged commit 82d8a3a into RcppCore:master Mar 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants