Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upUpdate Attributes.R (closes #1017) #1016
Conversation
Corrected parsing of multiple "depends" statements in "cppFunction".
|
Good catch! LGTM. |
|
No worries. Thanks to all for producing such a useful package! |
|
@tjmckinley while you're at it... Mind fixing the code for Lines 258 to 259 in 975361f |
|
@tjmckinley Thank you. Please also consider reading Contributing before sending PRs. What is the motivation for the PR? What it fixes is not a defect but an aesthetic preference. Which would change something used as it currently is and was by lots of people. We generally don't do that without good reason. |
|
My apologies @eddelbuettel. I will log an issue now with a reprex. |
|
Hi @eddelbuettel. I've logged an issue (#1017) with a reprex. It's not purely aesthetic in this case since the code won't compile for the example since the header file for
produces code with scaffolding:
with no Many thanks, TJ |
|
By the way, many thanks @eddelbuettel, @coatless for producing this fantastic package. I can't do without it! Apologies also if I take a while to reply. I'm in Japan and hence the time difference causes a lag in response time. |
Yes @coatless. Happy to do this if you and @eddelbuettel think this is an issue. |
|
LGTM as well. |
|
Looks good to me too after a closer look; merging. |
When passing multiple "depends" arguments to "cppFunction" e.g.
this was producing code with scaffolding:
rather than