Debian Codegraph @

ChangeLog

raw
1 2026-07-01 Dirk Eddelbuettel <[email protected]>
2
3 * inst/bib/Rcpp.bib: Small correction and reference update
4 * vignettes/rmd/Rcpp.bib: Idem
5 * vignettes/rmd/Rcpp-FAQ.Rmd: Quote rbenchmark package once
6
7 2026-06-29 Dirk Eddelbuettel <[email protected]>
8
9 * DESCRIPTION (Version, Date): Roll micro version and date
10 * inst/include/Rcpp/config.h: Idem
11
12 2026-06-26 Kevin Ushey <[email protected]>
13
14 * inst/include/Rcpp/proxy/AttributeProxy.h: Do not rely on get__()
15 in attribute accessors so that classes such as ListOf compile
16 * inst/tinytest/cpp/ListOf.cpp: Added tests
17 * inst/tinytest/test_listof.R: Idem
18
19 2026-06-23 Jeroen Ooms <[email protected]>
20
21 * Add templated integer-index overload on platforms without
22 LONG_VECTOR_SUPPORT such as wasm32 (PR #1482)
23
24 2026-06-18 Dirk Eddelbuettel <[email protected]>
25
26 * vignettes/rmd/Rcpp.bib: Updated references
27 * inst/bib/Rcpp.bib: Idem
28
29 2026-06-09 Dirk Eddelbuettel <[email protected]>
30
31 * .github/workflows/ci.yaml: Update actions to current versions
32 * .github/workflows/docker.yaml: Idem
33 * .github/workflows/macos.yaml: Idem
34 * .github/workflows/stale.yaml: Idem
35 * .github/workflows/linuxarm.yaml: Idem
36
37 2026-06-08 Dirk Eddelbuettel <[email protected]>
38
39 * R/RcppLdpath.R: Prefix three messages with 'Rcpp:::' to make it
40 more obvious where they originate from
41
42 2026-05-05 Dirk Eddelbuettel <[email protected]>
43
44 * DESCRIPTION (Version, Date): Roll micro version and date
45 * inst/include/Rcpp/config.h: Idem
46
47 * inst/include/Rcpp/Nullable.h (Nullable): Switch operatorT() from
48 opt-in to opt-out as six downstream packages have updated at CRAN
49
50 * docker/ci-4.5/Dockerfile: Added based on r-base:4.5.3
51 * .github/workflows/ci.yaml (jobs): Add rcpp/ci-4.5 to matrix
52
53 2026-05-01 Dirk Eddelbuettel <[email protected]>
54
55 * DESCRIPTION (Version, Date): Roll micro version and date
56 * inst/include/Rcpp/config.h: Idem
57
58 2026-04-29 Kevin Ushey <[email protected]>
59
60 * inst/include/Rcpp/exceptions.h: Use stack buffer for warning
61 message to avoid string memory leakage in case of longjump
62 * inst/tinytest/test_dataframe.R: New test
63
64 2026-04-23 Dirk Eddelbuettel <[email protected]>
65
66 * vignettes/rmd/Rcpp.bib: Update one arXiv URL
67 * inst/bib/Rcpp.bib: Idem
68 * vignettes/Rcpp-libraries.pdf: Regenerated
69
70 2026-04-13 Dirk Eddelbuettel <[email protected]>
71
72 * DESCRIPTION (Version, Date): Roll micro version and date
73 * inst/include/Rcpp/config.h: Idem
74
75 2026-04-12 Dirk Eddelbuettel <[email protected]>
76
77 * inst/include/Rcpp/Nullable.h (Nullable): 'operator T()' is now
78 behind an opt-in #define
79
80 2026-04-09 Dirk Eddelbuettel <[email protected]>
81
82 * DESCRIPTION (Version, Date): Roll micro version and date
83 * inst/include/Rcpp/Nullable.h (T): Also add 'operator T()'
84 (conditional on R (>= 4.3.0) as older versions croak)
85
86 2026-04-08 Dirk Eddelbuettel <[email protected]>
87
88 * inst/include/Rcpp/Nullable.h (as): Enhance by adding an explicit
89 Rcpp::as<T>() aiding cases where implicit as<> does not suffice
90
91 2026-04-07 Dirk Eddelbuettel <[email protected]>
92
93 * DESCRIPTION (Version, Date): Roll micro version and date (twice)
94 * inst/include/Rcpp/config.h: Idem
95 * inst/NEWS.Rd: Stress interim status
96
97 2026-04-06 Iñaki Ucar <[email protected]>
98
99 * inst/tinytest/test_vector.R: Complete test cases for setting NamesProxy
100 * inst/tinytest/cpp/Vector.cpp: Idem
101
102 2026-04-02 Dirk Eddelbuettel <[email protected]>
103
104 * inst/include/Rcpp/Function.h: Further refinement for 4.6.0 to not
105 require R_NamespaceRegistry, using R_getRegisteredNamespace() instead
106
107 2026-04-03 Dirk Eddelbuettel <[email protected]>
108
109 * inst/include/Rcpp/proxy/NamesProxy.h (set): Only set non-null values
110
111 2026-04-01 Mattias Ellert <[email protected]>
112
113 * inst/discovery/cxx0x.R: Set execute permissions for script
114 with shebang
115 * inst/examples/ConvolveBenchmarks/overhead.r: Idem
116 * inst/examples/ConvolveBenchmarks/overhead.sh: Idem
117 * inst/examples/Misc/ifelseLooped.r: Idem
118 * inst/examples/Misc/newFib.r: Idem
119 * inst/examples/OpenMP/OpenMPandInline.r: Idem
120 * inst/tinytest/test_dispatch.R: Idem
121
122 2026-03-29 Iñaki Ucar <[email protected]>
123
124 * inst/include/Rcpp/api/meat/Rcpp_eval.h: Remove check for non-API
125 R_UnboundValue, which is never returned anyway from Rf_findFun
126 * inst/include/Rcpp/Function.h: Use alternative to R_UnboundValue
127 * inst/include/Rcpp/Promise.h: Idem
128 * inst/include/Rcpp/Environment.h: Idem + some refactoring
129
130 2026-03-26 Iñaki Ucar <[email protected]>
131
132 * inst/include/Rcpp/internal/r_vector.h: Use dataptr() again to avoid an
133 invalid pointer for empty vectors, which causes UB in e.g. std::copy
134 * inst/tinytest/test_vector.R: Add tests for std::copy
135 * inst/tinytest/cpp/Vector.cpp: Idem
136 2026-03-27 Iñaki Ucar <[email protected]>
137
138 * inst/include/Rcpp/vector/ListOf.h: Fix inheritance
139 * inst/include/Rcpp/proxy/NamesProxy.h: Fix compatibility
140
141 2026-03-26 Dirk Eddelbuettel <[email protected]>
142
143 * inst/bib/Rcpp.bib: Refreshed a few more references
144
145 2026-03-06 Dirk Eddelbuettel <[email protected]>
146
147 * DESCRIPTION (Version, Date): Roll micro version and date (twice)
148 * inst/include/Rcpp/config.h: Idem
149 * inst/NEWS.Rd: Updated
150
151 * inst/include/Rcpp/Environment.h: For R 4.5.0 or later, use
152 R_ParentEnv instead of ENCLOS to reach parent environment
153
154 2026-02-27 Iñaki Ucar <[email protected]>
155
156 * inst/include/Rcpp/sugar/functions/max.h: Fix UB for empty integer
157 * inst/include/Rcpp/sugar/functions/min.h: Idem
158 * inst/tinytest/test_sugar.R: Adapt tests
159
160 2026-02-26 Iñaki Ucar <[email protected]>
161
162 * inst/include/Rcpp/sugar/tools/safe_math.h: New header implementing safe
163 versions of add/sub/mul operations for integral types
164 * inst/include/Rcpp/sugar/sugar.h: Includes the previous header
165
166 * inst/include/Rcpp/sugar/functions/cumprod.h: Use the previous operations
167 * inst/include/Rcpp/sugar/functions/cumsum.h: Idem
168 * inst/include/Rcpp/sugar/functions/diff.h: Idem, also fixed a bug where
169 the diff was recomputed instead of returning the calculated value
170 * inst/include/Rcpp/sugar/functions/rowSums.h: Idem
171 * inst/include/Rcpp/sugar/functions/sum.h: Idem
172 * inst/include/Rcpp/sugar/operators/minus.h: Idem, also fixed a bug for
173 an incorrect Extractor specialization in Minus_Primitive_Vector
174 * inst/include/Rcpp/sugar/operators/plus.h: Idem
175 * inst/include/Rcpp/sugar/operators/times.h: Idem
176
177 * inst/tinytest/test_sugar.R: New tests covering the new operations
178 * inst/tinytest/cpp/sugar.cpp: Idem
179 * inst/tinytest/cpp/sugar_safe_math.cpp: Idem
180 * inst/tinytest/cpp/sugar_safe_math_fallback.cpp: Idem
181
182 2026-02-17 Dirk Eddelbuettel <[email protected]>
183
184 * DESCRIPTION (Version, Date): Roll micro version and date
185 * inst/include/Rcpp/config.h: Idem
186 * inst/NEWS.Rd: Updated
187
188 2026-02-17 Iñaki Ucar <[email protected]>
189
190 * inst/include/Rcpp/sugar/operators/Comparator_With_One_Value.h: Fix UB
191 for non-integer RTYPEs in comparator
192
193 2026-01-23 Dirk Eddelbuettel <[email protected]>
194
195 * inst/include/Rcpp/DataFrame.h (nrow): Use R_nrow() with R >= 4.6.0
196 * inst/include/Rcpp/proxy/AttributeProxy.h (attributeNames): Use
197 R_getAttribNames() with R >= 4.6.0;
198 * inst/include/Rcpp/proxy/AttributeProxy.h (hasAttribute): Use
199 R_hasAttrib with R >= 4.6.0
200
201 2026-01-22 Dirk Eddelbuettel <[email protected]>
202
203 * DESCRIPTION (Version, Date): Roll micro version and date
204 * inst/include/Rcpp/config.h: Idem
205
206 2026-01-21 Dirk Eddelbuettel <[email protected]>
207
208 * inst/include/Rcpp/date_datetime/Datetime.h: Fractional seconds type
209 switched to 'int' for consistency, print format string re-adjusted
210
211 2026-01-20 Dirk Eddelbuettel <[email protected]>
212
213 * inst/include/Rcpp/date_datetime/Datetime.h (format): Correct a
214 format string reflecting 'unsigned int' rather than 'int'
215
216 2026-01-13 Dirk Eddelbuettel <[email protected]>
217
218 * inst/tinytest/cpp/attributes_extended.cpp: New unit tests
219 * inst/tinytest/test_attributes_extended.R: Idem
220 * inst/tinytest/test_compile_attributes_errors.R: Idem
221 * inst/tinytest/test_cppfunction_errors.R: Idem
222 * inst/tinytest/test_sourcecpp_errors.R: Idem
223 * R/Attributes.R: Remove #nocov tags
224 * src/attributes.cpp: Idem
225
226 2026-01-12 Dirk Eddelbuettel <[email protected]>
227
228 * DESCRIPTION (Version, Date): Roll micro version and date
229 * inst/include/Rcpp/config.h: Idem
230
231 * inst/include/Rcpp/exceptions_impl.h: Combine previous and current
232 methods enabling when 'execinfo.h' is found on selected platforms
233
234 2026-01-08 Dirk Eddelbuettel <[email protected]>
235
236 * DESCRIPTION (Date, Version): Release 1.1.1
237
238 * inst/include/Rcpp/config.h: Idem
239 * inst/NEWS.Rd: Idem
240
241 2026-01-07 Dirk Eddelbuettel <[email protected]>
242
243 * vignettes/pdf/*: Rebuilt
244
245 * vignettes/rmd/Rcpp.bib: Updates to several URLs
246 * inst/bib/Rcpp.bib: Idem
247 * vignettes/rmd/*: Idem
248 * README.md: Idem
249
250 2026-01-06 Dirk Eddelbuettel <[email protected]>
251
252 * DESCRIPTION (Version, Date): Roll micro version and date
253 * inst/include/Rcpp/config.h: Idem
254
255 * vignettes/rmd/Rcpp.bib: Update package versions dates
256 * inst/bib/Rcpp.bib: Idem
257
258 2026-01-04 Dirk Eddelbuettel <[email protected]>
259
260 * inst/include/RcppCommon.h: No longer require RCPP_USING_UNWIND_PROTECT
261 * inst/include/Rcpp/r/headers.h: Idem
262 * inst/include/Rcpp/api/meat/Rcpp_eval.h: Idem
263 * inst/tinytest/cpp/stack.cpp: No longer test with RCPP_USING_UNWIND_PROTECT
264 * inst/tinytest/test_interface.R: Idem
265
266 2026-01-01 Dirk Eddelbuettel <[email protected]>
267
268 * R/Attributes.R: Additional or adjusted #nocov tags
269 * R/Rcpp.package.skeleton.R: Idem
270 * R/RcppLdpath.R: Idem
271 * R/asis.R: Idem
272 * R/inline.R: Idem
273 * inst/include/Rcpp/api/meat/Rcpp_eval.h: Idem
274 * inst/include/Rcpp/internal/caster.h: Idem
275 * inst/include/Rcpp/internal/export.h: Idem
276 * inst/include/Rcpp/proxy/NamesProxy.h: Idem
277 * inst/include/Rcpp/proxy/SlotProxy.h: Idem
278 * inst/include/Rcpp/vector/Vector.h: Idem
279 * inst/include/Rcpp/vector/proxy.h: Idem
280 * inst/include/Rcpp/vector/traits.h: Idem
281 * inst/include/Rcpp/Environment.h: Idem
282 * inst/include/Rcpp/Function.h: Idem
283 * inst/include/Rcpp/Module.h: Idem
284 * inst/include/Rcpp/S4.h: Idem
285 * inst/include/Rcpp/as.h: Idem
286 * inst/include/Rcpp/exceptions.h: Idem
287 * inst/include/Rcpp/r_cast.h: Idem
288 * src/attributes.cpp: Idem
289 * src/barrier.cpp: Idem
290
291 2025-12-30 Dirk Eddelbuettel <[email protected]>
292
293 * tests/tinytest.R: Refine decision of when not to run all tests even
294 when development version number is seen
295
296 2025-12-28 Dirk Eddelbuettel <[email protected]>
297
298 * README.md: Replace installation from drat section with r-universe
299
300 2025-12-22 Dirk Eddelbuettel <[email protected]>
301
302 * DESCRIPTION (Version, Date): Roll micro version and date
303 * inst/include/Rcpp/config.h: Idem
304
305 * inst/include/Rcpp/DataFrame.h (nrow): Simplified per #1430 discussion
306 relying on compact sequence representation removing use of ATTRIB
307 * inst/include/Rcpp/proxy/AttributeProxy.h (hasAttribute): For R
308 4.6.0, rewritten using R_mapAttrib() avoiding to-be-removed ATTRIB()
309
310 2025-12-21 Dirk Eddelbuettel <[email protected]>
311
312 * .github/workflows/docker.yaml: Add workflow_dispatch, update
313 checkout action
314
315 2025-12-19 Dirk Eddelbuettel <[email protected]>
316
317 * man/RcppUnitTests.Rd: Removed outdated help page
318
319 2025-12-17 Dirk Eddelbuettel <[email protected]>
320
321 * DESCRIPTION (Version, Date): Roll micro version and date
322 * inst/include/Rcpp/config.h: Idem
323
324 * DESCRIPTION (Depends): Add 'R (>= 3.5.0)'
325
326 2025-12-16 Dirk Eddelbuettel <[email protected]>
327
328 * DESCRIPTION (Version, Date): Roll micro version and date
329 * inst/include/Rcpp/config.h: Idem
330
331 * src/barrier.cpp (dataptr): Remove check for 'R (>= 3.5.0)'
332 * inst/include/Rcpp/Rmath.h: Remove check for 'R (>= 3.1.2)'
333 * inst/include/Rcpp/Symbol.h: Remove check for 'R (>= 3.2.0)'
334 * inst/include/Rcpp/exceptions.h: Remove check for 'R (>= 3.5.0)'
335 * inst/include/Rcpp/r/headers.h: Idem
336
337 * R/Attributes.R: Remove multiple checks for R version < 3.5.0
338 * R/Rcpp.package.skeleton.R: Idem
339 * inst/tinytest/testRcppInterfaceUser/tests/tests.R: Remove one check
340
341 2025-12-12 Dirk Eddelbuettel <[email protected]>
342
343 * inst/tinytest/test_system.R: Wrap suppressMessages() around three
344 tests for long-obsolete linker and compiler flags
345
346 * inst/include/Rcpp/Environment.h: Replace use of Rf_findVarInFrame
347 with R_getVarEx (or R_getVar) if R 4.5.0 or later is used
348 * inst/include/Rcpp/Function.h: Idem
349 * src/barrier.cpp: Idem
350
351 2025-12-10 Dirk Eddelbuettel <[email protected]>
352
353 * DESCRIPTION (Version, Date): Roll micro version and date
354 * inst/include/Rcpp/config.h: Idem
355
356 * inst/include/Rcpp/Rmath.h: Do not access Rf_rnbeta
357 * inst/include/Rcpp/sugar/undoRmath.h: Remove #undef
358
359 2025-12-06 Dirk Eddelbuettel <[email protected]>
360
361 * DESCRIPTION (Version, Date): Roll micro version and date
362 * inst/include/Rcpp/config.h: Idem
363 * inst/NEWS.Rd: Updated
364
365 2025-12-04 Iñaki Ucar <[email protected]>
366
367 * inst/include/Rcpp/r/headers.h: Include <R_ext/Visibility.h>
368 * inst/include/RcppCommon.h: Drop <R_ext/Callbacks.h>, not used anymore
369 and dropped from the API; drop <R_ext/Visibility.h>, included above
370 * src/api.cpp: Drop <R_ext/PrtUtil.h>, dropped from the API
371
372 2025-12-03 Dirk Eddelbuettel <[email protected]>
373
374 * DESCRIPTION (Version, Date): Roll micro version and date
375 * inst/include/Rcpp/config.h: Idem
376
377 2025-12-02 Dirk Eddelbuettel <[email protected]>
378
379 * R/loadRcppModules.R: Remove file with function deprecated years ago
380 * man/loadRcppModules-deprecated.Rd: Idem
381 * NAMESPACE: Remove reference to loadRcppModules()
382 * man/loadModule.Rd: Idem
383 * man/Rcpp-deprecated.Rd: Idem
384 * vignettes/rmd/Rcpp-modules.Rmd: Idem
385
386 2025-12-01 Kevin Ushey <[email protected]>
387
388 * R/Attributes.R: Update OpenMP plugin for macOS
389
390 2025-11-29 Dirk Eddelbuettel <[email protected]>
391
392 * R/RcppLdpath.R: Revisit deprecation warnings via 'message()' to be
393 turned into warning or deprecation in 12 or more months 'when suitable'
394
395 2025-11-24 Dirk Eddelbuettel <[email protected]>
396
397 * inst/include/Rcpp/r/check_r_headers.h: Add RCPP_NO_R_HEADERS_CHECK
398 override to skip new check
399
400 2025-11-23 Dirk Eddelbuettel <[email protected]>
401
402 * inst/include/Rcpp/r/check_r_headers.h: New header to check if R.h
403 or related R headers were installed first
404 * inst/include/RcppCommon.h: Call new header as first thing
405
406 2025-11-12 Iñaki Ucar <[email protected]>
407
408 * inst/include/Rcpp/macros/mask.h: Lay the ground for Rf_error masking
409 with a warning at compilation time unless RCPP_NO_MASK_RF_ERROR is defined
410 * inst/include/RcppCommon.h: Include the previous file in the last place
411 * src/attributes.cpp: Use parentheses to protect call to Rf_error
412 * inst/tinytest/cpp/stack.cpp: Idem
413 * inst/tinytest/testRcppInterfaceExporter/src/RcppExports.cpp: Idem
414
415 2025-11-04 Dirk Eddelbuettel <[email protected]>
416
417 * .github/workflows/macos.yaml (jobs): Roll macos-13 to macos-14
418
419 2025-11-01 Iñaki Ucar <[email protected]>
420
421 * inst/include/Rcpp/hash/IndexHash.h: Normalize values for all comparisons
422 * inst/include/Rcpp/hash/SelfHash.h: Idem
423 * inst/tinytest/test_sugar.R: Add test for signed zeroes
424
425 2025-10-21 Iñaki Ucar <[email protected]>
426
427 * inst/include/Rcpp/exceptions_impl.h: Use __has_include to simplify checks
428 to enable demangling, making them robust for more platforms
429
430 2025-10-13 Dirk Eddelbuettel <[email protected]>
431
432 * DESCRIPTION (Version, Date): Roll micro version and date
433 * inst/include/Rcpp/config.h: Idem
434
435 * inst/tinytest/test_sugar.R: Simplify and generalize the August fix
436 as we no longer need to control for R-devel which has been corrected
437
438 2025-09-04 Dirk Eddelbuettel <[email protected]>
439
440 * DESCRIPTION (Version, Date): Roll micro version and date
441 * inst/include/Rcpp/config.h: Idem
442
443 * inst/include/Rcpp/internal/wrap.h (make_charsexp__impl__cstring):
444 Avoid a narrowing warning by casting explicitly
445
446 2025-08-26 Dirk Eddelbuettel <[email protected]>
447
448 * inst/tinytest/test_sugar.R: For r-devel, use apply(x, DIM, mean,
449 na.rm=TRUE) instead of (row|col)Means for complex NA valued matrices
450
451 2025-08-24 Dirk Eddelbuettel <[email protected]>
452
453 * .github/workflows/ci.yaml (jobs): Re-enable coverage, roll checkout
454 action to v5
455
456 * inst/tinytest/test_sugar.R: For now, park two tests of complex
457 matrix row and col means under R-devel, this could be a R-devel issue
458
459 2025-07-20 Dirk Eddelbuettel <[email protected]>
460
461 * DESCRIPTION (Version, Date): Roll micro version and date
462 * inst/include/Rcpp/config.h: Idem
463
464 * R/compilerCheck.R: Remove unused function
465 * man/compilerCheck.Rd: Remove its documentation
466
467 2025-07-19 Dirk Eddelbuettel <[email protected]>
468
469 * vignettes/rmd/Rcpp.bib: Use DOI for R citation
470 * inst/bib/Rcpp.bib: Idem
471
472 2025-07-18 Dirk Eddelbuettel <[email protected]>
473
474 * DESCRIPTION (Version, Date): Roll micro version and date
475 * inst/include/Rcpp/config.h: Idem
476
477 * R/asis.R (asisWeave, asisTangle): Borrowed with thanks from R.rsp
478 and shortened / simplified to provide 'asis' vignette processor
479 * R/zzz.R (.onLoad): Register new vignette processor
480 * vignettes/*.asis: New files with vignette info from .Rnw files
481 * vignettes/pdf/*.pdf: Moved to directory vignettes/
482 * vignettes/*.Rnw: Removed
483 * man/asisWeave.Rd: Documentation
484
485 2025-07-01 Dirk Eddelbuettel <[email protected]>
486
487 * DESCRIPTION (Date, Version): Release 1.1.0
488
489 * inst/include/Rcpp/config.h: Idem
490 * inst/NEWS.Rd: Idem
491 * vignettes/rmd/Rcpp.bib: Idem
492 * inst/bib/Rcpp.bib: Idem
493 * vignettes/pdf/*: Rebuilt
494
495 2025-06-25 Dirk Eddelbuettel <[email protected]>
496
497 * DESCRIPTION (Version, Date): Roll micro version and date
498 * inst/include/Rcpp/config.h: Idem
499
500 2025-06-18 Dirk Eddelbuettel <[email protected]>
501
502 * vignettes/rmd/Rcpp.bib: Use doi references for CRAN packages,
503 update versions, update some package titles
504 * inst/bib/Rcpp.bib: Idem
505 * vignettes/pdf/*: Re-rendered
506
507 2025-06-05 Dirk Eddelbuettel <[email protected]>
508
509 * DESCRIPTION (Version, Date): Roll micro version and date
510 * inst/include/Rcpp/config.h: Idem
511
512 2025-06-02 Kevin Ushey <[email protected]>
513
514 * inst/include/Rcpp.h: Avoid copy when creating Language objects
515 * inst/include/Rcpp/Language.h: Idem
516 * inst/include/Rcpp/lgrow.h: Idem
517 * inst/tinytest/cpp/language.cpp: Idem
518 * inst/tinytest/test_language.R: Idem
519
520 2025-05-27 Dirk Eddelbuettel <[email protected]>
521
522 * DESCRIPTION (Version, Date): Roll micro version and date
523 * inst/include/Rcpp/config.h: Idem
524
525 2025-05-23 Dirk Eddelbuettel <[email protected]>
526
527 * inst/include/Rcpp/date_datetime/newDateVector.h: Add default
528 constructor
529 * inst/include/Rcpp/date_datetime/newDatetimeVector.h: Idem
530
531 * inst/tinytest/test_date.R: Add tests
532 * inst/tinytest/cpp/dates.cpp: Idem
533
534 2025-05-06 Dirk Eddelbuettel <[email protected]>
535
536 * DESCRIPTION (Version, Date): Roll micro version and date
537 * inst/include/Rcpp/config.h: Idem
538
539 * R/Attributes.R: Support C++26 via plugin
540
541 2025-05-05 Dirk Eddelbuettel <[email protected]>
542
543 * inst/tinytest/test_sugar.R: Condition four NA-related tests away on
544 arm64 on Linux too
545
546 * .github/workflows/linuxarm.yaml (jobs): Add ubuntu-24.04-arm as
547 optional workflow_dispatch run
548
549 2025-04-15 Dirk Eddelbuettel <[email protected]>
550
551 * docker/ci-4.4/Dockerfile: Added based on r-base:4.4.3
552 * .github/workflows/ci.yaml (jobs): Add rcpp/ci-4.4 to matrix
553
554 2025-03-31 Dirk Eddelbuettel <[email protected]>
555
556 * DESCRIPTION (Version, Date): Roll micro version and date
557 * inst/include/Rcpp/config.h: Idem
558
559 2025-03-29 Iñaki Ucar <[email protected]>
560
561 * inst/include/Rcpp/traits/result_of.h: Reimplement traits::result_of using
562 std::result_of (up to C++14) or std::invoke_result (C++17 or later), which
563 supports previous use cases and enables lambdas
564 * inst/include/Rcpp/sugar/functions/sapply.h: Use new result_of interface
565 * inst/include/Rcpp/sugar/functions/lapply.h: Idem
566 * inst/include/Rcpp/sugar/functions/mapply/mapply_2.h: Idem
567 * inst/include/Rcpp/sugar/functions/mapply/mapply_3.h: Idem
568 * inst/include/Rcpp/sugar/matrix/outer.h: Idem
569 * inst/tinytest/cpp/sugar.cpp: New tests for previous sugar functions
570 * inst/tinytest/test_sugar.R: Idem
571
572 2025-03-26 Dirk Eddelbuettel <[email protected]>
573
574 * DESCRIPTION (Version, Date): Roll micro version and date
575 * inst/include/Rcpp/config.h: Idem
576
577 2025-03-26 Iñaki Ucar <[email protected]>
578
579 * inst/include/Rcpp/platform/compiler.h: Remove definitions of
580 RCPP_USING_UNORDERED_MAP and RCPP_USING_UNORDERED_SET
581 * inst/include/Rcpp/sugar/sets.h: Remove redefinition of macros
582 * inst/include/Rcpp/sugar/functions/self_match.h: Replace macros with
583 std::unordered_map and std::unordered_set respectively
584 * inst/include/Rcpp/sugar/functions/setdiff.h: Idem
585 * inst/include/Rcpp/sugar/functions/table.h: Idem
586 * inst/tinytest/cpp/wrap.cpp: Idem
587
588 2025-03-24 Dirk Eddelbuettel <[email protected]>
589
590 * DESCRIPTION (Version, Date): Roll micro version and date
591 * inst/include/Rcpp/config.h: Idem
592
593 2025-03-24 Iñaki Ucar <[email protected]>
594
595 * inst/include/Rcpp/exceptions.h: Include C+11 variadic template definitions
596 unconditionally
597 * inst/include/Rcpp/exceptions/cpp11/exceptions.h: Removed
598 * inst/include/Rcpp/exceptions/cpp98/exceptions.h: Idem
599
600 * src/attributes.cpp: Remove obsolete pre-C+11 paths based on __cplusplus
601 define checks
602 * inst/tinytest/cpp/sugar.cpp: Idem
603 * inst/include/Rcpp/Language.h: Idem
604 * inst/include/Rcpp/StringTransformer.h: Idem
605 * inst/include/Rcpp/algorithm.h: Idem
606 * inst/include/Rcpp/utils/tinyformat.h: Idem
607 * inst/include/Rcpp/longlong.h: Idem, unconditional RCPP_HAS_LONG_LONG_TYPES
608
609 * src/api.cpp: Remove explicit RCPP_HAS_LONG_LONG_TYPES as availability is
610 both implicit and ensured
611 * inst/include/Rcpp/algorithm.h: Idem
612 * inst/include/Rcpp/traits/is_arithmetic.h: Idem
613 * inst/include/Rcpp/traits/longlong.h: Idem
614
615 2025-03-21 Dirk Eddelbuettel <[email protected]>
616
617 * DESCRIPTION (Version, Date): Roll micro version and date
618 * inst/include/Rcpp/config.h: Idem
619
620 * inst/include/Rcpp/String.h: Remove explicit RCPP_USING_CXX11 as
621 use of C++11 (or newer) is both implicit and ensured
622 * inst/include/Rcpp/macros/dispatch.h: Idem
623 * inst/include/Rcpp/platform/compiler.h: Idem
624 * inst/include/Rcpp/unwindProtect.h: Idem
625 * inst/tinytest/cpp/wrap.cpp: Idem
626 * src/api.cpp: Idem
627
628 2025-03-18 Dirk Eddelbuettel <[email protected]>
629
630 * DESCRIPTION (Version, Date): Roll micro version and date
631 * inst/include/Rcpp/config.h: Idem
632
633 * inst/include/Rcpp/module/class.h: Use variadic templates unconditionally
634 * inst/include/Rcpp/grow.h: Idem
635 * inst/include/Rcpp/DottedPair.h: Idem
636 * inst/include/Rcpp/Vector.h: Idem
637 * inst/include/Rcpp/Function.h: Idem
638 * inst/include/Rcpp/internal/call.h: Idem
639 * inst/include/Rcpp/InternalFunctionWithStdFunction.h: Idem
640 * inst/include/Rcpp/Module.h: Idem
641 * inst/include/Rcpp/traits/index_sequence.h: Idem
642 * inst/include/Rcpp/traits/named_object.h: Idem
643 * inst/include/Rcpp/Language.h: Idem
644 * inst/include/Rcpp/DataFrame.h: Idem
645 * inst/include/Rcpp/PairList.h: Idem
646 * inst/include/Rcpp/InternalFunction.h: Idem
647
648 * inst/include/Rcpp/module/Module_generated_class_constructor.h: Removed
649 * inst/include/Rcpp/module/Module_generated_class_factory.h: Idem
650 * inst/include/Rcpp/module/Module_generated_method.h: Idem
651 * inst/include/Rcpp/module/Module_generated_Pointer_method.h: Idem
652 * inst/include/Rcpp/generated/grow__pairlist.h: Idem
653 * inst/include/Rcpp/generated/DottedPair__ctors.h: Idem
654 * inst/include/Rcpp/generated/Vector__create.h: Idem
655 * inst/include/Rcpp/generated/Function__operator.h: Idem
656 * inst/include/Rcpp/generated/InternalFunctionWithStdFunction_call.h: Idem
657 * inst/include/Rcpp/module/Module_generated_Constructor.h: Idem
658 * inst/include/Rcpp/module/Module_generated_CppFunction.h: Idem
659 * inst/include/Rcpp/module/Module_generated_CppMethod.h: Idem
660 * inst/include/Rcpp/module/Module_generated_Factory.h: Idem
661 * inst/include/Rcpp/module/Module_generated_Pointer_CppMethod.h: Idem
662 * inst/include/Rcpp/module/Module_generated_class_signature.h: Idem
663 * inst/include/Rcpp/module/Module_generated_ctor_signature.h: Idem
664 * inst/include/Rcpp/module/Module_generated_function.h: Idem
665 * inst/include/Rcpp/module/Module_generated_get_signature.h: Idem
666 * inst/include/Rcpp/generated/Language__ctors.h: Idem
667 * inst/include/Rcpp/generated/DataFrame_generated.h: Idem
668 * inst/include/Rcpp/generated/Pairlist__ctors.h: Idem
669 * inst/include/Rcpp/generated/InternalFunction__ctors.h: Idem
670
671 * inst/include/Rcpp/platform/compiler.h: No longer define HAS_VARIADIC_TEMPLATES
672 * src/api.cpp (rcpp_can_use_cxx0x): Return true unconditionally
673
674 2025-03-15 Dirk Eddelbuettel <[email protected]>
675
676 * DESCRIPTION (Version, Date): Roll micro version and date
677 * inst/include/Rcpp/config.h: Idem
678
679 * inst/include/Rcpp/platform/compiler.h: Simplified and shortened
680 establishing C++11 as baseline; further PRs to complete this
681 * inst/include/Rcpp/String.h: Unconditionally use std::hash with C++11
682 * inst/include/Rcpp/wrap.h: Unconditionally use static_assert
683 * inst/include/Rcpp/sugar/functions/sapply.h: Use std::result_of
684 (with C++11 or C++14) or std::invoke_result (C++17 or later)
685 * inst/include/Rcpp/sugar/functions/table.h: Use std::map
686 * inst/include/Rcpp/sugar/sets.h: Use std::unordered_{set,map}
687 * man/evalCpp.Rd: Update example
688 * src/api.cpp: Simplify rcpp_capabilities assignment
689
690 2025-03-13 Dirk Eddelbuettel <[email protected]>
691
692 * DESCRIPTION (Version, Date): Roll micro version and date
693 * inst/include/Rcpp/config.h: Idem
694
695 * inst/include/Rcpp/Environment.h: Switch from R_lsInternal to
696 R_lsInternal3 as the former is now outlawed
697
698 2025-03-10 Dirk Eddelbuettel <[email protected]>
699
700 * DESCRIPTION (Version, Date): Roll micro version and date
701 * inst/include/Rcpp/config.h: Idem
702
703 2025-03-08 Dirk Eddelbuettel <[email protected]>
704
705 * inst/include/Rcpp/Function.h: Use R_ClosureEnv instead of
706 deprecated CLOENV if under R >= 4.5.0
707
708 2025-03-07 Dirk Eddelbuettel <[email protected]>
709
710 * DESCRIPTION (Version, Date): Roll micro version and date
711 * inst/include/Rcpp/config.h: Idem
712
713 * src/barrier.cpp (dataptr): Replace remaining DATAPTR with
714 DATAPTR_RO for suitable R greater than 3.5.0
715
716 2025-02-11 Dirk Eddelbuettel <[email protected]>
717
718 * R/Rcpp.package.skeleton.R (Rcpp.package.skeleton): Support optional
719 argument 'github_user' to populate URL and BugReports if given
720 * man/Rcpp.package.skeleton.Rd: Document new optional argument
721
722 * R/Rcpp.package.skeleton.R (Rcpp.package.skeleton): Default version
723 is now '0.0.1' and not '1.0'
724 * inst/tinytest/test_rcpp_package_skeleton.R: Adjust test accordingly
725 * inst/tinytest/test_expose_class.R: Idem
726
727 2025-02-05 Dirk Eddelbuettel <[email protected]>
728
729 * DESCRIPTION (Version, Date): Roll micro version and date
730 * inst/include/Rcpp/config.h: Idem
731
732 2025-01-31 Lev Kandel <[email protected]>
733
734 * inst/include/Rcpp/internal/wrap.h: Add support for std::string_view
735 * inst/include/Rcpp/traits/r_type_traits.h: Idem
736 * inst/include/Rcpp/traits/wrap_type_traits.h: Idem
737 * inst/include/RcppCommon.h: Include <string_view>
738 * inst/tinytest/cpp/wrap.cpp: Add unit test for wrap(std::string_view)
739 * inst/tinytest/test_wrap.R: Idem
740
741 2025-01-26 Dirk Eddelbuettel <[email protected]>
742
743 * DESCRIPTION (Version, Date): Roll micro version and date
744 * inst/include/Rcpp/config.h: Idem
745
746 2025-01-25 Dirk Eddelbuettel <[email protected]>
747
748 * vignettes/rmd/Rcpp-libraries.Rdm: Add mention of PACKAGE_types.h
749 * vignettes/rmd/Rcpp.bib: Add AsioHeaders
750 * inst/bib/Rcpp.bib: Idem
751
752 2025-01-18 Ben Bolker <[email protected]>
753
754 * inst/NEWS.Rd: fix trivial typos in NEWS file
755
756 2025-01-11 Dirk Eddelbuettel <[email protected]>
757
758 * DESCRIPTION (Date, Version): Release 1.0.14
759
760 * inst/include/Rcpp/config.h: Idem
761 * inst/NEWS.Rd: Idem
762 * vignettes/rmd/Rcpp.bib: Idem
763 * inst/bib/Rcpp.bib: Idem
764 * vignettes/pdf/*: Rebuilt
765
766 2025-01-01 Dirk Eddelbuettel <[email protected]>
767
768 * inst/include/Rcpp/Benchmark/Timer.h (R_NO_REMAP): Protect include
769 with preceding #ifndef now that R 4.5.0 will set this too
770
771 2024-11-25 Dirk Eddelbuettel <[email protected]>
772
773 * DESCRIPTION (Version, Date): Roll micro version to 1.0.13.6
774 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
775
776 * inst/tinytest/test_date.R: Minor adjustment to datetime format test
777 following R Dev Day change for R bug 17350 (and issue #1347 here)
778
779 2024-11-25 Simon Guest <[email protected]>
780
781 * src/attributes.cpp: fix CPP source having to be writable
782
783 2024-11-03 Marco Colombo <[email protected]>
784
785 * vignettes/rmd/Rcpp-FAQ.Rmd: Fixed typos
786 * vignettes/rmd/Rcpp-attributes.Rmd: Idem
787 * vignettes/rmd/Rcpp-extending.Rmd: Idem
788 * vignettes/rmd/Rcpp-introduction.Rmd: Idem
789 * vignettes/rmd/Rcpp-libraries.Rmd: Idem
790 * vignettes/rmd/Rcpp-modules.Rmd: Idem
791 * vignettes/rmd/Rcpp-package.Rmd: Idem
792 * vignettes/rmd/Rcpp-quickref.Rmd: Idem
793 * vignettes/rmd/Rcpp-sugar.Rmd: Idem
794
795 2024-11-02 Dirk Eddelbuettel <[email protected]>
796
797 * tests/tinytest.R: Minor code edit, removal of two no longer
798 required setters for tinytest
799
800 2024-11-01 Dirk Eddelbuettel <[email protected]>
801
802 * DESCRIPTION (Version, Date): Roll micro version to 1.0.13.5
803 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
804
805 2024-10-31 Kevin Ushey <[email protected]>
806
807 * inst/include/Rcpp/r/compat.h: Require R (>= 4.5.0) for new APIs
808
809 2024-10-26 Dirk Eddelbuettel <[email protected]>
810
811 * DESCRIPTION (Version, Date): Roll micro version to 1.0.13.4
812 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
813
814 * .github/workflows/ci.yaml (jobs): Roll checkout action to v4
815
816 2024-10-26 Gábor Csárdi <[email protected]>
817
818 * inst/include/Rcpp/exceptions_impl.h: check for DragonFlyBSD to fix
819 compilation
820
821 2024-10-07 Iñaki Ucar <[email protected]>
822
823 * inst/include/Rcpp/platform/compiler.h: Uncomment
824 HAS_VARIADIC_TEMPLATES macro definition
825 * src/api.cpp: Simplify checks for variadic templates
826 * inst/include/Rcpp/DataFrame.h: Idem
827 * inst/include/Rcpp/DottedPair.h: Idem
828 * inst/include/Rcpp/Function.h: Idem
829 * inst/include/Rcpp/InternalFunctionWithStdFunction.h: Idem
830 * inst/include/Rcpp/Language.h: Idem
831 * inst/include/Rcpp/Pairlist.h: Idem
832 * inst/include/Rcpp/grow.h: Idem
833 * inst/include/Rcpp/internal/call.h: Idem
834 * inst/include/Rcpp/module/class.h: Idem
835 * inst/include/Rcpp/traits/index_sequence.h: Idem
836 * inst/include/Rcpp/traits/named_object.h: Idem
837 * inst/include/Rcpp/vector/Vector.h: Idem
838 * inst/include/Rcpp/Module.h: Idem + add missing is_void method
839 * inst/tinytest/test_module.R: Add test for void functions and
840 methods
841
842 2024-10-04 Dirk Eddelbuettel <[email protected]>
843
844 * DESCRIPTION (Version, Date): Roll micro version to 1.0.13.3
845 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
846
847 2024-09-29 Dirk Eddelbuettel <[email protected]>
848
849 * inst/include/Rcpp/vector/Vector.h: Remove a cast as R_xlen_t
850 is returned now
851
852 2024-09-17 Dirk Eddelbuettel <[email protected]>
853
854 * DESCRIPTION (Version, Date): Roll micro version
855 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
856
857 2024-09-12 Iñaki Ucar <[email protected]>
858
859 * vignettes/.gitignore: Refinement to ignore more files under rmd/
860 * vignettes/pdf/*: Rebuilt with Ghostscript 10.03.1
861 * vignettes/*.pdf: Idem
862
863 2024-08-31 Dirk Eddelbuettel <[email protected]>
864
865 * DESCRIPTION (Authors@R): Added
866
867 2024-08-28 Dirk Eddelbuettel <[email protected]>
868
869 * R/Rcpp.package.skeleton.R: Create DESCRIPTION with Auhors@R file
870 * inst/tinytest/test_rcpp_package_skeleton.R: Adjust tests
871
872 2024-08-20 Dirk Eddelbuettel <[email protected]>
873
874 * inst/tinytest/test_sugar.R: Skip one more NA related test on arm64
875 and macOS as failure is seen at r-universe on arm64
876
877 * .github/workflows/macos.yaml: Add basic r-ci setup but dialed-down
878 to macOS only (as Linux is covered via multiple Docker setups)
879
880 2024-08-19 Dirk Eddelbuettel <[email protected]>
881
882 * Contributing.md: Refreshed content
883
884 2024-07-30 Dirk Eddelbuettel <[email protected]>
885
886 * vignettes/rmd/Rcpp-modules.Rmd (are): Add short two-sentence
887 illustration following GitHub issue #1322
888
889 2024-07-24 Dirk Eddelbuettel <[email protected]>
890
891 * DESCRIPTION (Version, Date): Roll micro version
892 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
893
894 2024-07-11 Dirk Eddelbuettel <[email protected]>
895
896 * DESCRIPTION (Date, Version): Release 1.0.13
897
898 * inst/include/Rcpp/config.h: Idem
899 * inst/NEWS.Rd: Idem
900 * vignettes/rmd/Rcpp.bib: Idem
901 * inst/bib/Rcpp.bib: Idem
902 * vignettes/pdf/*: Rebuilt
903
904 2024-07-07 Kevin Ushey <[email protected]>
905
906 * inst/include/Rcpp/internal/SEXP_Iterator.h: Avoid using VECTOR_PTR
907 * inst/include/Rcpp/vector/Subsetter.h: Avoid using STRING_PTR
908 * inst/include/RcppCommon.h: Include compatibility defines
909 * src/barrier.cpp: Avoid using {STRING/VECTOR}_PTR
910 * inst/include/Rcpp/r/compat.h: Include compatibility defines
911
912 2024-07-05 Kevin Ushey <[email protected]>
913
914 * inst/include/Rcpp/Environment.h: Drop support for UserDefinedDatabase
915 [ merged 2024-07-22 after release of Rcpp 1.0.13 ]
916
917 * inst/include/Rcpp/Language.h: Avoid using SET_TYPEOF
918 * inst/include/Rcpp/Pairlist.h: Idem
919 * inst/include/Rcpp/r_cast.h: Idem
920 [ merged 2024-07-24 after release of Rcpp 1.0.13 ]
921
922 2024-06-22 Dirk Eddelbuettel <[email protected]>
923
924 * DESCRIPTION (Version, Date): Roll micro version
925 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
926
927 2024-06-11 Kevin Ushey <[email protected]>
928
929 * inst/include/Rcpp/internal/r_vector.h: Use template specializations to
930 avoid DATAPTR usage
931 * inst/include/Rcpp/vector/traits.h: Implement bounds checks in
932 r_vector_cache access
933 * inst/tinytest/cpp/Vector.cpp: Add unit tests
934 * inst/tinytest/test_vector.R: Add unit tests
935 * tests/tinytest.R: Test in serial by default
936
937 2024-06-02 Dirk Eddelbuettel <[email protected]>
938
939 * inst/include/Rcpp/internal/export.h: More R_xlen_t switching
940 * inst/include/Rcpp/vector/SubMatrix.h: Idem
941 * inst/include/Rcpp/vector/Vector.h: Idem
942
943 2024-06-01 Dirk Eddelbuettel <[email protected]>
944
945 * inst/include/Rcpp/internal/Proxy_Iterator.h (Proxy_Iterator):
946 Switch to R_xlen_t ('clang++-17 -Wconversion -Wno-sign-conversion')
947 * inst/include/Rcpp/DataFrame.h: Idem
948 * inst/include/Rcpp/Vector.h: Idem
949
950 2024-05-28 Dirk Eddelbuettel <[email protected]>
951
952 * DESCRIPTION (Version, Date): Roll micro version
953 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
954
955 2024-05-27 Dirk Eddelbuettel <[email protected]>
956
957 * README.md: Remove link references to StackOverflow
958 * inst/NEWS.Rd: Idem
959 * inst/include/Rcpp/Module.h (S4_CppOverloadedMethods): Add cast to int
960 to avoid warnings under 'clang++-17 -Wconversion -Wno-sign-conversion'
961 * inst/include/Rcpp/vector/Vector.h (Vector): Idem
962 * inst/include/Rcpp/module/class.h: Switch variable to size_t to avoid
963 to avoid warnings under 'clang++-17 -Wconversion -Wno-sign-conversion'
964 * inst/tinytest/testRcppClass/src/init.c: Add void to signature
965
966 2024-05-26 Dirk Eddelbuettel <[email protected]>
967
968 * DESCRIPTION (Version, Date): Roll micro version
969 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
970
971 2024-05-23 Andrew Johnson <[email protected]>
972
973 * inst/include/Rcpp/: Added variadic templates to be used instead of
974 the generated code in `Rcpp/generated` and `Rcpp/module` when
975 compiling with C++11 or later.
976
977 2024-05-18 Dirk Eddelbuettel <[email protected]>
978
979 * docker/ci-4.3/Dockerfile: Add rcpp/ci-4.3 container for R 4.3.*
980 * .github/workflows/ci.yaml (jobs): Add rcpp/ci-4.3 to matrix
981
982 2024-05-16 Dirk Eddelbuettel <[email protected]>
983
984 * README.md: Use tinyverse.netlify.app for dependency badge
985
986 2024-03-05 Dirk Eddelbuettel <[email protected]>
987
988 * docker/ci/Dockerfile: Switch the base container to r2u
989 * docker/plus/Dockerfile: Given r2u, install more binaries
990
991 * README.md: Add r-universe badge
992
993 2024-02-21 Dirk Eddelbuettel <[email protected]>
994
995 * DESCRIPTION (Version, Date): Roll micro version
996 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
997
998 * inst/include/Rcpp/r/headers.h: Set R_NO_REMAP (and MAXELTSIZE)
999 only if not already defined (as will be needed with R 4.4.0)
1000
1001 2024-01-09 Dirk Eddelbuettel <[email protected]>
1002
1003 * README.md: Update usage numbers
1004
1005 * README.md: Remove StackOverflow badge which only works for
1006 logged-in users and is unsuitable for the README
1007
1008 2024-01-08 Dirk Eddelbuettel <[email protected]>
1009
1010 * DESCRIPTION (Date, Version): Release 1.0.12
1011
1012 * inst/include/Rcpp/config.h: Idem
1013 * inst/NEWS.Rd: Idem
1014 * vignettes/rmd/Rcpp.bib: Idem
1015 * inst/bib/Rcpp.bib: Idem
1016 * vignettes/pdf/*: Rebuilt
1017
1018 2024-01-01 Dirk Eddelbuettel <[email protected]>
1019
1020 * vignettes/rmd/Rcpp.bib: Updated to current versions of cited packages
1021 * inst/bib/Rcpp.bib: Idem
1022
1023 2023-12-27 Dirk Eddelbuettel <[email protected]>
1024
1025 * src/api.cpp (type2name): Refine OBJSXP return
1026
1027 2023-12-21 Dirk Eddelbuettel <[email protected]>
1028
1029 * src/api.cpp (type2name): Recognise OBJSXP added in R 4.4.0
1030
1031 2023-11-28 Dirk Eddelbuettel <[email protected]>
1032
1033 * inst/tinytest/testRcppInterfaceExporter/R/RcppExports.R: Regenerated
1034 * inst/tinytest/testRcppInterfaceExporter/src/RcppExports.cpp: Idem
1035
1036 2023-11-26 Dirk Eddelbuettel <[email protected]>
1037
1038 * DESCRIPTION (Version, Date): Roll micro version
1039 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
1040
1041 * src/attributes.cpp (generateCpp): Add a format string for Rf_error
1042 call to not run afoul of -Wformat-security
1043
1044 2023-11-24 Dirk Eddelbuettel <[email protected]>
1045
1046 * DESCRIPTION (Version, Date): Roll micro version
1047 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
1048
1049 * inst/include/Rcpp/iostream/Rstreambuf.h: Cast streamsize to int in
1050 two spots
1051 * inst/include/Rcpp/print.h (warningcall): Add missing '%s' format
1052
1053 2023-11-11 Dirk Eddelbuettel <[email protected]>
1054
1055 * vignettes/rmd/Rcpp-FAQ.Rmd: Updated and edited
1056 * vignettes/pdf/Rcpp-FAQ.pdf: Updated
1057 * vignettes/rmd/Rcpp.bib: Updated
1058
1059 2023-10-28 Dirk Eddelbuettel <[email protected]>
1060
1061 * vignettes/rmd/Rcpp-FAQ.Rmd: Updated and edited
1062 * vignettes/pdf/Rcpp-FAQ.pdf: Updated
1063 * vignettes/rmd/Rcpp.bib: Updated
1064
1065 2023-10-27 Dirk Eddelbuettel <[email protected]>
1066
1067 * DESCRIPTION (Version, Date): Roll micro version
1068 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
1069
1070 * R/tools.R: Correct missing Rd macros (spotted by R-devel CMD check)
1071
1072 2023-10-22 Aaron Lun <[email protected]>
1073
1074 * inst/include/Rcpp/vector/MatrixColumn.h: Cast integer index
1075 to R_xlen_t to avoid integer overflow with large matrices.
1076 * inst/include/Rcpp/vector/MatrixRow.h: Ditto.
1077 * inst/include/Rcpp/vector/Vector.h: Remove stray cast to int
1078 that causes overflow when returning the end iterator.
1079
1080 2023-09-30 Dirk Eddelbuettel <[email protected]>
1081
1082 * vignettes/rmd/Rcpp-introduction.Rmd (Rcpp): Correct caption of
1083 third figure (cf GitHub issue #1276)
1084 * vignettes/pdf/Rcpp-introduction.pdf: Rebuilt
1085
1086 2023-08-31 Dirk Eddelbuettel <[email protected]>
1087
1088 * DESCRIPTION (Version, Date): Roll micro version
1089 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
1090
1091 2023-08-29 Iñaki Ucar <[email protected]>
1092
1093 * R/Attributes.R: Ad-hoc fix for testthat's C entrypoint in
1094 RcppExports.cpp
1095
1096 2023-08-03 Dirk Eddelbuettel <[email protected]>
1097
1098 * DESCRIPTION (Version, Date): Roll micro version
1099 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
1100
1101 2023-08-03 Michael Chirico <[email protected]>
1102
1103 * src/attributes.cpp: Directly `#include <ostream>` for `std::endl`
1104 * src/date.cpp: Directly `#include <R_ext/Booelan.h>` for `TRUE` and
1105 `FALSE`
1106
1107 2023-07-03 Dirk Eddelbuettel <[email protected]>
1108
1109 * DESCRIPTION (Date, Version): Release 1.0.11
1110
1111 * inst/include/Rcpp/config.h: Idem
1112 * inst/NEWS.Rd: Idem
1113 * vignettes/rmd/Rcpp.bib: Idem
1114 * inst/bib/Rcpp.bib: Idem
1115 * vignettes/pdf/*: Rebuilt
1116
1117 2023-07-02 Dirk Eddelbuettel <[email protected]>
1118
1119 * README.md: Update usage numbers in Examples section
1120
1121 2023-07-01 Dirk Eddelbuettel <[email protected]>
1122
1123 * docker/ci-dev/Dockerfile: Make 'rm' more robust as 'rm -f'
1124 * docker/ci-4.2/Dockerfile: Add new container for R 4.2.3
1125 * .github/workflows/ci.yaml (jobs): Add entry for R 4.2.3
1126
1127 2023-06-12 Dirk Eddelbuettel <[email protected]>
1128
1129 * DESCRIPTION (Version, Date): Roll micro version
1130 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
1131
1132 * README.md: Two URL updates for appease R CMD check
1133
1134 * DESCRIPTION (Encoding): Somewhat belated addition
1135
1136 2023-04-18 Dirk Eddelbuettel <[email protected]>
1137
1138 * README.md: Use app.codecov.io as base for codecov link
1139
1140 2023-04-12 Dirk Eddelbuettel <[email protected]>
1141
1142 * .github/workflows/ci.yaml: Simplified container use
1143
1144 2023-03-27 Dirk Eddelbuettel <[email protected]>
1145
1146 * .github/workflows/stale.yaml: Roll to v8
1147
1148 2023-03-27 Iñaki Ucar <[email protected]>
1149
1150 * R/Attributes.R: Remove command quoting, not needed anymore for system2()
1151 * inst/tinytest/test_xptr.R: Update copyright
1152
1153 2023-03-26 Dirk Eddelbuettel <[email protected]>
1154
1155 * DESCRIPTION (Version, Date): Roll minor version
1156 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
1157
1158 * inst/tinytest/test_stats.R: Revisit change from PR #1252; we now
1159 use a slightly smaller tolerance to accomodate old and new value
1160
1161 * inst/tinytest/test_sugar.R: Protect a small number of tests on NA
1162 propagation from running on arm64/Darwin which requires special care
1163
1164 2023-03-25 Iñaki Ucar <[email protected]>
1165
1166 * R/Attributes.R: Switch to system2 to be able to capture stderr on error
1167
1168 2023-03-24 Dirk Eddelbuettel <[email protected]>
1169
1170 * docker/ci-dev/Dockerfile: During Debian freeze experimental repo is
1171 renamed which leads to a hickup here so temporarily remove list file
1172
1173 2023-03-24 Iñaki Ucar <[email protected]>
1174
1175 * inst/tinytest/test_xptr.R: Skip some tests on Windows
1176
1177 2023-03-19 Dirk Eddelbuettel <[email protected]>
1178
1179 * DESCRIPTION (Version, Date): Roll minor version
1180 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
1181
1182 * src/attributes.cpp (RExportsGenerator::writeEnd): Replace a pair of
1183 apostrophes with backticks in generated .Call() statemente
1184
1185 2023-02-07 Dirk Eddelbuettel <[email protected]>
1186
1187 * inst/tinytest/test_stats.R: Use more accurate value in R 4.3.0
1188
1189 2023-02-06 Dirk Eddelbuettel <[email protected]>
1190
1191 * inst/CITATION: Update to new format preferred by r-devel
1192
1193 2023-02-02 Dirk Eddelbuettel <[email protected]>
1194
1195 * DESCRIPTION (Version, Date): Roll minor version
1196 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
1197
1198 * inst/include/Rcpp/sugar/functions/sapply.h: Enable compilation
1199 under C++20 (using clang++ and its C++ library) via invoke_result
1200
1201 2023-01-29 Iñaki Ucar <[email protected]>
1202
1203 * inst/tinytest/test_xptr.R: Fix a couple of tests writing to stdout
1204
1205 2023-01-24 Dirk Eddelbuettel <[email protected]>
1206
1207 * DESCRIPTION (Version, Date): Roll minor version
1208 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
1209
1210 2023-01-24 Lukasz Laniewski-Wollk <[email protected]>
1211
1212 * R/RcppLdpath.R: CxxFlags() now quotes only non-standard paths on linux
1213
1214 2023-01-22 Dirk Eddelbuettel <[email protected]>
1215
1216 * DESCRIPTION (Date, Version): Release 1.0.10
1217
1218 * inst/include/Rcpp/config.h: Idem
1219 * inst/NEWS.Rd: Idem
1220
1221 2023-01-08 Dirk Eddelbuettel <[email protected]>
1222
1223 * inst/include/Rcpp/String.h: Address clang++-14 conversion warning
1224 * inst/include/Rcpp/sugar/functions/mean.h: Idem
1225 * inst/include/Rcpp/vector/Vector.h: Idem
1226 * src/attributes.cpp: Idem
1227 * src/date.cpp: Idem
1228
1229 2022-12-29 Dirk Eddelbuettel <[email protected]>
1230
1231 * .github/workflows/docker.yaml (jobs): Update several actions
1232
1233 2022-12-26 Dirk Eddelbuettel <[email protected]>
1234
1235 * .github/workflows/stale.yaml (jobs): Update actions/stale@v6
1236
1237 2022-11-14 Dirk Eddelbuettel <[email protected]>
1238
1239 * .github/workflows/ci.yaml (jobs): Update to actions/checkout@v3
1240
1241 2022-10-27 Dirk Eddelbuettel <[email protected]>
1242
1243 * DESCRIPTION (Version, Date): Roll minor version
1244 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
1245
1246 2022-10-27 Kevin Ushey <[email protected]>
1247
1248 * inst/tinytest/cpp/coerce.cpp: add coerce unit tests
1249 * inst/tinytest/test_coerce.R: idem
1250
1251 2022-10-25 Dirk Eddelbuettel <[email protected]>
1252
1253 * inst/include/Rcpp/internal/r_coerce.h (coerce_to_string<RAWSXP >):
1254 Replace last remaining sprintf with snprintf
1255
1256 2022-10-12 Dirk Eddelbuettel <[email protected]>
1257
1258 * DESCRIPTION (Version, Date): Roll minor version
1259 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
1260
1261 * R/Attributes.R (sourceCpp): Protect path to binary from spaces
1262
1263 2022-10-06 Dirk Eddelbuettel <[email protected]>
1264
1265 * DESCRIPTION (Version, Date): Roll minor version
1266 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
1267
1268 * inst/tinytest/test_dataframe.R (test.DataFrame.PushZeroLength): Add
1269 new test
1270 * inst/tinytest/cpp/DataFrame.cpp (DataFrame_PushOnEmpty): C++
1271 support for new test
1272
1273 2022-10-04 Dirk Eddelbuettel <[email protected]>
1274
1275 * inst/include/Rcpp/DataFrame.h (set_type_after_push): Allow zero-row
1276 data.frame objects to be grown by push_{back,front}()
1277
1278 2022-09-25 Dirk Eddelbuettel <[email protected]>
1279
1280 * DESCRIPTION (Version, Date): Roll minor version
1281 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
1282
1283 2022-09-23 Kevin Ushey <[email protected]>
1284
1285 * R/Module.R: Force 'finalize' method to be materialized
1286
1287 2022-09-20 Dirk Eddelbuettel <[email protected]>
1288
1289 * DESCRIPTION (Version, Date): Roll minor version
1290 * inst/include/Rcpp/config.h: Idem
1291
1292 * R/Attributes.R: Support C++20, C++23 and C++2b (for experimental /
1293 incomplete support) via new plugins
1294
1295 2022-07-27 Dirk Eddelbuettel <[email protected]>
1296
1297 * DESCRIPTION (Version, Date): Roll minor version
1298 * inst/include/Rcpp/config.h: Idem
1299
1300 2022-07-23 Iñaki Ucar <[email protected]>
1301
1302 * inst/include/Rcpp/r/headers.h: Unwind protection is enabled by default
1303 unless `RCPP_NO_UNWIND_PROTECT` is defined (`RCPP_USE_UNWIND_PROTECT` is
1304 not checked anymore and has no effect)
1305 * inst/include/Rcpp/vector/Vector.h: Switch evaluation to `Rcpp_eval`
1306 * R/Attributes.R: `[[Rcpp::plugins(unwindProtect)]]` is deprecated
1307 * inst/tinytest/cpp/stack.cpp: Adapted
1308 * inst/tinytest/test_exceptions.R: Adapted
1309 * inst/tinytest/test_interface.R: Adapted
1310 * inst/tinytest/testRcppInterfaceExporter/src/config.h: Removed
1311
1312 2022-07-10 Dirk Eddelbuettel <[email protected]>
1313
1314 * docker/ci-4.1/Dockerfile: Add Dockerfile for 4.1 series
1315 * .github/workflows/ci.yaml: Add 4.1 to CI matrix
1316 * .github/workflows/docker.yaml: Do not rebuild versioned ones
1317
1318 2022-07-02 Dirk Eddelbuettel <[email protected]>
1319
1320 * DESCRIPTION (Date, Version): Release 1.0.9
1321
1322 * inst/include/Rcpp/config.h: Idem
1323 * inst/NEWS.Rd: Idem
1324 * vignettes/rmd/Rcpp.bib: Idem
1325 * inst/bib/Rcpp.bib: Idem
1326 * vignettes/pdf/*: Rebuilt
1327
1328 2022-07-01 Dirk Eddelbuettel <[email protected]>
1329
1330 * man/dependsAttribute.Rd: Use https in URL
1331 * man/exportAttribute.Rd: Idem
1332 * man/interfacesAttribute.Rd: Idem
1333 * DESCRIPTION (URL): Idem
1334 * README.md: Idem, use Amazon page for Rcpp book
1335
1336 2022-05-26 Dirk Eddelbuettel <[email protected]>
1337
1338 * DESCRIPTION (Version, Date): Roll minor version
1339 * inst/include/Rcpp/config.h: Idem
1340
1341 2022-05-25 Dirk Eddelbuettel <[email protected]>
1342
1343 * inst/tinytest/test_string.R: Add C++11 conditioning for new unit tests
1344
1345 2022-05-23 Dean Scarff <[email protected]>
1346
1347 * inst/include/Rcpp/String.h: Make less copies of strings via move
1348 semantics and preserving the buffer/SEXP representation when copying
1349 * inst/include/RcppCommon.h: include <utility> for std::move
1350 * inst/tinytest/cpp/String.cpp: Add unit tests
1351 * inst/tinytest/test_string.R: Add unit tests
1352
1353 2022-05-12 Dirk Eddelbuettel <[email protected]>
1354
1355 * docker/ci/Dockerfile: Added xml2, also use more r-cran-* binaries
1356
1357 2022-05-12 Marco Colombo <[email protected]>
1358
1359 * vignettes/rmd/Rcpp-FAQ.Rmd: Fixed typo
1360
1361 2022-04-03 Dirk Eddelbuettel <[email protected]>
1362
1363 * vignettes/rmd/Rcpp-FAQ.Rmd: Add paragraph about Date(time) not
1364 being aimed at parsing large quantities at once
1365 * vignettes/pdf/Rcpp-FAQ.pdf: Idem
1366
1367 * vignettes/rmd/Rcpp.bib: Add four entries
1368 * inst/bib/Rcpp.bib: Idem
1369
1370 2022-03-14 Dirk Eddelbuettel <[email protected]>
1371
1372 * DESCRIPTION (Version, Date): Roll minor version
1373 * inst/include/Rcpp/config.h: Idem
1374
1375 2022-03-13 Iñaki Ucar <[email protected]>
1376
1377 * src/barrier.cpp: Untag tokens upon removal from the precious list,
1378 so that the internal reference counter can be safely decremented by R
1379
1380 2022-03-13 Dirk Eddelbuettel <[email protected]>
1381
1382 * DESCRIPTION (Version, Date): Roll minor version
1383 * inst/include/Rcpp/config.h: Idem
1384
1385 * tests/tinytest.R: Disable full tests on four-digits release to not
1386 exceed CRAN test time preference
1387
1388 2022-03-10 Dirk Eddelbuettel <[email protected]>
1389
1390 * DESCRIPTION (Version, Date): Roll minor version
1391 * inst/include/Rcpp/config.h: Idem
1392
1393 * inst/tinytest/cpp/sugar.cpp: Also conditionally replace
1394 std::unary_function with std::function
1395 * vignettes/rmd/Rcpp-sugar.Rmd: Replace std::unary_function example
1396 with std::function (implicitly requiring C++ in vignette example)
1397 * vignettes/rmd/Rcpp-FAQ.Rmd: Idem
1398
1399 2022-03-09 Dirk Eddelbuettel <[email protected]>
1400
1401 * inst/include/Rcpp/Language.h: To quieten compilations, replace
1402 std::(unary|binary)_function with std::function for C++11 or later
1403 * inst/include/Rcpp/StringTransformer.he: Idem
1404
1405 2022-01-21 Dirk Eddelbuettel <[email protected]>
1406
1407 * DESCRIPTION (Version, Date): Roll minor version
1408 * inst/include/Rcpp/config.h: Idem
1409
1410 2022-01-20 Dirk Eddelbuettel <[email protected]>
1411
1412 * src/attributes.cpp: Make three small changes to permit compilation
1413 under C++98 now (while we consider just turning to C++11 overall)
1414
1415 2022-01-14 Dirk Eddelbuettel <[email protected]>
1416
1417 * inst/tinytest/test_packageversion.R: Comparison to 'dev' revision
1418 version now tolerant of optional trailing zero (e.g. 1.0.8.0)
1419
1420 2022-01-11 Dirk Eddelbuettel <[email protected]>
1421
1422 * DESCRIPTION (Date, Version): Release 1.0.8
1423
1424 * inst/include/Rcpp/config.h: Idem
1425 * inst/NEWS.Rd: Idem
1426 * vignettes/rmd/Rcpp.bib: Idem
1427 * inst/bib/Rcpp.bib: Idem
1428 * vignettes/pdf/*: Rebuilt
1429
1430 * inst/include/Rcpp/r/headers.h: STRICT_R_HEADERS set by default
1431 unless override RCPP_NO_STRICT_HEADERS is set (cf issue #1158)
1432
1433 2022-01-10 Dirk Eddelbuettel <[email protected]>
1434
1435 * vignettes/rmd/Rcpp.bib: Updated CRAN and R references
1436 * inst/bib/Rcpp.bib: Idem
1437 * vignettes/rmd/getCurrentVersionsOfCitedPackages.R: Updated
1438
1439 2022-01-01 Dirk Eddelbuettel <[email protected]>
1440
1441 * DESCRIPTION (Version, Date): Roll minor version
1442
1443 * inst/NEWS.Rd: Added entries for a few PRs since last release
1444
1445 * vignettes/rmd/Rcpp.bib: Provide both url and doi entries
1446 * inst/bib/Rcpp.bib: Idem
1447
1448 2021-12-28 Dirk Eddelbuettel <[email protected]>
1449
1450 * README.md: Add section on performance
1451
1452 2021-12-24 Dirk Eddelbuettel <[email protected]>
1453
1454 * README.md: Update usage counts
1455
1456 2021-12-16 Dirk Eddelbuettel <[email protected]>
1457
1458 * vignettes/rmd/Rcpp.bib: Update JSS references to new doi scheme,
1459 update http URL links to https
1460 * inst/bib/Rcpp.bib: Idem
1461
1462 2021-12-10 Dirk Eddelbuettel <[email protected]>
1463
1464 * DESCRIPTION (Version, Date): Roll minor version
1465 * inst/include/Rcpp/config.h: Idem
1466
1467 2021-12-08 Dirk Eddelbuettel <[email protected]>
1468
1469 * inst/include/Rcpp/Rcpp: Added as new entry point
1470 * inst/include/Rcpp/Light: Added as lighter-weight entry point
1471 * inst/include/Rcpp/Lighter: Idem
1472 * inst/include/Rcpp/Lightest: Idem
1473
1474 2021-11-30 Dirk Eddelbuettel <[email protected]>
1475
1476 * README.md: Remove Travis badge
1477 * .travis.yml: Removed
1478
1479 2021-11-15 Dirk Eddelbuettel <[email protected]>
1480
1481 * docker/ci/Dockerfile: Minor cleanup
1482
1483 2021-11-14 Dirk Eddelbuettel <[email protected]>
1484
1485 * R/RcppLdpath.R: Simplified as we no longer need to worry about CXX0X
1486
1487 2021-11-11 Kevin Ushey <[email protected]>
1488
1489 * R/RcppLdpath.R: CxxFlags() now quotes its include path
1490
1491 2021-10-15 Travers Ching <[email protected]>
1492
1493 * inst/tinytest/testRcppAttributePackage: Tests `signature` attribute
1494 * inst/tinytest/test_attribute_package.R: Tests `signature` attribute
1495
1496 2021-10-13 Dirk Eddelbuettel <[email protected]>
1497
1498 * README.md: Switch JSS url to doi form per JSS request
1499 * man/Rcpp-package.Rd: Idem
1500 * man/RcppLdFlags.Rd: Idem
1501 * inst/CITATION: Only use doi entries in three citEntry blocks
1502
1503 2021-10-11 Dirk Eddelbuettel <[email protected]>
1504
1505 * DESCRIPTION (Version, Date): Roll minor version
1506 * inst/include/Rcpp/config.h: Idem
1507
1508 * .codecov.yml (comment): Disable codecov comments on PRs
1509
1510 2021-10-10 Travers Ching <[email protected]>
1511
1512 * src/attributes.cpp: Add `signature` attribute and syntax checks
1513
1514 2021-10-02 Dirk Eddelbuettel <[email protected]>
1515
1516 * .github/workflows/docker.yaml (jobs): Add container builder action
1517
1518 2021-10-01 Dirk Eddelbuettel <[email protected]>
1519
1520 * DESCRIPTION (Version, Date): Roll minor version
1521 * inst/include/Rcpp/config.h: Idem
1522
1523 * inst/NEWS.Rd: Updated
1524
1525 2021-09-29 Iñaki Ucar <[email protected]>
1526
1527 * inst/include/Rcpp/XPtr.h: Check for new define
1528 `RCPP_USE_FINALIZE_ON_EXIT` to flip the value of XPtr's `finalizeOnExit`
1529 parameter from false (default) to true.
1530 * inst/tinytest/test_xptr.R: Added test for this functionality.
1531
1532 2021-09-27 Dirk Eddelbuettel <[email protected]>
1533
1534 * README.md: Added total downloads badge
1535
1536 2021-09-06 Dirk Eddelbuettel <[email protected]>
1537
1538 * docker/ci-4.0/Dockerfile: Using R 4.0.5 to build ci-4.0
1539 * .github/workflows/ci.yaml (jobs): Also run against R 4.0.*
1540
1541 2021-09-05 Dirk Eddelbuettel <[email protected]>
1542
1543 * inst/examples/Misc/piSugar.cpp (piSugar): Remove spurious call to
1544 RNGScope we do not need with Rcpp Attributes
1545 * inst/examples/RcppGibbs/RcppGibbs.R (Rgibbs): Comment on two uses
1546 of RNGScope as historical in pre-Attributes code
1547 * inst/examples/RcppGibbs/timeRNGs.R: Idem for one more
1548
1549 2021-08-05 Dirk Eddelbuettel <[email protected]>
1550
1551 * inst/bib/Rcpp.bib: Use https for CRAN URLs
1552 * vignettes/rmd/Rcpp.bib: Idem
1553
1554 2021-07-25 Dirk Eddelbuettel <[email protected]>
1555
1556 * DESCRIPTION (Version, Date): Roll minor version
1557 * inst/include/Rcpp/config.h: Idem
1558
1559 2021-07-24 Dirk Eddelbuettel <[email protected]>
1560
1561 * vignettes/rmd/Rcpp-FAQ.Rmd: New entry on growing vectors
1562
1563 2021-07-08 Dirk Eddelbuettel <[email protected]>
1564
1565 * DESCRIPTION (Version, Date): Roll minor version
1566 * inst/include/Rcpp/config.h: Idem
1567
1568 * cleanup: Check for optional vignettes/rmd before trying to access it
1569
1570 2021-07-06 Dirk Eddelbuettel <[email protected]>
1571
1572 * DESCRIPTION (Date, Version): Release 1.0.7
1573
1574 * inst/include/Rcpp/config.h: Idem
1575 * inst/NEWS.Rd: Idem
1576 * vignettes/rmd/Rcpp.bib: Idem
1577 * inst/bib/Rcpp.bib: Idem
1578 * vignettes/pdf/*: Rebuilt
1579
1580 2021-07-05 Iñaki Ucar <[email protected]>
1581
1582 * src/barrier.cpp (Rcpp_precious_remove): Protect from call with
1583 wrong token when unloading modules compiled under earlier version
1584
1585 2021-07-02 Dirk Eddelbuettel <[email protected]>
1586
1587 * inst/include/Rcpp/r/headers.h: Update notice as January 2022
1588 release will remove protection for STRICT_R_HEADERS making it default
1589
1590 2021-05-27 Dirk Eddelbuettel <[email protected]>
1591
1592 * inst/tinytest/cpp/rcppversion.cpp (checkVersion): Allow for more
1593 than four components of a development version number
1594 * inst/tinytest/test_packageversion.R: Idem
1595 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Clarify in comment
1596
1597 2021-05-13 Dirk Eddelbuettel <[email protected]>
1598
1599 * DESCRIPTION (Version, Date): Roll minor version
1600 * inst/include/Rcpp/config.h: Idem
1601
1602 2021-05-09 Dirk Eddelbuettel <[email protected]>
1603
1604 * inst/include/RcppCommon.h: Add cfloat header
1605
1606 2021-04-09 Dirk Eddelbuettel <[email protected]>
1607
1608 * inst/include/Rcpp/hash/IndexHash.h: Silence one comparison, update
1609 use of unsigned int to uint32_t throughout
1610
1611 2021-03-22 Dirk Eddelbuettel <[email protected]>
1612
1613 * DESCRIPTION (Version, Date): Roll minor version
1614 * inst/include/Rcpp/config.h: Idem
1615
1616 2021-03-21 Dirk Eddelbuettel <[email protected]>
1617
1618 * inst/include/Rcpp/api/meat/message.h: Add wrapper for base::message
1619 * inst/include/Rcpp/api/meat/meat.h: Include new file
1620 * inst/tinytest/test_misc.R: Simple test
1621 * inst/tinytest/cpp/misc.cpp (messageWrapper): Test support
1622
1623 2021-02-23 Dirk Eddelbuettel <[email protected]>
1624
1625 * Contributing.md: Update unit test link to tinytest
1626
1627 2021-02-08 Dirk Eddelbuettel <[email protected]>
1628
1629 * DESCRIPTION (Author): Add Inaki to the team
1630
1631 2021-02-01 Dirk Eddelbuettel <[email protected]>
1632
1633 * DESCRIPTION (Version, Date): Roll minor version
1634 * inst/include/Rcpp/config.h: Idem
1635
1636 * README.md: Mention the Rcpp drap repo and its release candidates in
1637 installation section
1638
1639 2021-01-30 Iñaki Ucar <[email protected]>
1640
1641 * inst/include/test_global_rostream.R: Added test new (optionally)
1642 global Rcout and Rcerr objects
1643
1644 2021-01-28 Iñaki Ucar <[email protected]>
1645
1646 * inst/include/Rcpp/iostream/Rstreambuf.h: Support for global
1647 Rcout/Rcerr by defining `-DRCPP_USE_GLOBAL_ROSTREAM`; this mimics
1648 std::cout/cerr; initialization code is automatically generated.
1649 * inst/include/Rcpp/routines.h: Ditto
1650 * src/api.cpp: Ditto
1651 * src/attributes.cpp: Ditto
1652 * src/rcpp_init.cpp: Ditto
1653
1654 2021-01-21 Dirk Eddelbuettel <[email protected]>
1655
1656 * DESCRIPTION (Version, Date): Roll minor version
1657 * inst/include/Rcpp/config.h: Idem
1658
1659 * inst/include/Rcpp/DataFrame.h: Remove unused variable
1660
1661 * R/Attributes.R (sourceCpp): Support argument echo to be passed to
1662 source() to silence optional R evaluation
1663
1664 2021-01-19 Dirk Eddelbuettel <[email protected]>
1665
1666 * DESCRIPTION (Version, Date): Roll minor version
1667 * inst/include/Rcpp/config.h: Idem
1668
1669 * inst/include/RcppCommon.h: Preverse existing API and offer new
1670 token-based API alongside via Rcpp_Precious{Preserve,Release}
1671 * inst/include/Rcpp/String.h: Use Rcpp_Precious{Preserve,Release}
1672 * inst/include/Rcpp/storage/PreserveStorage.h: Ditto
1673
1674 2021-01-17 Iñaki Ucar <[email protected]>
1675
1676 * inst/include/Rcpp/String.h: Use Rcpp_{Preserve,Release}Object
1677 throughout which connects to Rcpp_precious_* routines
1678 * inst/include/Rcpp/exceptions.h: Use Rcpp_ReleaseObject
1679 * inst/include/Rcpp/routines.h: Several corrections and refinements
1680 * inst/include/Rcpp/storage/PreserveStorage.h: Ditto
1681 * inst/include/Rcpp/traits/named_object.h: Ditto
1682 * inst/include/Rcpp/unwuindProtect.h: Ditto
1683 * inst/include/RcppCommon.h: Ditto
1684 * src/barrier.cpp: Ditto
1685
1686 2021-01-17 Dirk Eddelbuettel <[email protected]>
1687
1688 * DESCRIPTION (Version, Date): Roll minor version
1689 * inst/include/Rcpp/config.h: Idem
1690
1691 [ these were originally committed 17 May 2020 and have been rebased ]
1692 * src/barrier.cpp: Implement Rcpp_precious_{init,teardown,preserve,remove}
1693 * src/rcpp_init.c: Register cpp_precious_{init,teardown,preserve,remove}
1694 and call from R_{init,unload}_Rcpp
1695 * inst/include/Rcpp/routines.h: Declare Rcpp_precious_{init,teardown,
1696 preserve,remove}
1697 * inst/include/Rcpp/exceptions.h: Use Rcpp_precious_remove
1698 * inst/include/Rcpp/traits/named_object.h: Use
1699 Rcpp_precious_{preserve,remove}
1700 * inst/include/Rcpp/unwuindProtect.h: Use Rcpp_precious_preserve
1701 * inst/include/RcppCommon.h: Use Rcpp_precious_{preserve,remove}
1702
1703 2021-01-16 Dirk Eddelbuettel <[email protected]>
1704
1705 * DESCRIPTION (Version, Date): Roll minor version
1706 * inst/include/Rcpp/config.h: Idem
1707
1708 * tests/tinytest.R: Test for CODECOV when deciding to run extensive
1709 tests or just a subset, and set CI=true to enable run full set
1710
1711 * .github/workflows/stale.yaml: Run weekly instead of daily
1712
1713 * src/attributes.cpp: Additional #nocov tag(s)
1714 * R/Attributes.R: Idem
1715 * R/Module.R: Idem
1716 * R/Rcpp.package.skeleton.R: Idem
1717 * R/RcppClass.R: Idem
1718 * R/RcppLdpath.R: Idem
1719
1720 * src/attributes.cpp: Support include files with dots in package name
1721
1722 2021-01-14 Dirk Eddelbuettel <[email protected]>
1723
1724 * DESCRIPTION (Date, Version): Release 1.0.6
1725
1726 * inst/include/Rcpp/config.h: Idem
1727 * inst/NEWS.Rd: Idem
1728 * vignettes/rmd/Rcpp.bib: Idem
1729 * inst/bib/Rcpp.bib: Idem
1730
1731 2021-01-13 Dirk Eddelbuettel <[email protected]>
1732
1733 * vignettes/rmd/Rcpp.bib: Updated package versions
1734 * inst/bib/Rcpp.bib: Idem
1735
1736 2021-01-02 Dirk Eddelbuettel <[email protected]>
1737
1738 * R/Rcpp.package.skeleton.R: Wrap any() around grepl()
1739
1740 2020-12-22 Dirk Eddelbuettel <[email protected]>
1741
1742 * .github/workflows/stale.yaml: Adding a staleness monitor labeling
1743 and ultimately closing issues and PRs after suitably long windows
1744
1745 2020-12-16 Dirk Eddelbuettel <[email protected]>
1746
1747 * inst/NEWS.Rd: Updated for recent activity
1748
1749 * .github/workflows/ci.yaml: Add container-based CI runner
1750 * README.md: Add new badge
1751
1752 2020-11-06 Dirk Eddelbuettel <[email protected]>
1753
1754 * DESCRIPTION: More URL updates, e.g. http -> https
1755 * README.md: Ditto
1756 * inst/CITATION: Ditto
1757 * man/Rcpp-package.Rd: Ditto
1758
1759 * inst/CITATION: Change from PeerJ Preprint to TAS
1760
1761 2020-10-25 Dirk Eddelbuettel <[email protected]>
1762
1763 * DESCRIPTION (Version, Date): Roll minor version
1764 * inst/include/Rcpp/config.h: Idem
1765
1766 * inst/include/Rcpp/generated/InternalFunction__ctors.h: Switch XPtr
1767 finalizer argument from false to true
1768
1769 2020-10-22 Dirk Eddelbuettel <[email protected]>
1770
1771 * inst/include/Rcpp/lang.h: Remove spurious whitespace
1772
1773 * vignettes/.gitignore: Refined to no longer ignore pdf files
1774 * vignettes/pdf/*: Added
1775
1776 * inst/NEWS.Rd: Updated for two PRs
1777
1778 2020-10-21 Dirk Eddelbuettel <[email protected]>
1779
1780 * DESCRIPTION (Version, Date): Roll minor version
1781 * inst/include/Rcpp/config.h: Idem
1782
1783 2020-10-19 Benjamin Christoffersen <[email protected]>
1784
1785 * src/attributes.cpp: Initialize two private bool variable in default
1786 constructor to avoid santizer warning
1787
1788 2020-08-20 Mattias Ellert <[email protected]>
1789
1790 * inst/include/Rcpp/lang.h: Remove obsolete and confusing comment
1791
1792 2020-08-05 Dirk Eddelbuettel <[email protected]>
1793
1794 * DESCRIPTION (Version, Date): Roll minor version
1795 * inst/include/Rcpp/config.h: Idem
1796
1797 2020-07-09 Walter Somerville <[email protected]>
1798
1799 * inst/include/Rcpp/DataFrame.h: Warn when data.frame has varying
1800 length
1801 * inst/tinyTest/cpp/DataFrame.cpp: Test added
1802 * inst/tinyTest/test_dataframe.R: Idem
1803
1804 2020-07-07 Walter Somerville <[email protected]>
1805
1806 * inst/include/Rcpp/DataFrame.h: Implement explict push_back and
1807 push_front for DataFrame, which takes care to set the class and
1808 row.names attributes.
1809 * inst/tinyTest/test_dataframe.R: Add in tests for
1810 push_back/push_front
1811 * inst/tinyTest/cpp/DataFrame.cpp: Idem
1812
1813 2020-07-06 Dirk Eddelbuettel <[email protected]>
1814
1815 * DESCRIPTION (Version, Date): Roll minor version
1816 * inst/include/Rcpp/config.h: Idem
1817
1818 2020-07-06 Kevin Ushey <[email protected]>
1819
1820 * inst/include/Rcpp/module/class.h: EXTPTR_PTR -> R_ExternalPtrAddr
1821 * src/api.cpp: Idem
1822 * src/module.cpp: Idem
1823
1824 2020-07-01 Dirk Eddelbuettel <[email protected]>
1825
1826 * DESCRIPTION (Date, Version): Release 1.0.5
1827
1828 * inst/include/Rcpp/config.h: Idem
1829 * inst/NEWS.Rd: Idem
1830 * vignettes/rmd/Rcpp.bib: Idem
1831 * inst/bib/Rcpp.bib: Idem
1832
1833 2020-06-27 Dirk Eddelbuettel <[email protected]>
1834
1835 * docker/ci/Dockerfile: Revert back to standard r-base container
1836 * docker/plus/Dockerfile: Also install bit64
1837
1838 2020-06-19 Dirk Eddelbuettel <[email protected]>
1839
1840 * .travis.yml: Determine package name and version from DESCRIPTION,
1841 switch to bionic
1842
1843 2020-06-14 Dirk Eddelbuettel <[email protected]>
1844
1845 * inst/bib/Rcpp.bib: Add John's new 'S, R, and Data Science' article
1846 * vignettes/rmd/Rcpp.bib: Idem
1847
1848 2020-06-07 Dirk Eddelbuettel <[email protected]>
1849
1850 * .travis.yml (jobs): Replace R 3.4.3 with R 3.6.3 in matrix
1851
1852 2020-06-05 Dirk Eddelbuettel <[email protected]>
1853
1854 * DESCRIPTION (Version, Date): Roll minor version
1855 * inst/include/Rcpp/config.h: Idem
1856
1857 * R/Rcpp.package.skeleton.R: Remove a remaining NAMESPACE entry for
1858 a temporary function symbol; ensure an exportPattern is set
1859
1860 2020-05-18 Dirk Eddelbuettel <[email protected]>
1861
1862 * DESCRIPTION (Version, Date): Roll minor version
1863 * inst/include/Rcpp/config.h: Idem
1864
1865 2020-05-17 Kevin Ushey <[email protected]>
1866
1867 * inst/include/Rcpp/String.h: Don't preserve returned SEXP in wrap
1868 * inst/include/RcppCommon.h: Simplify
1869
1870 2020-04-30 Dirk Eddelbuettel <[email protected]>
1871
1872 * DESCRIPTION (Version, Date): Roll minor version
1873 * inst/include/Rcpp/config.h: Idem
1874
1875 * vignettes/rmd/Rcpp-libraries.Rmd: Add new vignette source
1876 * vignettes/rmd/Rcpp.bib: Complete references
1877 * inst/bib/Rcpp.bib: Idem
1878
1879 2020-04-26 Dirk Eddelbuettel <[email protected]>
1880
1881 * DESCRIPTION (Version, Date): Roll minor version
1882 * inst/include/Rcpp/config.h: Idem
1883
1884 2020-04-25 Dirk Eddelbuettel <[email protected]>
1885
1886 * inst/include/Rcpp/sugar/functions/sample.h: Replace R_alloc() with
1887 a standard vector allocation to reduce memory consumption in sample
1888
1889 * docker/ci/Dockerfile: Update for R 4.0.0 (with a temporary
1890 diversion to rocker/r-base:4.0.0, and all-source installations)
1891
1892 * vignettes/rmd/Makefile: Add bibtex call to JSS 2011 paper builds
1893
1894 2020-04-16 Dirk Eddelbuettel <[email protected]>
1895
1896 * DESCRIPTION (Version, Date): Roll minor version
1897 * inst/include/Rcpp/config.h: Idem
1898
1899 2020-04-15 Kevin Ushey <[email protected]>
1900
1901 * inst/include/Rcpp/String.h: Avoid 'debug' namespace collisions
1902 * inst/include/Rcpp/macros/debug.h: Idem
1903 * inst/include/Rcpp/macros/macros.h: Idem
1904
1905 2020-04-15 Uwe Korn <[email protected]>
1906
1907 * inst/include/Rcpp/DataFrame.h: Explicit call to scalar std::abs
1908
1909 2020-04-11 Dirk Eddelbuettel <[email protected]>
1910
1911 * DESCRIPTION (Version, Date): Roll minor version
1912 * inst/include/Rcpp/config.h: Idem
1913
1914 2020-04-10 Kevin Ushey <[email protected]>
1915
1916 * inst/include/Rcpp/macros/macros.h: Safer definition of short_file_name
1917 * inst/include/Rcpp/String.h: Idem
1918 * inst/include/Rcpp/macros/debug.h: Idem
1919 * src/api.cpp: Idem
1920
1921 2020-04-10 Dirk Eddelbuettel <[email protected]>
1922
1923 * inst/tinytest/test_exceptions.R: Skip parts of file if on Solaris
1924
1925 2020-04-02 Dirk Eddelbuettel <[email protected]>
1926
1927 * inst/NEWS.rd: Mark as patch release 1.0.4.6
1928
1929 * inst/tinytest/test_exceptions.R: If running skip remainder of file
1930 on Windows to not trigger failed test
1931
1932 2020-04-01 Dirk Eddelbuettel <[email protected]>
1933
1934 * DESCRIPTION (Version, Date): Roll minor version
1935 * inst/include/Rcpp/config.h: Idem
1936
1937 2020-03-31 Dirk Eddelbuettel <[email protected]>
1938
1939 * docker/ci-dev/Dockerfile: Also install the 'codetools' package
1940
1941 2020-03-31 Kevin Ushey <[email protected]>
1942
1943 * R/Attributes.R: Fix for sourceCpp() on Windows w/R-devel
1944
1945 2020-03-28 Dirk Eddelbuettel <[email protected]>
1946
1947 * inst/examples/RcppGibbs/RcppGibbs_Updated.R: Updated example
1948
1949 2020-03-24 Dirk Eddelbuettel <[email protected]>
1950
1951 * DESCRIPTION (Version, Date): Roll minor version
1952 * inst/include/Rcpp/config.h: Idem
1953
1954 * inst/include/Rcpp/Environment.h: Added two Shield<SEXP> wrappers
1955 around Rf_langX calls
1956
1957 2020-03-23 Dirk Eddelbuettel <[email protected]>
1958
1959 * .travis.yml (script): Run coverage as parallel step
1960
1961 2020-03-22 Dirk Eddelbuettel <[email protected]>
1962
1963 * DESCRIPTION (Version, Date): Roll minor version
1964 * inst/include/Rcpp/config.h: Idem
1965
1966 * docker/ci-3.4/Dockerfile: Added
1967 * docker/ci-3.5/Dockerfile: Idem
1968 * docker/ci-dev/Dockerfile: Idem
1969
1970 * .travis.yml (jobs): Expand to matrix
1971
1972 2020-03-22 Mattias Ellert <[email protected]>
1973
1974 * inst/include/Rcpp/exceptions_impl.h: Add include guard,
1975 Make sure RCPP_DEMANGLER_ENABLED is always defined,
1976 Add missing inline qualifier
1977
1978 2020-03-18 Dirk Eddelbuettel <[email protected]>
1979
1980 * DESCRIPTION (Version, Date): Roll minor version
1981 * inst/include/Rcpp/config.h: Idem
1982
1983 * inst/include/Rcpp/lang.h: Define Rcpp_list{2,3,4,5} in the Rcpp
1984 namespace
1985
1986 * DESCRIPTION: Remove versioned depends on R (>= 3.0.0) from 2013
1987
1988 2020-03-17 Davis Vaughan <[email protected]>
1989
1990 * inst/include/Rcpp/lang.h: Inline Rcpp_list6() to support R 3.3.
1991
1992 2020-03-17 Dirk Eddelbuettel <[email protected]>
1993
1994 * DESCRIPTION (Version, Date): Roll minor version (twice)
1995 * inst/include/Rcpp/config.h: Idem
1996
1997 * inst/NEWS.Rd: Updated
1998
1999 2020-03-15 Kevin Ushey <[email protected]>
2000
2001 * inst/include/Rcpp/exceptions_impl.h: Ensure <execinfo.h> is included
2002 into global namespace; refactor detection of demangler support
2003
2004 2020-03-13 Dirk Eddelbuettel <[email protected]>
2005
2006 * DESCRIPTION (Date, Version): Release 1.0.4
2007
2008 * inst/include/Rcpp/config.h: Idem
2009 * inst/NEWS.Rd: Idem
2010 * vignettes/rmd/Rcpp.bib: Idem
2011 * inst/bib/Rcpp.bib: Idem
2012
2013 2020-03-12 Dirk Eddelbuettel <[email protected]>
2014
2015 * vignettes/rmd/Rcpp.bib: Updated to current package versions
2016 * inst/bib/Rcpp.bib: Idem
2017
2018 2020-02-24 Dirk Eddelbuettel <[email protected]>
2019
2020 * inst/include/Rcpp/exceptions_impl.h: Remove spurious semicolon
2021
2022 2020-02-23 Dirk Eddelbuettel <[email protected]>
2023
2024 * inst/include/Rcpp/generated/Vector__create.h: Added #nocov tags
2025 * inst/include/Rcpp/exceptions_impl.h: Idem
2026 * src/api.cpp: Idem plus some whitespace realignment
2027
2028 2020-02-13 Dirk Eddelbuettel <[email protected]>
2029
2030 * README.md: Add a Debian badge
2031
2032 2020-02-12 Dirk Eddelbuettel <[email protected]>
2033
2034 * DESCRIPTION (Version, Date): Roll minor version
2035 * inst/include/Rcpp/config.h: Idem
2036
2037 * README.md: Added indirect CRAN use badge
2038
2039 2020-02-09 Joshua Pritikin <[email protected]>
2040
2041 * inst/include/Rcpp.h: Include exceptions_impl.h
2042 * inst/include/Rcpp/exceptions.h: Make thread-safe
2043 * inst/include/Rcpp/exceptions_impl.h: New home for code moved
2044 from src/api.cpp
2045
2046 2020-01-05 Dirk Eddelbuettel <[email protected]>
2047
2048 * inst/include/Rcpp/exceptions.h: A few more #nocov tags
2049 * inst/include/Rcpp/generated/Vector__create.h: Idem, plus whitespace
2050
2051 2020-01-04 Dirk Eddelbuettel <[email protected]>
2052
2053 * R/Attributes.R: A few more #nocov tags
2054
2055 2020-01-01 Dirk Eddelbuettel <[email protected]>
2056
2057 * inst/include/Rcpp/module/Module.h: A few more #nocov tags
2058 * inst/include/Rcpp/XPtr.h: Idem
2059 * inst/include/Rcpp/vector/Vector.h: Idem
2060
2061 2019-12-31 Dirk Eddelbuettel <[email protected]>
2062
2063 * DESCRIPTION (Version, Date): Roll minor version
2064 * inst/include/Rcpp/config.h: Idem
2065
2066 2019-12-29 Qiang Kou <[email protected]>
2067
2068 * inst/include/Rcpp/vector/Matrix.h: Ensure scalar OP matrix do not
2069 change right-hand side in operation
2070 * inst/tinytest/test_matrix.R: New tests
2071 * inst/tinytest/cpp/Matrix.cpp: Idem
2072
2073 2019-12-20 Dirk Eddelbuettel <[email protected]>
2074
2075 * DESCRIPTION (Version, Date): Roll minor version
2076 * inst/include/Rcpp/config.h: Idem
2077
2078 2019-12-18 Dirk Eddelbuettel <[email protected]>
2079
2080 * inst/include/Rcpp/XPtr.h: Additional null check, refactored
2081
2082 2019-12-17 Kirill Müller <[email protected]>
2083
2084 * inst/include/Rcpp/XPtr.h: Clear external pointer before finalizer
2085
2086 2019-12-17 Dirk Eddelbuettel <[email protected]>
2087
2088 * R/Attributes.R (sourceCpp): Very minor cosmetic changes
2089
2090 2019-12-15 Dirk Eddelbuettel <[email protected]>
2091
2092 * DESCRIPTION (Version, Date): Roll minor version
2093 * inst/include/Rcpp/config.h: Idem
2094
2095 2019-12-14 Dirk Eddelbuettel <[email protected]>
2096
2097 * R/Attributes.R (sourceCpp): Support new argument windowsDebugDLL to
2098 create a debug DLL, supported on Windows only
2099 * man/sourceCpp.Rd: Document it
2100
2101 * src/date.cpp: A few more #nocov tage
2102
2103 2019-12-13 Dirk Eddelbuettel <[email protected]>
2104
2105 * src/api.cpp: A few more #nocov tags
2106 * src/attributes.cpp: Idem
2107 * src/barrier.cpp: Idem
2108
2109 2019-12-08 Dirk Eddelbuettel <[email protected]>
2110
2111 * tests/tinytest.R: Turn verbose tests on in dev and on Travis
2112
2113 * inst/tinytest/test_client_package.R: Finer-grained skip messages
2114 * inst/tinytest/test_module_client_package.R: Idem
2115 * inst/tinytest/test_expose_class.R: Idem
2116 * inst/tinytest/test_interface.R: Idem
2117 * inst/tinytest/test_rcpp_package_skeleton.R: Idem
2118 * inst/tinytest/test_reference.R: Idem
2119
2120 * inst/tinytest/test_*.R: Streamlined initial test and sourceCpp call
2121
2122 * src/attributes.cpp: Remove dangling '#nocov end'
2123
2124 2019-12-07 Dirk Eddelbuettel <[email protected]>
2125
2126 * DESCRIPTION (Version, Date): Roll minor version
2127 * inst/include/Rcpp/config.h: Idem
2128
2129 * inst/tinytest/test_binary_package.R: Finer-grained skip messages
2130
2131 * inst/tinytest/test_misc.R: Add commented-out test that fails
2132 * tests/tinytest.R: Minor edit
2133
2134 * docker/ci/Dockerfile: Add curl and ssl -dev packages needed for covr
2135
2136 2019-12-05 Dirk Eddelbuettel <[email protected]>
2137
2138 * vignettes/rmd/Rcpp-FAQ.Rmd (Rcpp): Add entry about "'dataptr' (or
2139 'enterRNGScope') not provided by Rcpp" recommending proper importFrom
2140
2141 2019-12-03 Dirk Eddelbuettel <[email protected]>
2142
2143 * docker/ci/Dockerfile: Lighter builds as fewer Suggests:
2144 * docker/plus/Dockerfile: Take packages moved from ci/Dockerfile
2145
2146 2019-12-01 Dirk Eddelbuettel <[email protected]>
2147
2148 * DESCRIPTION (Version, Date): Roll minor version
2149 * inst/include/Rcpp/config.h: Idem
2150
2151 * DESCRIPTION (Suggests): Remove knitr, rmarkdown, pinp
2152 * DESCRIPTION (VignetteBuilder): Remove knitr
2153
2154 2019-11-26 Dirk Eddelbuettel <[email protected]>
2155
2156 * inst/tinytest/test_embedded_r.R: Use sink to suppress noisy output,
2157 reenable tests (still conditional on usual environment variable)
2158
2159 2019-11-25 Dirk Eddelbuettel <[email protected]>
2160
2161 * inst/tinytest/cpp/Vector.cpp (no_op): Suppress compiler warning
2162
2163 2019-11-24 Dirk Eddelbuettel <[email protected]>
2164
2165 * DESCRIPTION (Suggests): Add tinytest, remove RUnit
2166
2167 * tests/doRUnit.R: Removed
2168 * tests/tinytest.R: Added
2169
2170 * tests/tinytest.R: Converted from RUnit to tinytest
2171 * inst/tinytest/test_algorithm.R: Idem
2172 * inst/tinytest/test_as.R: Idem
2173 * inst/tinytest/test_binary_package.R: Idem (but inactive for now)
2174 * inst/tinytest/test_client_package.R: Idem (but inactive for now)
2175 * inst/tinytest/test_dataframe.R: Idem
2176 * inst/tinytest/test_date.R: Idem (but condition two test sets on TZ)
2177 * inst/tinytest/test_dispatch.R: Idem
2178 * inst/tinytest/test_embedded.R: Idem
2179 * inst/tinytest/test_environments.R: Idem
2180 * inst/tinytest/test_exceptions.R: Idem
2181 * inst/tinytest/test_exceptions_nocall.R: Idem
2182 * inst/tinytest/test_expose_class.R: Idem
2183 * inst/tinytest/test_function.R: Idem
2184 * inst/tinytest/test_interface.R: Idem (but inactive for now)
2185 * inst/tinytest/test_internal_function.R: Idem
2186 * inst/tinytest/test_internal_function_cpp11.R: Idem
2187 * inst/tinytest/test_language.R: Idem
2188 * inst/tinytest/test_listof.R: Idem
2189 * inst/tinytest/test_matrix.R: Idem
2190 * inst/tinytest/test_misc.R: Idem
2191 * inst/tinytest/test_modref.R: Idem
2192 * inst/tinytest/test_module.R: Idem
2193 * inst/tinytest/test_module_client_package.R: Idem
2194 * inst/tinytest/test_na.R: Idem
2195 * inst/tinytest/test_quickanddirty.R: Idem
2196 * inst/tinytest/test_rcpp_package_skeleton.R: Idem
2197 * inst/tinytest/test_reference.R: Idem
2198 * inst/tinytest/test_rmath.R: Idem
2199 * inst/tinytest/test_robject.R: Idem
2200 * inst/tinytest/test_s4.R: Idem
2201 * inst/tinytest/test_stack.R: Idem
2202 * inst/tinytest/test_stats.R: Idem
2203 * inst/tinytest/test_string.R: Idem
2204 * inst/tinytest/test_subset.R: Idem
2205 * inst/tinytest/test_sugar.R: Idem
2206 * inst/tinytest/test_sugar_var.R: Idem
2207 * inst/tinytest/test_support.R: Idem
2208 * inst/tinytest/test_system.R: Idem
2209 * inst/tinytest/test_table.R: Idem
2210 * inst/tinytest/test_vector.R: Idem
2211 * inst/tinytest/test_vector_old.R: Idem
2212 * inst/tinytest/test_wrap.R: Idem
2213 * inst/tinytest/test_wstring.R: Idem
2214 * inst/tinytest/test_xptr.R: Idem
2215
2216 * inst/tinytest/cpp/*: C++ support files for tests
2217 * inst/tinytest/*: Other support files and directories from unitTests
2218
2219 * R/unitTests.R: Removed as tied to RUnit setuo
2220
2221 * inst/tinytest/test_attributes.R: Added test for error with
2222 non-existing package in cppFunction
2223
2224 2019-11-23 Dirk Eddelbuettel <[email protected]>
2225
2226 * docker/ci/Dockerfile: Add tinytest to ci Docker image
2227
2228 2019-11-20 Dirk Eddelbuettel <[email protected]>
2229
2230 * R/Attributes.R: Test for and report unavailable 'LinkingTo' package
2231
2232 2019-11-19 Dirk Eddelbuettel <[email protected]>
2233
2234 * DESCRIPTION (Version, Date): Roll minor version
2235 * inst/include/Rcpp/config.h: Idem
2236
2237 2019-11-18 Kun Ren <[email protected]>
2238
2239 * src/attributes.cpp: Add invisible param to export attribute (#1024)
2240 * vignettes/rmd/Rcpp-attributes.Rmd: Add an section of Returning
2241 invisible object
2242
2243 2019-11-13 Dirk Eddelbuettel <[email protected]>
2244
2245 * .github/ISSUE_TEMPLATE.md: Another small edit
2246 * .github/PULL_REQUEST_TEMPLATE.md: Idem
2247
2248 2019-11-13 Stephen Wade <[email protected]>
2249
2250 * inst/include/Rcpp/XPtr.h: Delete delegating ctor (follow-up #1012)
2251 * inst/unitTests/runit.XPTr.R: Reinsert self-tag test on Windows
2252
2253 2019-11-11 Dirk Eddelbuettel <[email protected]>
2254
2255 * inst/unitTests/runit.packageversion.R: New test
2256 * inst/unitTests/cpp/rcppversion.cpp: Cpp portion of test
2257
2258 2019-11-10 Dirk Eddelbuettel <[email protected]>
2259
2260 * .github/: Add files CONTRIBUTING.md, FUNDING.yml, ISSUE_TEMPLATE.md
2261 and PULL_REQUEST_TEMPLATE.md
2262
2263 * inst/include/Rcpp/config.h: Correct RCPP_VERSION and
2264 RCPP_DEV_VERSION to 1.0.3
2265
2266 2019-11-09 Dirk Eddelbuettel <[email protected]>
2267
2268 * DESCRIPTION (Version, Date): Roll minor version
2269
2270 2019-11-09 TJ McKinley <[email protected]>
2271
2272 * R/Attributes.R: Correct how cppFunction() deals with multiple
2273 depends arguments
2274
2275 2019-11-08 Romain Francois <[email protected]>
2276
2277 * inst/include/Rcpp/lang.h: Safer Rcpp_list* and Rcpp_lang*
2278 * inst/include/Rcpp/Function.h: Add Function.invoke() for operator()
2279 * inst/include/Rcpp/generated/Function__operator.h: Safer
2280 Function.operator() using Function.invoke()
2281
2282 2019-11-08 Dirk Eddelbuettel <[email protected]>
2283
2284 * DESCRIPTION (Date, Version): Release 1.0.3
2285
2286 * inst/include/Rcpp/config.h: Idem
2287 * inst/NEWS.Rd: Idem
2288 * inst/bib/Rcpp.bib: Idem
2289 * vignettes/Rcpp.bib: Idem
2290
2291 2019-11-06 Dirk Eddelbuettel <[email protected]>
2292
2293 * DESCRIPTION (Version, Date): Roll minor version
2294
2295 * inst/include/Rcpp/XPtr.h: Provided fallback for old constructor
2296 when C++11 is not available (follow-up to #1003)
2297 * inst/unitTests/runit.XPTr.R (test.XPtr): On Windows (as a proxy for
2298 old compilers) do not test new feature
2299
2300 * tests/doRUnit.R: Protect printing to /tmp from Windows use
2301
2302 * vignettes/rmd/Rcpp.bib: Updated
2303 * inst/bib/Rcpp.bib: Idem
2304
2305 2019-11-02 Dirk Eddelbuettel <[email protected]>
2306
2307 * DESCRIPTION (Version, Date): Roll minor version
2308
2309 * inst/include/Rcpp/Reference.h: Shield Rf_mkstring inside Rf_lang2
2310 * inst/include/Rcpp/Environment.h: Idem (inside Rf_lang4)
2311 * inst/include/Rcpp/proxy/FieldProxy.h: Idem (inside Rf_lang3 and 4)
2312
2313 2019-10-31 Romain Francois <[email protected]>
2314
2315 * inst/include/Rcpp/DataFrame.h: Protect temporaries from gc
2316 * inst/include/Rcpp/Environment.h: Idem
2317 * inst/include/Rcpp/r_cast.h: Idem
2318
2319 2019-10-27 Dirk Eddelbuettel <[email protected]>
2320
2321 * DESCRIPTION (Version, Date): Roll minor version
2322
2323 * inst/unitTests/runit.exposeClass.R: Updated to pass with r-devel
2324
2325 * vignettes/rmd/Rcpp-FAQ.Rmd: Two new short section on speedier
2326 compilation and lack of exceptions / stop() across shared libraries
2327
2328 2019-10-26 Dirk Eddelbuettel <[email protected]>
2329
2330 * vignettes/Rcpp-package.Rnw: Another wrapper
2331 * vignettes/Rcpp-jss-2011.Rnw: Idem
2332
2333 * vignettes/Makefile: Refinements
2334 * vignettes/rmd/Makefile: Idem
2335
2336 * cleanup: Removed bashism, added invocation of make clean
2337
2338 2019-10-23 Dirk Eddelbuettel <[email protected]>
2339
2340 * vignettes/Rcpp-*.Rnw: Wrappers around pdf/*pdf
2341 * vignettes/Makefile: Added
2342
2343 2019-10-21 Dirk Eddelbuettel <[email protected]>
2344
2345 * vignettes/rmd/*: Moved from parent directory
2346 * vignettes/pdf/*: New target directory
2347
2348 2019-10-20 Dirk Eddelbuettel <[email protected]>
2349
2350 * DESCRIPTION (Version, Date): Roll minor version
2351
2352 * vignettes/Rcpp-FAQ.Rmd: Turn off knitr cache
2353 * vignettes/Rcpp-introduction.Rmd: Idem
2354
2355 * vignettes/Makefile: Add simple Makefile
2356 * .Rbuildignore: Exclude vignettes/Makefile
2357
2358 2019-10-19 Stephen Wade <[email protected]>
2359
2360 * inst/include/Rcpp/XPtr.h: XPtr constructor split up, a single
2361 argument does not modify tags and protected data of the external pointer
2362 * inst/unitTests/cpp/Xptr.cpp: Added test
2363 * inst/unitTests/runit.XPtr.R: Idem
2364
2365 2019-10-14 Dirk Eddelbuettel <[email protected]>
2366
2367 * README.md: Added CRAN + BioConductor badges for reverse depends,
2368
2369 2019-10-11 Dirk Eddelbuettel <[email protected]>
2370
2371 * inst/include/Rcpp/exceptions.h: Condition use of typeid() on
2372 absence of RCPP_NO_RTTI in two places
2373 * inst/include/Rcpp/r/headers.h: RCPP_NO_RTTI implies RCPP_NO_MODULES
2374
2375 2019-10-04 Dirk Eddelbuettel <[email protected]>
2376
2377 * vignettes/Rcpp-attributes.Rmd: Correct two unevaluated knitr C++
2378 chunks to mode 'Rcpp' rather than the (unregistered) C++ mode
2379 * vignettes/Rcpp-extending.Rmd: Minor white-space tweak to avoid
2380 paragraph-spacing warnings from latex and its mdframed style
2381 * vignettes/Rcpp-modules.Rmd: Idem
2382 * vignettes/Rcpp-sugar.Rmd: Idem
2383
2384 2019-10-01 Dirk Eddelbuettel <[email protected]>
2385
2386 * DESCRIPTION (Version, Date): Roll minor version
2387
2388 2019-09-30 Kevin Ushey <[email protected]>
2389
2390 * inst/include/Rcpp.h: add RCPP_NO_MODULES
2391 * inst/include/Rcpp/api/meat/is.h: Idem
2392 * inst/include/Rcpp/api/meat/meat.h: Idem
2393
2394 2019-09-28 Dirk Eddelbuettel <[email protected]>
2395
2396 * README.md: Add a stackoverflow tag to indicate where to ask questions,
2397 also updated package counts on CRAN and BioC for Rcpp users
2398
2399 2019-08-06 Riccardo Porreca <[email protected]>
2400
2401 * vignettes/Rcpp-modules.Rmd: Extensive review and edit improving the
2402 Modules vignette
2403
2404 2019-08-04 Dirk Eddelbuettel <[email protected]>
2405
2406 * README.md: Add thre doi badges
2407
2408 * inst/NEWS.Rd: Two minor edits
2409
2410 2019-07-21 Dirk Eddelbuettel <[email protected]>
2411
2412 * DESCRIPTION (Version, Date): Roll minor version
2413
2414 2019-07-21 Riccardo Porreca <[email protected]>
2415
2416 * R/Module.R: Use an explicit Rcpp:: in the initalize method for C++
2417 classes wrapped inside modules to ensure proper initialization
2418
2419 2019-07-20 Dirk Eddelbuettel <[email protected]>
2420
2421 * DESCRIPTION: Release 1.0.2
2422
2423 * inst/include/Rcpp/config.h: Idem
2424 * inst/NEWS.Rd: Idem
2425 * inst/bib/Rcpp.bib: Idem
2426 * vignettes/Rcpp.bib: Idem
2427
2428 2019-07-18 Pierrick Roger <[email protected]>
2429
2430 * src/attributes.cpp: Correct parsing of default function values
2431 * inst/unitTests/cpp/attributes.cpp: Added tests
2432 * inst/unitTests/runit.attributes.R: Idem
2433
2434 2019-07-16 Dirk Eddelbuettel <[email protected]>
2435
2436 * debian/: Removed, see https://salsa.debian.org/edd/r-base/ instead
2437
2438 2019-07-04 Dirk Eddelbuettel <[email protected]>
2439
2440 * vignettes/Rcpp.bib: Updated
2441 * inst/bib/Rcpp.bib: Idem
2442
2443 2019-05-05 Dirk Eddelbuettel <[email protected]>
2444
2445 * .Rbuildignore: Small tweak
2446
2447 2019-04-27 Dirk Eddelbuettel <[email protected]>
2448
2449 * R/Rcpp.package.skeleton.R (Rcpp.package.skeleton): Use getRcppVersion()
2450
2451 2019-04-26 Dirk Eddelbuettel <[email protected]>
2452
2453 * DESCRIPTION (Version, Date): Roll minor version
2454
2455 * R/tools.R (getRcppVersion): More idiomatic code
2456
2457 2019-04-25 Dirk Eddelbuettel <[email protected]>
2458
2459 * R/tools.R (getRcppVersion): Export R (and dev) package version
2460 * man/getRcppVersion.Rd: Documentation for new function
2461
2462 * inst/include/Rcpp/config.h (RCPP_VERSION_STRING): New version
2463 and development version string #define
2464 * src/api.cpp (getRcppVersionStrings): Expose new versions strings
2465 * src/internal.h: Register new version string exporter
2466 * src/rcpp_init.cpp (callEntries[]): Idem
2467
2468 * inst/unitTests/runit.misc.R (test.getRcppVersion): test new function
2469
2470 2019-03-23 Ralf Stubner <[email protected]>
2471
2472 * vignettes/Rcpp-modules.Rmd: Describe RCPP_EXPOSED_* macros
2473 * vignettes/Rcpp-extending.Rmd: Reference Modules extensions
2474
2475 2019-03-23 Dirk Eddelbuettel <[email protected]>
2476
2477 * DESCRIPTION (Version, Date): Roll minor version
2478
2479 * inst/NEWS.Rd: Updated
2480
2481 2019-03-20 James J Balamuta <[email protected]>
2482
2483 * inst/include/Rcpp/sugar/functions/unique.h: Added decreasing
2484 parameter to control sort.
2485 * inst/unitTests/runit.sugar.R: Added sort_unique() tests
2486 * inst/unitTests/cpp/sugar.cpp: Ditto
2487
2488 2019-03-20 Dirk Eddelbuettel <[email protected]>
2489
2490 * src/date.cpp: Renamed from Date.cpp
2491 * src/module.cpp: Renamed from Module.cpp
2492 * src/rcpp_init.cpp: Renamed from Rcpp_init.cpp
2493
2494 2019-03-19 Dirk Eddelbuettel <[email protected]>
2495
2496 * DESCRIPTION (Version, Date): Roll minor version
2497
2498 * tests/doRUnit.R: On Travis always set RunAllRcppTests
2499
2500 * docker/ci/Dockerfile: Set environment variables container-wide
2501
2502 2019-03-18 Dirk Eddelbuettel <[email protected]>
2503
2504 * inst/include/Rcpp/macros/macros.h (END_RCPP_RETURN_ERROR): Add
2505 UNPROTECT to reference nprot, also check for stop_sym
2506
2507 2019-03-17 Dirk Eddelbuettel <[email protected]>
2508
2509 * DESCRIPTION: Release 1.0.1
2510
2511 * inst/include/Rcpp/config.h: Idem
2512 * inst/NEWS.Rd: Idem
2513 * inst/bib/Rcpp.bib: Idem
2514 * vignettes/Rcpp.bib: Idem
2515
2516 2019-03-16 Dirk Eddelbuettel <[email protected]>
2517
2518 * DESCRIPTION (Version, Date): Roll minor version
2519
2520 * inst/unitTests/runit.sugar.R: Set the sample() behaviour to R 3.5.0
2521 as R 3.6.0 has a breaking change (for the better)
2522
2523 2019-03-13 Romain François <[email protected]>
2524
2525 * inst/include/Rcpp/macros/macros.h: Add UNPROTECT to please rchk
2526
2527 2019-03-12 Romain François <[email protected]>
2528
2529 * inst/include/Rcpp/api/meat/proxy.h: AttributeProxy::set() with
2530 Shield<> and a few related uses of Shield<> to please rchk
2531 * inst/include/Rcpp/clone.h: Idem
2532 * inst/include/Rcpp/proxy/AttributeProxy.h: Idem
2533 * inst/include/Rcpp/proxy/NamesProxy.h: Idem
2534 * inst/include/Rcpp/vector/Matrix.h: Idem
2535 * inst/include/Rcpp/vector/Vector.h: Idem
2536
2537 2019-02-25 Dirk Eddelbuettel <[email protected]>
2538
2539 * .travis.yml (after_success): Setting CODECOV_TOKEN to reenable
2540 codecov.io coverage as detailed by Ralf in GitHub issue #941
2541
2542 2019-02-16 Dirk Eddelbuettel <[email protected]>
2543
2544 * inst/include/Rcpp/sugar/functions/cbind.h: Converted CRLF to CR
2545
2546 2019-02-15 Dirk Eddelbuettel <[email protected]>
2547
2548 * inst/README: Moved stale file to local/
2549 * inst/THANKS: Idem
2550
2551 2019-02-13 Dirk Eddelbuettel <[email protected]>
2552
2553 * DESCRIPTION (Version, Date): New minor version
2554
2555 2019-02-11 Kevin Ushey <[email protected]>
2556
2557 * R/Attributes.R: better handle pre-existing RcppExports.cpp,
2558 RcppExports.R when calling compileAttributes()
2559
2560 2019-02-09 Ralf Stubner <[email protected]>
2561
2562 * Rcpp-modules.Rmd: Added example for .factory
2563
2564 2019-01-31 Dirk Eddelbuettel <[email protected]>
2565
2566 * inst/include/Rcpp/protection/Shelter.h (Rcpp): Only increase
2567 nprotected count if object is not NULL (suggested by Stepan Sindelar)
2568
2569 2018-12-26 Zhuoer Dong <[email protected]>
2570
2571 * vignettes/Rcpp-quickref.Rmd: Fix three bugs: use `Named()`, define
2572 `glob`, `glob.ls(TRUE)`.
2573
2574 2018-12-01 Dirk Eddelbuettel <[email protected]>
2575
2576 * R/Attributes.R: Added new 'c++2a' plugin for '-std=c++2a'
2577 compilation standard supported by g++ 8 or later
2578
2579 2018-11-11 Dirk Eddelbuettel <[email protected]>
2580
2581 * inst/include/Rcpp/vector/Subsetter.h (check_indices): More
2582 informative error message as suggested by KK
2583
2584 2018-11-09 William Nolan <[email protected]>
2585
2586 * inst/include/Rcpp/vector/Subsetter.h: Fixed to use R_xlen_t instead
2587 of int for indexing and added warning when indexing by IntegerVector
2588 (only for large enough vectors)
2589
2590 2018-11-05 Dirk Eddelbuettel <[email protected]>
2591
2592 * DESCRIPTION (Date, Version): Version 1.0, and happy 10th birthday!
2593
2594 * inst/include/Rcpp/config.h: Idem
2595 * inst/NEWS.Rd: Idem
2596 * inst/bib/Rcpp.bib: Idem
2597 * vignettes/Rcpp.bib: Idem
2598
2599 2018-11-04 Dirk Eddelbuettel <[email protected]>
2600
2601 * DESCRIPTION (Date, Version): Roll minor version
2602 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
2603
2604 * README.md: Updated stated package and test numbers
2605
2606 2018-10-25 Kevin Ushey <[email protected]>
2607
2608 * inst/include/Rcpp/String.h: Use Rf_mkCharLenCE() as appropriate
2609 * inst/unitTests/cpp/String.cpp: Add unit tests
2610 * inst/unitTests/runit.String.R: Add unit tests
2611
2612 2018-10-12 Dirk Eddelbuettel <[email protected]>
2613
2614 * DESCRIPTION (Date, Version): Roll minor version
2615 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
2616
2617 * tests/doRUnit.R: Simplified to something similar to what
2618 RcppArmadillo (and other packages) had for a while now
2619
2620 * vignettes/Rcpp-unitTests.Rnw: Removed as less useful now
2621
2622 2018-10-08 JJ Allaire <[email protected]>
2623
2624 * R/Attributes.R: Sort the files scanned for attributes in the C locale
2625 for stable output across systems.
2626
2627 2018-10-07 Ralf Stubner <[email protected]>
2628
2629 * vignettes/Rcpp-extending.Rmd: Correct EXPORT to EXPOSED in displays
2630 of the corresponding macro, and remove two spurious semicolons
2631
2632 2018-10-02 Dirk Eddelbuettel <[email protected]>
2633
2634 * DESCRIPTION (Date, Version): Roll minor version
2635 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
2636
2637 2018-10-02 Romain Francois <[email protected]>
2638
2639 * inst/include/Rcpp/vector/Matrix.h: Init nrow in Matrix(no_init) ctor
2640 * inst/unitTests/runit.Matrix.R: New test
2641 * inst/unitTests/cpp/Matrix.cpp: Idem
2642
2643 2018-09-30 Dirk Eddelbuettel <[email protected]>
2644
2645 * man/RcppUnitTests.Rd: Remove \details{} with conditional code which
2646 R-devel (as of Sep 28) warns about as empty
2647
2648 2018-09-28 Dirk Eddelbuettel <[email protected]>
2649
2650 * .travis.yml (env): Set distinct build and check options to skip
2651 tests of vignettes
2652
2653 2018-09-27 Dirk Eddelbuettel <[email protected]>
2654
2655 * DESCRIPTION (Version, Date): Roll minor version
2656
2657 * inst/include/Rcpp/date_datetime/Date.h: Remove the empty destructor
2658 to make g++-9 (prerelease) happy [CRAN request]
2659
2660 * inst/unitTests/runit.Matrix.R: Correct typo
2661
2662 2018-09-27 Romain Francois <[email protected]>
2663
2664 * inst/include/Rcpp/vector/Matrix.h: Fix Matrix(no_init(int,int))
2665 constructor
2666 * inst/unitTests/runit.Matrix.R: test for above
2667 * inst/unitTests/cpp/Matrix.cpp: same
2668
2669 2018-09-26 Dirk Eddelbuettel <[email protected]>
2670
2671 * docker/ci/Dockerfile: Set env var RunAllRcppTests=yes
2672 * .travis.yml: Do not set env var here as needed in Docker
2673
2674 2018-09-21 Dirk Eddelbuettel <[email protected]>
2675
2676 * DESCRIPTION: Release 0.12.19
2677 * inst/NEWS.Rd: Idem
2678 * inst/bib/Rcpp.bib: Idem
2679 * vignettes/Rcpp.bib: Idem
2680 * inst/include/Rcpp/config.h: Idem
2681
2682 * R/RcppLdpath.R (RcppLdPath, RcppLdFlags, CxxFlags, RcppCxx0xFlags):
2683 After discussion with CRAN, do not mark as .Deprecated() as too many
2684 packages are involved. This will need to be phased in more slowly.
2685
2686 2018-09-20 Dirk Eddelbuettel <[email protected]>
2687
2688 * vignettes/Rcpp-FAQ.Rmd: Set 'eval=FALSE' on another
2689 RcppArmadillo example to not create a build-time dependency
2690
2691 2018-09-18 JJ Allaire <[email protected]>
2692
2693 * src/attributes.cpp: Add support for [[Rcpp::init]] attribute
2694 * vignettes/Rcpp-attributes.Rmd: Documentation for [[Rcpp::init]]
2695 attribute
2696
2697 2018-09-17 Dirk Eddelbuettel <[email protected]>
2698
2699 * inst/include/Rcpp/r/headers.h: Define STRICT_R_HEADERS, but until
2700 September 2019 protect by defining RCPP_NO_STRICT_HEADERS
2701
2702 * .travis.yml (env): Switch to rcpp/ci for ci use
2703
2704 2018-09-15 Dirk Eddelbuettel <[email protected]>
2705
2706 * docker/ci/Dockerfile: Move Dockerfile to docker/ci
2707 * docker/run/Dockerfile: Add deployment Dockerfile
2708 * docker/plus/Dockerfile: Add 'plus-sized' Dockerfile suitable for
2709 different add-on packages requiring Rcpp{Armadillo,Eigen,GSL} or BH
2710
2711 2018-09-02 Dirk Eddelbuettel <[email protected]>
2712
2713 * .travis.yml: Switch to rcpp/rcpp-testing container
2714
2715 2018-08-29 Dirk Eddelbuettel <[email protected]>
2716
2717 * .travis.yml: Use Dockerfile
2718
2719 2018-08-28 Dirk Eddelbuettel <[email protected]>
2720
2721 * docker/Dockerfile: Add Dockerfile for use by Travis CI
2722
2723 2018-08-27 Dirk Eddelbuettel <[email protected]>
2724
2725 * DESCRIPTION (Version, Date): Roll minor version
2726 * inst/include/Rcpp/config.h: Idem
2727
2728 * man/Rcpp-deprecated.Rd: Fix two-char typo/thinko in \link{}
2729
2730 2018-07-29 Dirk Eddelbuettel <[email protected]>
2731
2732 * README.md: Refreshed via some edits and updates
2733
2734 * DESCRIPTION (Version, Date): Roll minor version
2735 * inst/include/Rcpp/config.h: Idem
2736
2737 2018-07-28 Dirk Eddelbuettel <[email protected]>
2738
2739 * R/RcppLdpath.R (RcppLdPath, RcppLdFlags, CxxFlags, RcppLdFlags)
2740 (RcppCxx0xFlags): Marked as deprecated
2741
2742 * man/Rcpp-deprecated.Rd: Add exported functions LdFlags() and
2743 RcppLdFlags() as deprecated
2744 * man/RcppLdFlags.Rd: Idem
2745
2746 2018-07-27 Dirk Eddelbuettel <[email protected]>
2747
2748 * man/loadRcppModules-deprecated.Rd: Fix typo; was deprecated in
2749 0.12.5, not 0.16.5 which does not exist
2750
2751 2018-07-26 Dirk Eddelbuettel <[email protected]>
2752
2753 * vignettes/Rcpp-FAQ.Rmd: Use collapse: true
2754 * vignettes/Rcpp-introduction.Rmd: Idem
2755
2756 2018-07-25 Dirk Eddelbuettel <[email protected]>
2757
2758 * vignettes/Rcpp-extending.Rmd: Use collapse: true
2759
2760 2018-07-24 Martin Lysy <[email protected]>
2761
2762 * R/loadRcppClass.R: Search in R module for 'Class' instead of
2763 'CppClass'.
2764 * R/exposeClass.R: Fixed 'rename' argument to work as expected.
2765 * inst/unitTests/runit.exposeClass.R: Added unit tests for the
2766 above.
2767
2768 2018-07-23 Dirk Eddelbuettel <[email protected]>
2769
2770 * inst/bib/Rcpp.bib: More updates
2771 * vignettes/Rcpp.bib: Idem
2772
2773 2018-07-21 Dirk Eddelbuettel <[email protected]>
2774
2775 * DESCRIPTION: Release 0.12.18
2776 * inst/NEWS.Rd: Idem
2777 * inst/bib/Rcpp.bib: Idem
2778 * vignettes/Rcpp.bib: Idem
2779 * inst/include/Rcpp/config.h: Idem
2780
2781 * vignettes/Rcpp.bib: Updated other references
2782 * inst/bib/Rcpp.bib: Idem
2783
2784 * inst/unitTests/runit.sugar.R: Additional min, max unit tests
2785 * inst/unitTests/cpp/sugar.cpp: Idem
2786
2787 2018-07-20 Dirk Eddelbuettel <[email protected]>
2788
2789 * inst/include/Rcpp/sugar/functions/max.h: Also consider case of an
2790 empty vector
2791 * inst/include/Rcpp/sugar/functions/min.h: Idem
2792
2793 2018-07-19 Jack Wasey <[email protected]>
2794
2795 * inst/include/Rcpp/r_cast.h: Error and abort if debugging for STRSXP
2796 2018-07-24 Martin Lysy <[email protected]>
2797 * R/loadRcppClass.R: Search in R module for 'Class' instead of 'CppClass'.
2798 * R/exposeClass.R: Fixed 'rename' argument to work as expected.
2799 * inst/unitTests/runit.exposeClass.R: Added unit tests for the above.
2800
2801 2018-07-12 Dirk Eddelbuettel <[email protected]>
2802
2803 * DESCRIPTION (Version, Date): Roll minor version
2804 * inst/include/Rcpp/config.h: Idem
2805
2806 2018-07-12 Jack Wasey <[email protected]>
2807
2808 * R/Attributes.R: Use case-insensitive sort of filenames to make
2809 RcppExports more deterministic
2810
2811 2018-07-10 Lionel Henry <[email protected]>
2812
2813 * inst/include/Rcpp/exceptions.h: Move LongjumpException from the
2814 Rcpp::internal namespace to the public Rcpp namespace. If you have a
2815 catch-all statement like `catch (...)`, be sure to catch and rethrow
2816 Rcpp::LongjumpException to prevent the R longjump from being ignored.
2817 * inst/include/Rcpp/macros/macros.h (VOID_END_RCPP): idem
2818 * src/attributes.cpp: idem
2819
2820 2018-07-09 Dirk Eddelbuettel <[email protected]>
2821
2822 * src/Date.cpp: Skip 'tm_gmtoff' on AIX as well (thanks to PR 876
2823 by @ayappanec)
2824
2825 2018-07-05 Lionel Henry <[email protected]>
2826
2827 * inst/include/Rcpp/api/meat/Rcpp_eval.h: Rename `RCPP_PROTECTED_EVAL`
2828 to `RCPP_USE_UNWIND_PROTECT` because the new API is now more general
2829 than just evaluation of R code.
2830 * inst/NEWS.Rd: idem
2831 * inst/unitTests/runit.interface.R: idem
2832 * R/unit.tests.R (unitTestSetup): Pass extra arguments to sourceCpp()
2833 for easier debugging.
2834
2835 * R/Attributes.R (.plugins[["unwindProtect"]]): You can now add
2836 `[[Rcpp::plugins(unwindProtect)]]` in one of your source file to enable
2837 the new unwind-protect mechanism easily. It appends
2838 `-DRCPP_USE_UNWIND_PROTECT` to `PKG_CPPFLAGS`.
2839
2840 This is safer than using a `#define` because it ensures unwind-protect
2841 is enabled in all compilation units, including RcppExports.cpp.
2842
2843 * inst/unitTests/cpp/stack.cpp: Use new plugin to enable unwind-protect.
2844
2845 2018-06-22 Kevin Ushey <[email protected]>
2846
2847 * inst/include/Rcpp/api/meat/Rcpp_eval.h: Ensure R_BaseEnv is used
2848
2849 2018-06-21 Lionel Henry <[email protected]>
2850
2851 * inst/include/Rcpp/api/meat/unwind.h: Extract unwind protection from
2852 Rcpp::Rcpp_fast_eval() into Rcpp::unwindProtect(). Use this function
2853 whenever you need to call a C function that might longjump, for instance
2854 a function from R's C API. Rcpp::unwindProtect() will protect your C++
2855 stack and throw a Rcpp::internal::LongJump exception to ensure all
2856 destructors are called. The R longjump is then resumed once it is safe
2857 to do so. This function powers Rcpp_fast_eval().
2858
2859 You can use Rcpp::unwindProtect() in two ways. First with a C-like
2860 callback interface that takes a `SEXP (*)(void* data)` function pointer
2861 and a `void*` data argument that is passed to the function. Second, if
2862 you have C++11 enabled, Rcpp::unwindProtect() implements an
2863 `std::function<SEXP(void)>` overload. You can pass any function object
2864 or lambda function with the right signature.
2865 * inst/include/Rcpp/api/meat/Rcpp_eval.h: Idem
2866
2867 2018-06-15 Dirk Eddelbuettel <[email protected]>
2868
2869 * DESCRIPTION (Version, Date): Roll minor version
2870 * inst/include/Rcpp/config.h: Idem
2871
2872 2018-06-13 Filip Schouwenaars <[email protected]>
2873
2874 * inst/unitTests/runit.embeddedR.R: Evaluate in environment derived
2875 of baseenv
2876
2877 2018-06-11 Romain Francois <[email protected]>
2878
2879 * inst/include/Rcpp/exceptions.h: Control call and stack display
2880 after exception / stop
2881 * inst/unitTests/cpp/Exceptions_nocall.cpp: new test
2882 * inst/unitTests/runit.Exceptions_nocall.R: idem
2883
2884 2018-06-09 Qiang Kou <[email protected]>
2885
2886 * inst/include/Rcpp/DataFrame.h: Use Rcpp_fast_eval, not Rcpp_eval
2887 * inst/include/Rcpp/Environment.h: Idem
2888 * inst/include/Rcpp/Function.h: Idem
2889 * inst/include/Rcpp/Language.h: Idem
2890 * inst/include/Rcpp/Module.h: Idem
2891 * inst/include/Rcpp/Reference.h: Idem
2892 * inst/include/Rcpp/exceptions.h: Idem
2893 * inst/include/Rcpp/generated/Function__operator.h: Idem
2894 * inst/include/Rcpp/proxy/FieldProxy.h: Idem
2895 * inst/include/Rcpp/proxy/NamesProxy.h: Idem
2896 * inst/include/Rcpp/r_cast.h: Idem
2897 * inst/include/Rcpp/vector/Vector.h: Idem
2898 * inst/examples/SugarPerformance/sugarBenchmarks.R: Idem
2899 * inst/unitTests/cpp/language.c: Idem
2900 * inst/unitTests/cpp/misc.c: Idem
2901 * src/barrier.c: Idem
2902
2903 2018-06-09 Dirk Eddelbuettel <[email protected]>
2904
2905 * inst/unitTests/runit.embeddedR.R: Suspend test for now
2906
2907 2018-06-08 Dirk Eddelbuettel <[email protected]>
2908
2909 * DESCRIPTION (Version, Date): Roll minor version
2910 * inst/include/Rcpp/config.h: Idem
2911
2912 * Contributing.md: Minor update coding style
2913
2914 2018-06-07 Kevin Ushey <[email protected]>
2915
2916 * inst/include/Rcpp/config.h: bump dev version
2917
2918 2018-06-06 Kevin Ushey <[email protected]>
2919
2920 * inst/include/Rcpp/RNGScope.h: Allow suspension of RNG synchronization
2921 * inst/include/Rcpp/routines.h: Idem
2922 * src/Rcpp_init.cpp: Idem
2923 * src/api.cpp: Idem
2924
2925 * inst/include/Rcpp/api/meat/Rcpp_eval.h: Evaluate in base env
2926
2927 2018-06-05 Jack Wasey <[email protected]>
2928
2929 * inst/include/Rcpp/r_cast.h: Error and abort if debugging
2930
2931 2018-06-02 Lionel Henry <[email protected]>
2932
2933 * inst/unitTests/runit.interface.R: New test for the case where
2934 the client package was compiled without protected evaluation
2935 enabled. On R 3.5, longjump exceptions thrown from imported
2936 functions are still caught and dealt with properly by the client
2937 package.
2938
2939 * inst/unitTests/runit.interface.R: Test both Rcpp_eval() and
2940 Rcpp_fast_eval().
2941
2942 2018-06-01 Lionel Henry <[email protected]>
2943
2944 * inst/unitTests/runit.interface.R: New tests for interfaces and unwind.
2945 These tests build two packages, and that exports a function via
2946 Rcpp::interfaces(cpp) and the other that calls it. The attributes are
2947 regenerated and the packages rebuilt each time the tests are run. The
2948 tests check in particular that the C++ stack is properly unwound when a
2949 long jump occurs.
2950
2951 2018-06-01 Romain Francois <[email protected]>
2952
2953 * inst/include/Rcpp/Environment.h: Make Environment::new_child() const
2954
2955 2018-05-31 Lionel Henry <[email protected]>
2956
2957 * inst/include/Rcpp/api/meat/Rcpp_eval.h: Fix protected evaluation.
2958
2959 Setting `RCPP_PROTECTED_EVAL` before including Rcpp.h enables a new R
2960 3.5 API for safe evaluation of R code. R longjumps are now correctly
2961 intercepted and rethrown. Thanks to this the C++ stack is now safely
2962 unwound when a longjump is detected while calling into R code. This
2963 includes the following cases: thrown errors, caught condition of any
2964 class, long return, restart invokation, debugger exit. Note that this is
2965 still experimental!
2966
2967 When `RCPP_PROTECTED_EVAL` is enabled, Rcpp_eval() uses the
2968 protect-unwind API under the hood in order to gain safety. It is fully
2969 backward-compatibile and still catches errors and interrupts to rethrow
2970 them as typed C++ exceptions. If you don't need to catch those, consider
2971 using Rcpp_fast_eval() instead to avoid the catching overhead.
2972
2973 Rcpp_fast_eval() is a wrapper around Rf_eval(). Unlike Rcpp_eval(), it
2974 does not evaluate R code within tryCatch() and thus avoids the overhead
2975 of wrapping and evaluating the expression in a tryCatch() call. When
2976 Rcpp is compiled with a lower version than R 3.5, Rcpp_fast_eval() falls
2977 back to Rf_eval() without any protection from long jumps, even when
2978 `RCPP_PROTECTED_EVAL` is set. Either add R 3.5 to your `Depends` or make
2979 sure the legacy Rcpp_eval() function is called instead of Rcpp_fast_eval()
2980 when your package is compiled with an older version of R.
2981
2982 Note that Rcpp_fast_eval() behaves a bit differently to Rcpp_eval(). The
2983 former has the semantics of the C function Rf_eval() whereas the latter
2984 behaves like the R function base::eval(). This has subtle implications
2985 for control flow. For instance evaluating a return() expression within a
2986 frame environment returns from that frame rather than from the
2987 Rcpp_eval() call.
2988
2989 * inst/include/Rcpp/macros/macros.h: Leave the try/catch scope before
2990 resuming jump to ensure proper destruction of the exception reference.
2991
2992 * inst/include/Rcpp/exceptions.h: Functions to create and check a
2993 longjump sentinel. This sentinel is used as return value in contexts
2994 where it is not safe to resume a jump (i.e. in the glue code of cpp
2995 interfaces).
2996
2997 * inst/include/Rcpp/macros/macros.h: Return a longjump sentinel in
2998 END_RCPP_RETURN_ERROR.
2999
3000 * src/attributes.cpp: Detect longjump sentinels and resume jump.
3001
3002 2018-05-27 Romain Francois <[email protected]>
3003
3004 * inst/include/Rcpp/vector/string_proxy.h: Make
3005 StringProxy::operator== const
3006 * inst/unitTests/cpp/Vector.cpp: New test
3007 * inst/unitTests/runit.Vector.R: Idem
3008
3009 2018-05-09 Filip Schouwenaars <[email protected]>
3010
3011 * R/Attributes.R: Set local environment in source()
3012 * inst/unitTests/cpp/embeddedR.cpp: New test
3013 * inst/unitTests/runit.embeddedR.R: Idem
3014
3015 2018-05-09 Dirk Eddelbuettel <[email protected]>
3016
3017 * DESCRIPTION: Release 0.12.17
3018 * inst/NEWS.Rd: Release 0.12.17
3019 * inst/bib/Rcpp.bib: Release 0.12.17
3020 * vignettes/Rcpp.bib: Release 0.12.17
3021 * inst/include/Rcpp/config.h: Release 0.12.17
3022
3023 * debian/*: Changes for Debian release of 0.12.16
3024
3025 2018-05-05 Dirk Eddelbuettel <[email protected]>
3026
3027 * vignettes/Rcpp-FAQ.Rmd: Also mention TAS paper
3028 * vignettes/Rcpp-introduction.Rmd: Idem
3029 * vignettes/Rcpp-jss-2011.Rnw: Idem
3030
3031 2018-05-04 Romain Francois <[email protected]>
3032
3033 * inst/include/Rcpp/String.h: Extend StoragePolicy support
3034 * inst/include/Rcpp/vector/00_forward_proxy.h: Idem
3035 * inst/include/Rcpp/vector/Vector.h: Idem
3036 * inst/include/Rcpp/vector/const_generic_proxy.h: Idem
3037 * inst/include/Rcpp/vector/const_string_proxy.h: Idem
3038 * inst/include/Rcpp/vector/generic_proxy.h: Idem
3039 * inst/include/Rcpp/vector/proxy.h: Idem
3040 * inst/include/Rcpp/vector/string_proxy.h: Idem
3041 * inst/include/Rcpp/vector/traits.h: Idem
3042
3043 * inst/unitTests/cpp/Vector.cpp: New test
3044 * inst/unitTests/runit.Vector.R: Idem
3045
3046 2018-04-25 Dirk Eddelbuettel <[email protected]>
3047
3048 * DESCRIPTION (Version, Date): Roll minor version
3049
3050 2018-04-25 Romain Francois <[email protected]>
3051
3052 * inst/include/Rcpp/Benchmark/Timer.h: If defined, undefine FALSE
3053
3054 2018-04-17 Ralf Stubner <[email protected]>
3055
3056 * vignettes/Rcpp-attributes.Rmd: Replace back-quote with straight quote
3057 * vignettes/Rcpp-modules.Rmd: Idem
3058
3059 2018-04-02 Dirk Eddelbuettel <[email protected]>
3060
3061 * .editorconfig: Added support for editorconfig.org
3062 * .clang_format: Removed
3063 * .dir-locals.el: Removed
3064
3065 2018-03-31 Dirk Eddelbuettel <[email protected]>
3066
3067 * inst/include/Rcpp/sprintf.h (Rcpp): Remove parens [gcc8 warning]
3068
3069 * vignettes/Rcpp-attributes.Rmd: Update link to JSS intro vignette
3070 * vignettes/Rcpp-modules.Rmd: Idem
3071
3072 2018-03-21 Dirk Eddelbuettel <[email protected]>
3073
3074 * DESCRIPTION (Version, Date): Roll minor version
3075
3076 2018-03-18 Kevin Ushey <[email protected]>
3077
3078 * inst/include/Rcpp/stats/random/random.h: No inheritance from RNGScope
3079
3080 2018-03-14 Dirk Eddelbuettel <[email protected]>
3081
3082 * vignettes/Rcpp-FAQ.Rmd: Correct a double-quote (thanks, Joris Meys)
3083
3084 2018-03-08 Peter Hickey <[email protected]>
3085
3086 * vignettes/Rcpp-attributes.Rmd: Correct stray backslash
3087
3088 2018-03-08 Dirk Eddelbuettel <[email protected]>
3089
3090 * DESCRIPTION: Release 0.12.16
3091 * inst/NEWS.Rd: Release 0.12.16
3092 * inst/bib/Rcpp.bib: Release 0.12.16
3093 * vignettes/Rcpp.bib: Release 0.12.16
3094 * inst/include/Rcpp/config.h: Release 0.12.16
3095
3096 * debian/*: Changes for Debian release of 0.12.16
3097
3098 2018-02-07 Kevin Ushey <[email protected]>
3099
3100 * inst/include/Rcpp/longlong.h: Revised and more general logic for long
3101 long on 64bit Windows etc via C++11 and as int64_t alias where possible
3102
3103 2018-03-01 Dirk Eddelbuettel <[email protected]>
3104
3105 * inst/include/Rcpp/sugar/functions/complex.h (Rcpp): Remove RCPP_HYPOT
3106 macro and use ::hypot() throught as it is provided with C99
3107
3108 * inst/include/Rcpp/sugar/undoRmath.h: Also uncomment pythag here
3109
3110 2018-02-28 Dirk Eddelbuettel <[email protected]>
3111
3112 * inst/include/Rcpp/Rmath.h (R): Rf_pythag has been remove in R 2.14.0
3113 so comment-out the R::pythag wrapper (per request of Brian Ripley)
3114
3115 2018-02-26 Kevin Ushey <[email protected]>
3116
3117 * src/api.cpp: Always set / put RNG state when calling Rcpp function
3118
3119 2018-02-25 Dirk Eddelbuettel <[email protected]>
3120
3121 * vignettes/Rcpp.bib: Updated
3122 * inst/bib/Rcpp.bib: Idem
3123
3124 * vignettes/Rcpp-FAQ.Rmd (Note): Expand conda answer by adding link
3125
3126 2018-02-14 Dirk Eddelbuettel <[email protected]>
3127
3128 * DESCRIPTION (Version, Date): New minor version
3129
3130 2018-02-14 Kirill Müller <[email protected]>
3131
3132 * R/Attributes.R: Code compiled with cppFunction() uses .Call instead
3133 of .Primitive(".Call"), #795
3134
3135 2018-02-07 Kevin Ushey <[email protected]>
3136
3137 * inst/include/Rcpp/longlong.h: Allow long long on 64bit Windows
3138
3139 2018-01-21 Dirk Eddelbuettel <[email protected]>
3140
3141 * README.md: Added new section 'Support'
3142
3143 * vignettes/Rcpp-FAQ.Rmd (vignette): Uppercase index to 'Rcpp-FAQ';
3144 removed reference to Gmane which sadly is no more
3145
3146 2018-01-19 Dirk Eddelbuettel <[email protected]>
3147
3148 * vignettes/Rcpp-FAQ.Rmd (Note): Document the conda package
3149 `gxx_linux-64` as helpful in that environment
3150
3151 2018-01-16 Dirk Eddelbuettel <[email protected]>
3152
3153 * DESCRIPTION: Release 0.12.15
3154 * inst/NEWS.Rd: Release 0.12.15
3155 * inst/bib/Rcpp.bib: Release 0.12.15
3156 * vignettes/Rcpp.bib: Release 0.12.15
3157 * inst/include/Rcpp/config.h: Release 0.12.15
3158
3159 * debian/*: Changes for Debian release of 0.12.15
3160
3161 2018-01-15 Dirk Eddelbuettel <[email protected]>
3162
3163 * inst/include/RcppCommon.h: Check for new #define RCPP_USE_UNWIND_PROTECT
3164 and unset if defined, this is being be used to "park" code from #789
3165 * inst/include/Rcpp/Environment.h: Ifdef #789 via RCPP_USE_UNWIND_PROTECT
3166 * inst/include/Rcpp/Language.h: Idem
3167 * inst/include/Rcpp/api/meat/Rcpp_eval.h: Idem
3168 * inst/include/Rcpp/exceptions.h: Idem
3169 * inst/include/Rcpp/macros/macros.h: Idem
3170
3171 * inst/unitTests/runit.stack.R: Ensure test is not running
3172
3173 2018-01-14 Dirk Eddelbuettel <[email protected]>
3174
3175 * DESCRIPTION (Version, Date): New minor version 0.12.14.8
3176
3177 * inst/include/Rcpp/traits/is_na.h (Rcpp): Also speed up
3178 Rcpp::is_na<Rcomplex>
3179
3180 2018-01-14 Lionel Henry <[email protected]>
3181
3182 * inst/unitTests/cpp/stack.cpp: Move stack unwinding tests from misc.cpp
3183 * inst/unitTests/runit.stack.R: Move stack unwinding tests from misc.R;
3184 disaggregate stack unwinding tests; also disable for now
3185
3186 2018-01-11 Kirill Müller <[email protected]>
3187
3188 * inst/include/Rcpp/traits/is_na.h: Speed up Rcpp::is_na<double>()
3189
3190 2018-01-09 Iñaki Ucar <[email protected]>
3191
3192 * inst/include/Rcpp/vector/proxy.h: Improve support for NVCC, the CUDA
3193 compiler, by making three more methods const
3194
3195 2018-01-06 Kendon Bell <[email protected]>
3196
3197 * src/api.cpp: Allow for compilation on ANDROID
3198
3199 2017-12-21 Dirk Eddelbuettel <[email protected]>
3200
3201 * DESCRIPTION (Date, Version): Updated minor version and date
3202
3203 2017-12-21 Kirill Müller <[email protected]>
3204
3205 * inst/include/Rcpp/internal/wrap.h: Appease gcc-7 with fall-through
3206 * inst/include/Rcpp/macros/unroll.h: Idem
3207
3208 2017-12-20 Kirill Müller <[email protected]>
3209
3210 * inst/include/Rcpp/utils/tinyformat.h: Update to new upstream
3211 c42f/tinyformat@8f60162, simplify future updates by separating
3212 Rcpp-specific changes (issue #786).
3213
3214 2017-12-19 Kevin Ushey <[email protected]>
3215
3216 * inst/include/Rcpp/internal/na.h: Remove 'clever' NA / NaN checks
3217
3218 2017-12-16 Dirk Eddelbuettel <[email protected]>
3219
3220 * DESCRIPTION (Date, Version): Updated minor version and date
3221
3222 2017-12-13 Lionel Henry <[email protected]>
3223
3224 * inst/include/Rcpp/api/meat/Rcpp_eval.h: Add Rcpp_fast_eval() for safe
3225 and fast evaluation of R code using the new protect-unwind API in R 3.5.
3226 [ This is however disabled for release 0.12.15. ]
3227
3228 * inst/include/Rcpp/exceptions.h: Add LongjumpException and
3229 resumeJump() to support Rcpp_fast_eval().
3230
3231 * inst/include/Rcpp/macros/macros.h: Catch LongjumpException and call
3232 resumeJump(). If resumeJump() doesn't jump (on old R versions), throw an
3233 R error (this normally should not happen).
3234
3235 * inst/include/RcppCommon.h: Add Rcpp_fast_eval() to the public API and
3236 internal::Rcpp_eval_impl() to the private API.
3237
3238 * inst/include/Rcpp/Environment.h: Use safe evaluation
3239 * inst/include/Rcpp/Language.h: idem
3240
3241 2017-12-05 Kevin Ushey <[email protected]>
3242
3243 * inst/include/Rcpp/Environment.h: Use public R APIs
3244 * inst/include/Rcpp/api/meat/Environment.h: Idem
3245
3246 2017-12-04 Kevin Ushey <[email protected]>
3247
3248 * inst/include/Rcpp/RObject.h: Protect temporary wrapped SEXPs
3249 * inst/include/Rcpp/api/meat/DataFrame.h: Idem
3250 * inst/include/Rcpp/api/meat/Environment.h: Idem
3251 * inst/include/Rcpp/api/meat/proxy.h: Idem
3252 * inst/include/Rcpp/proxy/ProtectedProxy.h: Idem
3253 * inst/include/Rcpp/vector/generic_proxy.h: Idem
3254
3255 2017-12-03 Dirk Eddelbuettel <[email protected]>
3256
3257 * DESCRIPTION (Version, Date): New minor version
3258
3259 * inst/include/Rcpp/sugar/functions/is_na.h: Correct test for NA to work
3260 with new as well as old Date(time)Vectors
3261
3262 * inst/unitTests/cpp/dates.cpp (has_na): Added tests
3263 * inst/unitTests/runit.Date.R (test.NA): Idem
3264
3265 2017-11-30 James J Balamuta <[email protected]>
3266
3267 * src/attributes.cpp: Fixed missing Rcpp namespace in export interface
3268 generation
3269
3270 2017-11-25 Dirk Eddelbuettel <[email protected]>
3271
3272 * DESCRIPTION (Version, Date): Roll minor version
3273
3274 * inst/include/Rcpp/exceptions/cpp11/exceptions.h: Ensure Rf_format gets
3275 a format string
3276 * inst/include/Rcpp/exceptions/cpp98/exceptions.h (Rcpp): Ditto
3277
3278 2017-11-18 Dirk Eddelbuettel <[email protected]>
3279
3280 * DESCRIPTION (Version, Date): Roll minor version
3281
3282 * vignettes/Rcpp-FAQ.Rmd: Use Rcpp::Rcpp.plugin.maker(), not ':::'
3283
3284 2017-11-17 Dirk Eddelbuettel <[email protected]>
3285
3286 * DESCRIPTION: Release 0.12.14
3287 * inst/NEWS.Rd: Release 0.12.14
3288 * inst/bib/Rcpp.bib: Release 0.12.14
3289 * vignettes/Rcpp.bib: Release 0.12.14
3290 * inst/include/Rcpp/config.h: Release 0.12.14
3291
3292 2017-11-04 Dirk Eddelbuettel <[email protected]>
3293
3294 * vignettes/Rcpp-FAQ.Rmd: Add 'skip_final_break: true' toggle
3295 * vignettes/Rcpp-attributes.Rmd: Idem
3296 * vignettes/Rcpp-extending.Rmd: Idem
3297 * vignettes/Rcpp-modules.Rmd: Idem
3298 * vignettes/Rcpp-sugar.Rmd: Idem
3299
3300 2017-10-30 Dirk Eddelbuettel <[email protected]>
3301
3302 * inst/include/Rcpp.h: Unless RCPP_FORCE_OLD_DATE_DATETIME_VECTORS is
3303 defined, define RCPP_NEW_DATE_DATETIME_VECTORS to switch to new date and
3304 datetime vector as announced in release 0.12.8 one year ago
3305
3306 2017-10-03 Dirk Eddelbuettel <[email protected]>
3307
3308 * inst/include/Rcpp/iostream/Rstreambuf.h: White-space edits
3309
3310 2017-10-02 Kirill Müller <[email protected]>
3311
3312 * inst/include/Rcpp/iostream/Rstreambuf.h: Embed buffer class instance
3313 in Rostream to not require run-time allocation, and please Coverity
3314
3315 2017-09-29 Dirk Eddelbuettel <[email protected]>
3316
3317 * DESCRIPTION (Version, Date): Roll minor version
3318
3319 * DESCRIPTION (Description): Add <doi:...> per suggestion by CRAN
3320
3321 * inst/CITATION: Add PeerJ article, add doi info, reindent
3322
3323 2017-09-26 Daniel C. Dillon <[email protected]>
3324
3325 * inst/include/Rcpp/vector/MatrixRow.h: Added cbegin() / cend() to
3326 MatrixRow, and fixing return types
3327 * inst/include/Rcpp/vector/VectorBase.h: Ditto
3328
3329 2017-09-24 Dirk Eddelbuettel <[email protected]>
3330
3331 * DESCRIPTION: Release 0.12.13
3332 * inst/NEWS.Rd: Release 0.12.13
3333 * inst/bib/Rcpp.bib: Release 0.12.13
3334 * inst/include/Rcpp/config.h: Release 0.12.13
3335
3336 2017-09-23 Dirk Eddelbuettel <[email protected]>
3337
3338 * inst/bib/Rcpp.bib: Updated references
3339 * viignettes/Rcpp.bib: Idem
3340
3341 2017-09-21 Dirk Eddelbuettel <[email protected]>
3342
3343 * DESCRIPTION (Version, Date): Roll minor version
3344
3345 * vignettes/Rcpp-FAQ.Rmd (Rcpp): Add entry for 'symbols not found' error
3346 requiring two runs of compileAttributes
3347
3348 2017-09-20 James J Balamuta <[email protected]>
3349
3350 * vignettes/rcpp-docs.cls: Removed
3351
3352 2017-09-20 Dirk Eddelbuettel <[email protected]>
3353
3354 * vignettes/Rcpp-FAQ.Rmd: Modified formatting and cleaned a bit more.
3355 * vignettes/Rcpp-sugar.Rmd: Idem
3356 * vignettes/Rcpp-introduction.Rmd: Added new PeerJ preprint
3357
3358 2017-09-19 James J Balamuta <[email protected]>
3359
3360 * vignettes/Rcpp-FAQ.Rmd: Formatted and cleaned up vignette.
3361 * vignettes/Rcpp-sugar.Rmd: Idem
3362
3363 2017-09-19 Dirk Eddelbuettel <[email protected]>
3364
3365 * vignettes/Rcpp-attributes.Rmd: Formatted and cleaned up vignette.
3366 * vignettes/Rcpp-extending.Rmd: Idem
3367 * vignettes/Rcpp-modules.Rmd: Idem
3368 * vignettes/Rcpp-package.Rmd: Idem
3369 * vignettes/Rcpp-quickref.Rmd: Idem
3370
3371 2017-09-18 James J Balamuta <[email protected]>
3372
3373 * DESCRIPTION (Suggests): Added rmarkdown, knitr, and pinp dependencies
3374 * .travis.yml: idem
3375 * vignettes/Rcpp-quickref.Rmd: Translated vignette from highlight/sweave
3376 to RMarkdown for use with the pinp template.
3377 * vignettes/Rcpp-sugar.Rmd: Idem
3378 * vignettes/Rcpp-package.Rmd: Idem
3379 * vignettes/Rcpp-modules.Rmd: Idem
3380 * vignettes/Rcpp-FAQ.Rmd: Idem
3381 * vignettes/Rcpp-extending.Rmd: Idem
3382 * vignettes/Rcpp-attributes.Rmd: Idem
3383
3384 2017-09-18 Daniel C. Dillon <[email protected]>
3385
3386 * inst/include/Rcpp/vector/MatrixRow.h: Added cbegin() and cend() to
3387 the class along with a framework for proper const-correctness in the
3388 future.
3389
3390 2017-09-03 Dirk Eddelbuettel <[email protected]>
3391
3392 * DESCRIPTION (Version, Date): Roll minor version
3393
3394 2017-09-02 James J Balamuta <[email protected]>
3395
3396 * inst/include/Rcpp/vector/VectorBase.h: Defined both iterator AND
3397 const_iterator for future considerations. Currently, as before, only
3398 const_iterator is available (though it used to be called iterator).
3399 Added cbegin() and cend() functions. We should revisit whether there
3400 should be a non-const iterator on VectorBase in the future.
3401
3402 * inst/include/Rcpp/vector/Matrix.h: Added cbegin() and cend()
3403 functions. Iterator defintions inherited from Vector are appropriate.
3404
3405 * inst/include/Rcpp/vector/MatrixColumn.h: Added cbegin() and cend()
3406 functions. Iterator definitions inherited from Vector are appropriate
3407 because Matrix is column-major.
3408
3409 * inst/include/Rcpp/vector/Vector.h: Added cbegin() and cend()
3410 functions. Iterators are appropriate minus the problem with the const
3411 proxy class of objects (which may or may not actually be const depending
3412 on which one).
3413
3414 * inst/include/Rcpp/vector/traits.h: Removed (accidentally) some some
3415 trailing whitespace on lines.
3416
3417 2017-09-02 Dirk Eddelbuettel <[email protected]>
3418
3419 * DESCRIPTION (Version): Roll minor version
3420
3421 * vignettes/Rcpp-jss-2011.Rnw: Renamed again from Rcpp-introduction-2011,
3422 added reference to new Rcpp-introduction
3423
3424 * inst/bib/Rcpp.bib: Merged bibliography from new vignette; also added
3425 PeerJ Preprint with new Rcpp Introduction
3426
3427 2017-09-01 Dirk Eddelbuettel <[email protected]>
3428
3429 * vignettes/Rcpp-introduction.Rnw: New introductory vignette from PeerJ
3430 preprints but typeset 'more nicely'
3431
3432 * vignettes/rcpp-docs.cls: New LaTeX style file derived from pnas-new
3433 and its supporting files
3434
3435 * vignettes/figures/: Three support figures for new vignette
3436 * vignettes/intro2Rcpp.bib: New bibliography
3437
3438 * vignettes/Rcpp-introduction-2011.Rnw: Renamed from from Rcpp-introduction
3439
3440 2017-08-26 Dirk Eddelbuettel <[email protected]>
3441
3442 * .travis.yml (before_install): Use https for curl fetch
3443
3444 2017-08-14 James J Balamuta <[email protected]>
3445
3446 * vignettes/Rcpp-FAQ.Rnw: Sunset macOS documentation dealing with
3447 toolchains by redirecting to the R Installation and Administration manual
3448 * vignettes/.gitignore: Added various LaTeX build artifacts to ignore.
3449
3450 2017-08-05 Dirk Eddelbuettel <[email protected]>
3451
3452 * DESCRIPTION (Version, Date): Roll minor version and date
3453
3454 * inst/include/Rcpp/XPtr.h: Whitespace only-changes
3455
3456 2017-08-04 Lei Yu <[email protected]>
3457
3458 * inst/include/Rcpp/Module.h: Correct one closing parenthesis
3459
3460 2017-07-13 Dirk Eddelbuettel <[email protected]>
3461
3462 * DESCRIPTION: Release 0.12.12
3463 * inst/NEWS.Rd: Release 0.12.12
3464 * inst/bib/Rcpp.bib: Release 0.12.12
3465 * inst/include/Rcpp/config.h: Release 0.12.12
3466
3467 * README.md: Updated counts for dependents and tests
3468
3469 * debian/*: Changes for Debian release of 0.12.12
3470
3471 2017-07-10 Jeff Pollock <[email protected]>
3472
3473 * inst/include/Rcpp/Module.h: Avoid unused variable warning
3474 * inst/include/Rcpp/Module_generated_Constructor.h: Ditto
3475
3476 2017-07-09 Dirk Eddelbuettel <[email protected]>
3477
3478 * DESCRIPTION (Version, Date): Roll minor version
3479 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Ditto
3480
3481 * inst/NEWS.Rd: Added missing entries
3482
3483 2017-07-08 Kirill Müller <[email protected]>
3484
3485 * inst/include/Rcpp/vector/no_init.h: Accept R_xlen_t instead of int
3486
3487 * inst/include/Rcpp/internal/wrap.h: Use R_xlen_t not int in loop unroll
3488 * inst/include/Rcpp/macros/unroll.h: Ditto
3489 * inst/include/Rcpp/vector/Vector.h: Ditto
3490
3491 2017-07-05 Dirk Eddelbuettel <[email protected]>
3492
3493 * DESCRIPTION (Version, Date): Roll minor version
3494 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Ditto
3495
3496 2017-07-02 JJ Allaire <[email protected]>
3497
3498 * src/attributes.cpp: Generate C++ native routines with underscore
3499 prefix to avoid export when standard exportPattern is used in NAMESPACE
3500
3501 2017-06-29 JJ Allaire <[email protected]>
3502
3503 * src/attributes.cpp: Replace dot (".") with underscore ("_") in package
3504 names when generating native routine registrations.
3505
3506 2017-06-27 Jeroen Ooms <[email protected]>
3507
3508 * inst/include/RcppCommon.h: Support attribute_visible macro
3509
3510 2017-06-17 Kirill Müller <[email protected]>
3511
3512 * inst/include/Rcpp/Dimension.h: Explicit cast to int
3513
3514 * inst/include/Rcpp/exceptions.h: Don't declare unused arguments
3515 * src/attributes.cpp: Ditto
3516
3517 2017-06-14 JJ Allaire <[email protected]>
3518
3519 * src/attributes.cpp: Add Shield around parameters in Rcpp::interfaces
3520
3521 2017-06-07 Dirk Eddelbuettel <[email protected]>
3522
3523 * README.md: Use alternates for img.shields.io GPL-2+ badges
3524
3525 2017-06-06 Yu Gong <[email protected]>
3526
3527 * src/api.cpp: Also permit compilation under Haiku-OS
3528
3529 2017-06-04 Dirk Eddelbuettel <[email protected]>
3530
3531 * DESCRIPTION (Version, Date): Roll minor version
3532
3533 * man/Rcpp.plugin.maker.Rd: Update manual page to additional Imports
3534 argument
3535
3536 2017-06-02 JJ Allaire <[email protected]>
3537
3538 * src/attributes.cpp: Automatically register init functions for
3539 RcppModules
3540 * R/Rcpp.package.skeleton.R: compileAttributes only after all code is
3541 generated
3542
3543 2017-06-01 JJ Allaire <[email protected]>
3544
3545 * src/attributes.cpp: Fix registration for exports with name attribute.
3546
3547 2017-05-30 Dirk Eddelbuettel <[email protected]>
3548
3549 * inst/include/Rcpp/utils/tinyformat.h: Added missing newline
3550
3551 2017-05-23 JJ Allaire <[email protected]>
3552
3553 * R/Attributes.R: Execute tools::package_native_routine_registration_skeleton
3554 within package rather than current working directory.
3555 * src/attributes.cpp: Execute tools::package_native_routine_registration_skeleton
3556 within package rather than current working directory.
3557
3558 2017-05-22 Dirk Eddelbuettel <[email protected]>
3559
3560 * R/inline.R (Rcpp.plugin.maker): Whitespace changes
3561
3562 2017-05-20 Dirk Eddelbuettel <[email protected]>
3563
3564 * DESCRIPTION: Release 0.12.11
3565 * inst/NEWS.Rd: Release 0.12.11
3566 * inst/bib/Rcpp.bib: Release 0.12.11
3567 * inst/include/Rcpp/config.h: Release 0.12.11
3568
3569 * README.md: Updated counts for dependents and tests
3570
3571 * debian/*: Changes for Debian release of 0.12.10
3572
3573 2017-05-19 Dirk Eddelbuettel <[email protected]>
3574
3575 * inst/NEWS.Rd: Removed one duplicate entry
3576 * inst/include/Rcpp/api/meat/Rcpp_eval.h (Rcpp): Minor whitespace changes
3577
3578 2017-05-18 Dirk Eddelbuettel <[email protected]>
3579
3580 * DESCRIPTION (Version, Date): Roll Date and Version once more
3581 * inst/NEWS.Rd: Updated
3582
3583 * R/Attributes.R (.plugins[["openmp"]]): Fix typo in comment
3584
3585 * src/attributes.cpp (Rcpp): Use size_t (twice) to suppress nags from g++
3586
3587 2017-05-16 JJ Allaire <[email protected]>
3588
3589 * R/Attributes.R: Automatically generate native routine registrations.
3590 * src/attributes.cpp: Automatically generate native routine registrations.
3591 * R/Rcpp.package.skeleton.R: Don't generate native routines when creating
3592 a package using attributes.
3593
3594 2017-05-09 Dirk Eddelbuettel <[email protected]>
3595
3596 * R/Rcpp.package.skeleton.R (Rcpp.package.skeleton): Under R 3.4.0, run
3597 tools::package_native_routine_registration_skeleton to create src/init.c
3598
3599 2017-05-07 Dirk Eddelbuettel <[email protected]>
3600
3601 * DESCRIPTION (Version, Date): Roll minor version again
3602
3603 * inst/include/Rcpp/module/Module_Property.h: Remove two typed exception
3604 specifications which upset g++ 7.1 or higher
3605
3606 2017-05-05 Kirill Müller <[email protected]>
3607
3608 * inst/include/Rcpp/date_datetime/Date.h: Suppress -Wconversion warnings
3609 * inst/include/Rcpp/date_datetime/Datetime.h: Idem
3610 * inst/include/Rcpp/date_datetime/newDateVector.h: Idem
3611 * inst/include/Rcpp/date_datetime/newDatetimeVector.h: Idem
3612 * inst/include/Rcpp/sugar/functions/rowSums.h: Idem
3613 * inst/include/Rcpp/sugar/functions/sample.h: Idem
3614 * inst/include/Rcpp/sugar/functions/strings/trimws.h: Idem
3615
3616 2017-04-26 Dirk Eddelbuettel <[email protected]>
3617
3618 * inst/include/Rcpp/exceptions.h (string_to_try_error): Protect result
3619 from Rf_mkString
3620
3621 2017-04-25 Dirk Eddelbuettel <[email protected]>
3622
3623 * R/Attributes.R (.plugins[["cpp11"]]): If R 3.4.0 or newer is used, set
3624 USE_CXX11 (instead of the older USE_CXX1X);
3625 (.plugins[["cpp14"]]): similarly updated for C++14
3626 (.plugins[["cpp17"]]): similarly updated for C++17
3627 (.plugins[["cpp98"]]): added
3628
3629 2017-04-22 Nathan Russell <[email protected]>
3630
3631 * inst/include/Rcpp/sugar/functions/strings/trimws.h: Added sugar
3632 function trimws with unit tests
3633 * inst/include/Rcpp/sugar/functions/strings/strings.h: Idem
3634 * inst/unitTests/cpp/sugar.cpp: Idem
3635 * inst/unitTests/runit.sugar.R: Idem
3636
3637 2017-04-20 Dirk Eddelbuettel <[email protected]>
3638
3639 * DESCRIPTION (Version, Date): Roll minor version
3640 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem
3641
3642 * inst/include/Rcpp/exceptions/cpp98/exceptions.h
3643 (RCPP_ADVANCED_EXCEPTION_CLASS): Suppressing some warnings
3644
3645 2017-04-20 James J Balamuta <[email protected]>
3646
3647 * inst/include/Rcpp/api/meat/DottedPairImpl.h: Corrected format
3648 specifier from '%s' to '%i'.
3649
3650 2017-04-18 James J Balamuta <[email protected]>
3651
3652 * inst/include/Rcpp/vector/Matrix.h: Corrected exception throws from
3653 not_compatible to not_a_matrix.
3654 * inst/include/Rcpp/S4.h: Fixed documentation detailing exception class
3655 throw.
3656 * inst/include/Rcpp/Environment.h: Improved error handling messages
3657 * inst/include/Rcpp/Function.h: idem
3658 * inst/include/Rcpp/Promise.h: idem
3659 * inst/include/Rcpp/String.h: idem
3660 * inst/include/Rcpp/Symbol.h: idem
3661 * inst/include/Rcpp/XPtr.h: idem
3662 * inst/include/Rcpp/as.h: idem
3663 * inst/include/Rcpp/r_cast.h: idem
3664 * inst/include/Rcpp/api/meat/DottedPairImpl.h: idem
3665 * inst/include/Rcpp/internal/export.h: idem
3666 * inst/include/Rcpp/proxy/DottedPairProxy.h: idem
3667 * inst/include/Rcpp/proxy/SlotProxy.h: idem
3668 * inst/include/Rcpp/vector/MatrixColumn.h: idem
3669 * inst/include/Rcpp/vector/MatrixRow.h: idem
3670 * inst/include/Rcpp/vector/Vector.h: idem
3671
3672 2017-04-17 James J Balamuta <[email protected]>
3673
3674 * inst/include/Rcpp/Rcpp/exceptions/cpp11/exceptions.h: Removed
3675 semicolons from RCPP_ADVANCED_EXCEPTION_CLASS to quiet 'extra ;'
3676 -Wpedantic
3677 * inst/include/Rcpp/exceptions.h: Modified exceptions macros to support
3678 a default string and removed generated stop, warning from file.
3679 * inst/include/Rcpp/Rcpp/exceptions/cpp98/exceptions.h: Contains
3680 generated RCPP_ADVANCED_EXCEPTION_CLASS macro, stop & warning.
3681 * inst/include/Rcpp/Rcpp/exceptions/cpp11/exceptions.h: idem but
3682 for variadic versions.
3683 * inst/include/Rcpp/utils/tinyformat.h: Enabled ability to use variadic
3684 tinyformat function if c++11 is detected.
3685
3686 2017-04-14 James J Balamuta <[email protected]>
3687
3688 * inst/include/Rcpp/utils/tinyformat.h: Refreshed tinyformat.h against
3689 May 13, 2016 upstream, retained local mods.
3690
3691 2017-04-14 Kirill Müller <[email protected]>
3692
3693 * inst/include/Rcpp/macros/macros.h: Remove unused variable warning in
3694 BEGIN_RCPP macro
3695
3696 * inst/include/Rcpp/DataFrame.h: Explicitly call parent constructor
3697
3698 * inst/include/Rcpp/sugar/functions/rep.h: Remove variable name in
3699 function declaration to suppress unused argument warning
3700 * src/Rcpp_init.cpp: Ditto
3701 * src/attributes.cpp: Ditto
3702
3703 2017-04-11 Dirk Eddelbuettel <[email protected]>
3704
3705 * inst/inst/unitTests/testRcppClass/src/init.c (R_init_testRcppClass): Call
3706 R_registerRoutines() and R_useDynamicSymbols(); also ensure
3707 _rcpp_module_boot_* is registered for each module
3708 * inst/unitTests/testRcppClass/NAMESPACE: Added registration
3709
3710 * inst/unitTests/testRcppClass/DESCRIPTION (Title): Title case
3711
3712 * inst/unitTests/testRcppClass/R/rcpp_hello_world.R (rcpp_hello_world):
3713 Call the renamed C++ function
3714 * inst/unitTests/testRcppClass/src/rcpp_hello_world.cpp (rcpp_hello_world_cpp):
3715 Renamed C++ function to be distinct from R function calling it
3716 * inst/unitTests/testRcppClass/src/rcpp_hello_world.h: Ditto
3717 * inst/unitTests/testRcppClass/man/rcpp_hello_world.Rd: Alias renamed
3718 C++ function
3719
3720 2017-04-09 Dirk Eddelbuettel <[email protected]>
3721
3722 * inst/unitTests/testRcppModule/src/init.c (R_init_testRcppModule): Call
3723 R_registerRoutines() and R_useDynamicSymbols(); also ensure
3724 _rcpp_module_boot_* is registered for each module
3725 * inst/unitTests/testRcppModule/NAMESPACE: Added registration
3726
3727 * inst/unitTests/testRcppModule/DESCRIPTION (Title): Title case
3728
3729 * inst/unitTests/testRcppModule/R/rcpp_hello_world.R (rcpp_hello_world):
3730 Call the renamed C++ function
3731 * inst/unitTests/testRcppModule/src/rcpp_hello_world.cpp (rcpp_hello_world_cpp):
3732 Renamed C++ function to be distinct from R function calling it
3733 * inst/unitTests/testRcppModule/src/rcpp_hello_world.h: Ditto
3734 * inst/unitTests/testRcppModule/man/rcpp_hello_world.Rd: Alias renamed
3735 C++ function
3736
3737 * inst/unitTests/testRcppModule/man/Rcpp_modules_examples.Rd: Alias
3738 renamed modules
3739 * inst/unitTests/testRcppModule/tests/modules.R: Call renamed module
3740
3741 2017-04-03 Jim Hester <[email protected]>
3742
3743 * inst/include/Rcpp/exceptions.h: Added support for throwing
3744 exceptions without call stacks.
3745 * inst/include/Rcpp/macros/macros.h: Idem
3746 * inst/unitTests/cpp/exceptions.cpp: Idem
3747 * inst/unitTests/runit.exceptions.R: Idem
3748
3749 2017-03-28 James J Balamuta <[email protected]>
3750
3751 * inst/vignettes/Rcpp-FAQ.Rnw: Added "Known Issues" section to FAQ
3752
3753 2017-03-25 Dirk Eddelbuettel <[email protected]>
3754
3755 * LICENSE: Added
3756 * .Rbuildignore: Do not include LICENSE in package
3757
3758 2017-03-17 Dirk Eddelbuettel <[email protected]>
3759
3760 * DESCRIPTION: Release 0.12.10
3761 * inst/NEWS.Rd: Release 0.12.10
3762 * inst/bib/Rcpp.bib: Release 0.12.10
3763 * inst/include/Rcpp/config.h: Release 0.12.10
3764
3765 * README.md: Updated counts for dependents and tests
3766
3767 * debian/*: Changes for Debian release of 0.12.10
3768
3769 2017-03-15 Jeroen Ooms <[email protected]>
3770
3771 * inst/include/Rcpp/XPtr.h: added finalizeOnExit parameter
3772
3773 2017-02-28 Dirk Eddelbuettel <[email protected]>
3774
3775 * src/Rcpp_init.cpp (R_init_Rcpp): Call R_useDynamicSymbols()
3776
3777 * DESCRIPTION (Version, Date): New minor version
3778
3779 2017-02-25 Dirk Eddelbuettel <[email protected]>
3780
3781 * vignettes/Rcpp-FAQ.Rnw: New subsection on C++11, C++14, C++17
3782
3783 2017-02-17 Dirk Eddelbuettel <[email protected]>
3784
3785 * R/tools.R: More #nocov
3786 * inst/include/Rcpp/internal/r_vector.h: Idem
3787
3788 2017-02-15 Dirk Eddelbuettel <[email protected]>
3789
3790 * DESCRIPTION (Version, Date): New minor version
3791
3792 2017-02-14 Iñaki Ucar <[email protected]>
3793
3794 * inst/include/Rcpp/iostream/Rstreambuf.h: Fixed single-character handling
3795 (pull request #649, fixes issue #647)
3796
3797 2017-02-13 Dirk Eddelbuettel <[email protected]>
3798
3799 * R/Attributes.R (.plugins[["cpp17"]]): New plugin
3800 (.plugins[["cpp1z"]]): Idem
3801
3802 2017-02-04 Daniel C. Dillon <[email protected]>
3803
3804 * inst/include/Rcpp/algorithm.h: Improved setup for Intel's icc
3805
3806 2017-01-31 Dirk Eddelbuettel <[email protected]>
3807
3808 * DESCRIPTION (Date, Version): Roll minor version
3809
3810 * inst/include/Rcpp/algorithm.h: Allow algorithm.h to be compiler under
3811 Intel's compiler, add copyright header and include guard
3812
3813 2017-01-31 Nathan Russell <[email protected]>
3814
3815 * inst/include/Rcpp/sugar/matrix/upper_tri.h: Inherit from MatrixBase
3816 and use correct comparators in get() to fix segfault
3817 * inst/include/Rcpp/sugar/matrix/lower_tri.h: Idem
3818 * inst/unitTests/cpp/sugar.cpp: Added unit tests for upper_tri and
3819 lower_tri
3820 * inst/unitTests/runit.sugar.R: Idem
3821
3822 2017-01-23 James J Balamuta <[email protected]>
3823
3824 * inst/include/Rcpp/DataFrame.h: Corrected return type for column size.
3825
3826 2017-01-22 Dirk Eddelbuettel <[email protected]>
3827
3828 * inst/include/Rcpp/DataFrame.h: Simplified and removed deprecation language.
3829
3830 2017-01-21 James J Balamuta <[email protected]>
3831
3832 * inst/include/Rcpp/DataFrame.h: Added alias for column and row size
3833 * inst/unitTests/runit.DataFrame.R: Added unit tests for aliases
3834 * inst/unitTests/cpp/DataFrame.cpp: Idem
3835
3836 2017-01-17 Dirk Eddelbuettel <[email protected]>
3837
3838 * DESCRIPTION (Version, Date): Roll minor version and Date
3839
3840 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Roll minor
3841
3842 * src/Date.cpp (Rcpp): Do not access tm_gmtoff on Solaris
3843
3844 2017-01-14 Dirk Eddelbuettel <[email protected]>
3845
3846 * DESCRIPTION: Release 0.12.9
3847 * inst/NEWS.Rd: Release 0.12.9
3848 * inst/bib/Rcpp.bib: Release 0.12.9
3849 * inst/include/Rcpp/config.h: Release 0.12.9
3850
3851 * README.md: Updated counts for dependents and tests
3852
3853 * debian/*: Changes for Debian release of 0.12.9
3854
3855 2017-01-13 Dirk Eddelbuettel <[email protected]>
3856
3857 * inst/include/Rcpp/exceptions.h: Added more #nocov tags
3858 * inst/include/Rcpp/api/bones/wrap_extra_steps.h: Idem
3859 * inst/include/Rcpp/iostream/Rstreambuf.h: Idem
3860 * inst/include/Rcpp/traits/named_object.h: Idem
3861 * inst/include/Rcpp/r_cast.h: Idem
3862 * src/Module.cpp: Idem
3863
3864 2017-01-12 Dirk Eddelbuettel <[email protected]>
3865
3866 * inst/bib/Rcpp.bib: Moved from vignettes/ directory
3867 * R/bib.R (bib): Idem
3868
3869 * vignettes/Rcpp-FAQ.Rnw: Evaluate \Sexpr{Rcpp:::bib()}
3870 * vignettes/Rcpp-attributes.Rnw: Idem
3871 * vignettes/Rcpp-extending.Rnw: Idem
3872 * vignettes/Rcpp-introduction.Rnw: Idem
3873 * vignettes/Rcpp-modules.Rnw: Idem
3874 * vignettes/Rcpp-packages.Rnw: Idem
3875 * vignettes/Rcpp-sugar.Rnw: Idem
3876
3877 * inst/unitTests/runit.misc.R (test.bib): New test
3878
3879 * R/exceptions.R: Added #nocov
3880
3881 2017-01-11 Dirk Eddelbuettel <[email protected]>
3882
3883 * vignettes/Rcpp.bib: Updated references
3884
3885 * src/attributes.cpp (Rcpp): Correct typos in #nocov tags, added tags
3886
3887 2017-01-07 James J Balamuta <[email protected]>
3888
3889 * inst/include/Rcpp/sugar/functions/complex.h: Added Arg() function
3890 * inst/unitTests/runit.sugar.R: Added Arg() unit test to complex list
3891 * inst/unitTests/cpp/sugar.cpp: Idem
3892
3893 2017-01-06 Dirk Eddelbuettel <[email protected]>
3894
3895 * DESCRIPTION (Version, Date): Mark new minor version
3896
3897 * src/attributes.cpp: Additional nocov tags
3898
3899 2017-01-04 Dirk Eddelbuettel <[email protected]>
3900
3901 * src/Date.cpp (Rcpp): Protect assignment to tm_gmtoff to not being
3902 under MinGW; could potentially bite other too-limited systems
3903
3904 * inst/unitTests/runit.Date.R (test.Datetime.formating): Do not set TZ
3905 when running test, only set digits option
3906
3907 2017-01-01 Dirk Eddelbuettel <[email protected]>
3908
3909 * inst/unitTests/runit.Date.R (test.mktime, test.gmtime): New tests
3910 * inst/unitTests/cpp/dates.cpp (test_mktime, test_gmtime): Idem
3911
3912 2016-12-31 Dirk Eddelbuettel <[email protected]>
3913
3914 * inst/include/Rcpp/vector/Matrix.h: Minor simplification
3915
3916 2016-12-31 James J Balamuta <[email protected]>
3917
3918 * inst/include/Rcpp/vector/Matrix.h: Fixed non-symmetric case of matrix
3919 fills by switching to a loop based solution from iterator.
3920 * inst/unitTests/runit.Matrix.R: Added unit tests for diagonally
3921 filling matrices.
3922 * inst/unitTests/cpp/Matrix.cpp: Idem
3923
3924 2016-12-30 Dirk Eddelbuettel <[email protected]>
3925
3926 * src/Date.cpp: Synchronized internal code with R
3927
3928 * inst/unitTests/cpp/dates.cpp (gmtime_mktime): New test
3929 * inst/unitTests/runit.Date.R (test.mktime_gmtime): Idem
3930
3931 2016-12-26 Dirk Eddelbuettel <[email protected]>
3932
3933 * R/Attributes.R: Added #nocov markers
3934 * R/Module.R: Idem
3935 * R/exposeClass.R: Idem, added copyright header
3936
3937 2016-12-25 Dirk Eddelbuettel <[email protected]>
3938
3939 * DESCRIPTION (Date, Version): Roll minor version
3940
3941 * src/api.cpp: Added #nocov markers
3942 * src/Rcpp_init.cpp: Idem
3943 * src/Date.cpp: Date
3944
3945 2016-12-14 Nathan Russell <[email protected]>
3946
3947 * inst/include/Rcpp/sugar/functions/sample.h: Use vector instead of
3948 manual memory management.
3949
3950 2016-12-13 Nathan Russell <[email protected]>
3951
3952 * inst/include/Rcpp/sugar/functions/sample.h: Use malloc.h instead of
3953 alloca.h when building on Windows
3954 * inst/include/Rcpp/date_datetime/Date.h: Include time.h when building
3955 on Windows
3956 * inst/include/Rcpp/date_datetime/Datetime.h: Idem
3957
3958 2016-12-12 Dirk Eddelbuettel <[email protected]>
3959
3960 * inst/include/Rcpp/sugar/functions/sample.h: In case sample.h from the
3961 RcppArmadillo extensions was included, skip this file
3962
3963 2016-12-10 Nathan Russell <[email protected]>
3964
3965 * inst/include/Rcpp/sugar/functions/sample.h: New function
3966 sample()
3967 * inst/include/Rcpp/sugar/functions/functions.h: Idem
3968 * inst/unitTests/cpp/sugar.cpp: Unit tests for sample()
3969 * inst/unitTests/runit.sugar.R: Idem
3970
3971 2016-12-10 Dirk Eddelbuettel <[email protected]>
3972
3973 * R/loadRcppModules.R: Added #nocov tags
3974 * R/loadModule.R: Ditto
3975
3976 * R/unit.tests.R (test): Adjusted one #nocov tag
3977
3978 2016-12-09 Dirk Eddelbuettel <[email protected]>
3979
3980 * R/00_classes.R: Added #nocov tags
3981 * R/01_show.R: Ditto
3982 * R/02_completion.R: Ditto
3983 * R/03_prompt.R: Ditto
3984
3985 2016-12-07 Dirk Eddelbuettel <[email protected]>
3986
3987 * inst/include/Rcpp/vector/Matrix.h: Add 'using ...' to disambiguate size()
3988
3989 2016-12-04 Dirk Eddelbuettel <[email protected]>
3990
3991 * .codecov.yml (comment): Enable more verbose codecov.io reports
3992
3993 2016-12-03 Dirk Eddelbuettel <[email protected]>
3994
3995 * inst/unitTests/cpp/dates.cpp (Datetime_format): Additional ostream tests
3996 * inst/unitTests/runit.Date.R (test.Date.formating): Ditto
3997
3998 * inst/unitTests/runit.system.R (test.RcppCxx): New tests
3999
4000 * R/RcppLdpath.R (canUseCXX0X): Simplified as we can now rely on more
4001 modern compilers; underlying C++ code has not been present for a while
4002
4003 * R/compilerCheck.R (compilerCheck): Added some #nocov tags
4004 * R/unit.tests.R (test, gctortureRUnitTest): Ditto
4005 * R/zzz.R (.onLoad): Ditto
4006
4007 2016-11-29 Dirk Eddelbuettel <[email protected]>
4008
4009 * DESCRIPTION (Version, Date): Roll minor version to 0.12.8.2
4010
4011 2016-11-28 Dirk Eddelbuettel <[email protected]>
4012
4013 * inst/unitTests/cpp/dates.cpp (Date_format, Datetime_format): New tests
4014 * inst/unitTests/runit.Date.R (test.Date.formating): Ditto
4015 (test.Datetime.formating): Ditto
4016
4017 * inst/unitTests/runit.sugar.R (test.intersect): Added sort() around
4018 call to Sugar's intersect to ensure sorted output with g++-6.*
4019
4020 2016-11-27 Dirk Eddelbuettel <[email protected]>
4021
4022 * inst/include/Rcpp/date_datetime/Date.h (format, operator<<): Added
4023 * inst/include/Rcpp/date_datetime/Datetime.h (format, operator<<): Ditto
4024 * inst/include/Rcpp/date_datetime/newDateVector.h (operator<<): Ditto
4025 * inst/include/Rcpp/date_datetime/newDatetimeVector.h (operator<<): Ditto
4026
4027 2016-11-23 Dirk Eddelbuettel <[email protected]>
4028
4029 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Set minor version
4030
4031 2016-11-22 Dirk Eddelbuettel <[email protected]>
4032
4033 * DESCRIPTION (Date, Version): Roll minor version
4034
4035 * inst/include/Rcpp/date_datetime/newDatetimeVector.h (Rcpp): Small
4036 correction concerning timezone attribute to ctor from RTYPE
4037
4038 2016-11-22 Jim Hester <[email protected]>
4039
4040 * inst/src/api.cpp: Cleanup to stack message parseing
4041 * inst/unitTests/cpp/exceptions.cpp: Unit tests for cleanup
4042 * inst/unitTests/runit.exceptions.R: Ditto
4043
4044 2016-11-19 James J Balamuta <[email protected]>
4045
4046 * inst/unitTests/runit.environments.R: Added environment find unit tests
4047 as well as a symbol access test for environment get.
4048 * inst/unitTests/cpp/Environment.cpp: Idem
4049
4050 2016-11-18 James J Balamuta <[email protected]>
4051
4052 * vignettes/Rcpp-extending: Switched to attributes and
4053 added external class pointer macro notes by MathurinD
4054
4055 2016-11-16 Dirk Eddelbuettel <[email protected]>
4056
4057 * DESCRIPTION: Release 0.12.8
4058 * inst/NEWS.Rd: Release 0.12.8
4059 * vignettes/Rcpp.bib: Release 0.12.8
4060 * inst/include/Rcpp/config.h: Release 0.12.8
4061
4062 * README.md: Updated counts for dependents and tests
4063
4064 * debian/*: Changes for Debian release of 0.12.8
4065
4066 2016-11-15 Dirk Eddelbuettel <[email protected]>
4067
4068 * DESCRIPTION: Nathan Russell added to Authors
4069
4070 2016-11-14 Jim Hester <[email protected]>
4071
4072 * inst/include/Rcpp/exceptions.h: Improved exception call stack
4073 * inst/include/Rcpp/routines.h: Ditto
4074 * inst/src/api.cpp: Ditto
4075
4076 * R/exections.R: Print and format method for stack straces
4077
4078 * inst/unitTests/runit.exceptions.R: Unit tests
4079 * inst/unitTests/cpp/exceptions.cpp: Ditto
4080
4081 2016-11-13 Dirk Eddelbuettel <[email protected]>
4082
4083 * R/Attributes.R (mergeIntoBuildEnv): Correct 'empty' return
4084
4085 2016-11-10 Dirk Eddelbuettel <[email protected]>
4086
4087 * inst/include/Rcpp/date_datetime/newDateVector.h: Added constructor
4088 using VectorBase<>
4089
4090 2016-11-05 Daniel C. Dillon <[email protected]>
4091
4092 * inst/include/Rcpp/date_datetime/newDatetimeVector.h: Added constructor
4093 to instantiate newDatetimeVector from VectorBase.
4094
4095 2016-11-04 Nathan Russell <[email protected]>
4096
4097 * inst/include/Rcpp/macros/dispatch.h: Modify variadic macros
4098 to not use GNU extensions
4099 * DESCRIPTION: roll minor version
4100
4101 2016-11-03 Nathan Russell <[email protected]>
4102
4103 * inst/include/Rcpp/hash/IndexHash.h: Add casts to eliminate
4104 signed / unsigned comparison warning
4105 * inst/include/Rcpp/hash/SelfHash.h: Idem
4106 * inst/unitTests/cpp/sugar.cpp: Added unit tests for sugar function
4107 unique()
4108 * inst/unitTests/runit.sugar.R: Idem
4109
4110 2016-10-30 Dirk Eddelbuettel <[email protected]>
4111
4112 * src/api.cpp: New capabilities field for new date(time) vectors
4113 * inst/unitTests/runit.Date.R (test.DatetimeVector.ctor): Differentiate
4114 in test as case of 'Inf' is handling differently by new and old datetime
4115 classes (and passed through as is by new ones which is better)
4116 * inst/unitTests/runit.InternalFunctionCPP11.R: Small cosmetic edit
4117
4118 2016-10-24 Qiang Kou <[email protected]>
4119
4120 * inst/include/Rcpp/sugar/Range.h : fix range sugar ambiguity
4121 * inst/unitTests/cpp/sugar.cpp: range sugar unit test
4122 * inst/unitTests/runit.sugar.R: range sugar unit test
4123
4124 2016-10-24 Nathan Russell <[email protected]>
4125
4126 * inst/include/Rcpp/vector/MatrixBase.h: Change sugar
4127 functions eye(), ones(), and zeros() into static methods
4128 in MatrixBase
4129 * inst/include/Rcpp/traits/one_type.h: Idem
4130 * inst/include/Rcpp/traits/traits.h: Idem
4131 * inst/unitTests/cpp/Matrix.cpp: Idem
4132 * inst/unitTests/runit.Matrix.R: Idem
4133
4134 2016-10-24 Qiang Kou <[email protected]>
4135
4136 * inst/include/Rcpp/sugar/Range.h: Range sugar uses R_xlen_t as start/end type
4137
4138 2016-10-23 Nathan Russell <[email protected]>
4139
4140 * inst/include/Rcpp/sugar/matrix/eye.h: New functions
4141 eye(), ones(), and zeros()
4142 * inst/include/Rcpp/sugar/matrix/matrix_functions.h: Idem
4143 * inst/unitTests/cpp/sugar.cpp: Unit tests for new functions
4144 * inst/unitTests/runit.sugar.R: Idem
4145 * inst/unitTests/runit.dispatch.R (test.ExpressionVector): Use
4146 expression rather than parse, correct typo
4147
4148 2016-10-22 Qiang Kou <[email protected]>
4149
4150 * inst/include/Rcpp/hash/IndexHash.h: change hashing function to return unsigned int
4151 * inst/include/Rcpp/hash/SelfHash.h: Ditto
4152
4153 2016-10-21 Qiang Kou <[email protected]>
4154
4155 * inst/include/Rcpp/barrier.h: Change string_elt/vector_elt to accept R_xlen_t
4156 * inst/include/Rcpp/routines.h: Ditto
4157 * src/barrier.cpp: Ditto
4158
4159 2016-10-19 Dirk Eddelbuettel <[email protected]>
4160
4161 * inst/include/Rcpp/date_datetime/Datetime.h (Rcpp): Additional
4162 operator+ for int argument
4163
4164 2016-10-18 Dirk Eddelbuettel <[email protected]>
4165
4166 * inst/include/Rcpp/date_datetime/Date.h (Rcpp): Add operator double()
4167 * inst/include/Rcpp/date_datetime/Datetime.h (Rcpp): Ditto
4168
4169 2016-10-17 Dirk Eddelbuettel <[email protected]>
4170
4171 * inst/include/Rcpp/date_datetime/newDatetimeVector.h (Rcpp): Allow
4172 setting of timezone attribute; default not-set leads to local as in R
4173
4174 2016-10-16 Dirk Eddelbuettel <[email protected]>
4175
4176 * inst/include/Rcpp.h (RCPP_NEW_DATE_DATETIME_VECTORS): Add a new
4177 compile-time #define to switch between 'old' (existing) and 'new'
4178 DateVector and DatimeVector classes. Currently uses 'new' for testing
4179 plan to switch to proper deprecation schedule.
4180
4181 * inst/include/Rcpp/date_datetime/date_datetime.h: New header file (and
4182 directory) regrouping all Date and Datetime headers, scalar and vector
4183
4184 * inst/include/Rcpp/date_datetime/Date.h: Moved one directory down
4185 * inst/include/Rcpp/date_datetime/Datetime.h: Ditto
4186 * inst/include/Rcpp/date_datetime/oldDateVector.h: Moved and renamed
4187 * inst/include/Rcpp/date_datetime/oldDatetimeVector.h: Ditto
4188
4189 * inst/include/Rcpp/date_datetime/newDateVector.h: New implementation
4190 inheriting from NumericVector, still optional
4191 * inst/include/Rcpp/date_datetime/newDatetimeVector.h: Ditto
4192
4193 2016-09-05 Dirk Eddelbuettel <[email protected]>
4194
4195 * DESCRIPTION (Version): Roll minor version
4196 * cleanup: Clean two more file type from vignettes/
4197
4198 2016-09-04 Nathan Russell <[email protected]>
4199
4200 * inst/include/Rcpp/sugar/functions/rowSums.h: New functions
4201 rowSums(), colSums(), rowMeans(), and colMeans()
4202 * inst/include/Rcpp/sugar/functions/functions.h: Idem
4203 * inst/unitTests/cpp/sugar.cpp: Unit tests for new functions
4204 * inst/unitTests/runit.sugar.R: Idem
4205
4206 2016-09-04 Dirk Eddelbuettel <[email protected]>
4207
4208 * DESCRIPTION: Release 0.12.7
4209 * inst/NEWS.Rd: Release 0.12.7
4210 * vignettes/Rcpp.bib: Release 0.12.7
4211 * inst/include/Rcpp/config.h: Release 0.12.7
4212
4213 * README.md: Updated counts for dependents and tests
4214
4215 * debian/*: Changes for Debian release of 0.12.7
4216
4217 2016-09-02 Simon Dirmeier <[email protected]>
4218
4219 * src/attributes.cpp: Remove leading underscore in header guard
4220
4221 2016-08-14 James J Balamuta <[email protected]>
4222
4223 * inst/examples/FastLM/lmGSL.R: Updated example to use new GSL templates
4224
4225 2016-08-11 Dirk Eddelbuettel <[email protected]>
4226
4227 * .travis.yml: Switch to using run.sh for Travis CI
4228
4229 2016-08-09 Artem Klevtsov <[email protected]>
4230
4231 * inst/include/Rcpp/macros/dispatch.h: Add variadic conditional macro
4232 when C++11 compiler used
4233 * ints/include/unitTests/cpp/dispatch.cpp: Add unit tests for
4234 RCPP_RETURN_VECTOR and RCPP_RETURN_MATRIX macro
4235 * ints/include/unitTests/runit.dispatch.R: Idem
4236
4237 2016-08-05 James J Balamuta <[email protected]>
4238
4239 * inst/examples/FastLM/fastLMviaArmadillo.r: format fix
4240 * inst/examples/FastLM/lmGSL.R: Updated example to use
4241 Rcpp attributes instead of cxxfunction
4242 * inst/examples/FastLM/lmArmadillo.R: Idem
4243 * inst/examples/functionCallback/newApiExample.r: Idem
4244 * inst/examples/RcppInline/RcppInlineExample.r: Idem
4245 * inst/examples/RcppInline/RcppInlineWithLibsExamples.r: Idem
4246 * inst/examples/RcppInline/UncaughtExceptions.r: Idem
4247 * inst/examples/RcppInline/external_pointer.r: Idem
4248
4249 2016-08-04 James J Balamuta <[email protected]>
4250
4251 * src/attributes.cpp: Correct variable re-declaration
4252 * inst/examples/RcppGibbs/RcppGibbs.R: Updated example to use Rcpp
4253 attributes instead of cxxfunction
4254 * inst/examples/RcppGibbs/timeRNGs.R: Idem
4255
4256 2016-08-03 Dirk Eddelbuettel <[email protected]>
4257
4258 * .gitattributes: Added to have ChangeLog and NEWS.Rd merge via union
4259
4260 2016-08-02 James J Balamuta <[email protected]>
4261
4262 * R/Rcpp.package.skeleton.R: Added autogeneration warning
4263 * src/attributes.cpp: Fixed invalid C++ Identifiers and modified export
4264 header to warn against hand edits
4265 * vignettes/Rcpp-package.Rnw: Updated code generation snippets
4266 * man/Rcpp.package.skeleton.Rd: Add warning on hand edits to the
4267 autogenerated RcppExports files.
4268 * man/compileAttributes.Rd: Idem
4269
4270 2016-08-02 Qiang Kou <[email protected]>
4271
4272 * inst/include/Rcpp/String.h: CE_UTF8 as default encoding
4273 * inst/unitTests/cpp/String.cpp: Update unit test
4274 * inst/unitTests/runit.String.R: Idem
4275
4276 2016-08-01 Nathan Russell <[email protected]>
4277
4278 * inst/include/Rcpp/vector/Vector.h: Added decreasing option for Vector
4279 sort
4280 * inst/include/Rcpp/internal/NAComparator.h: Idem
4281 * inst/unitTests/cpp/Vector.cpp: Idem
4282 * inst/unitTests/runit.Vector.R: Idem
4283
4284 2016-07-31 Qiang Kou <[email protected]>
4285
4286 * inst/examples/SugarPerformance/sugarBenchmarks.R: Remove usage of Rf_eval
4287 * inst/include/Rcpp/Environment.h: Idem
4288 * inst/include/Rcpp/Module.h: Idem
4289 * inst/include/Rcpp/exceptions.h: Idem
4290 * inst/include/Rcpp/proxy/FieldProxy.h: Idem
4291 * inst/include/Rcpp/r_cast.h: Idem
4292 * inst/unitTests/cpp/language.cpp: Idem
4293 * src/barrier.cpp: Idem
4294
4295 2016-07-24 Dirk Eddelbuettel <[email protected]>
4296
4297 * inst/unitTests/cpp/rmath.cpp: Added RNG unit tests for sugar variants
4298 * inst/unitTests/runit.rmath.R: Idem
4299
4300 2016-07-22 James J Balamuta <[email protected]>
4301
4302 * inst/unitTests/cpp/rmath.cpp: Added unit tests for Rmath RNGs
4303 * inst/unitTests/runit.rmath.R: idem
4304 * inst/include/Rcpp/Environment.h: Added get() & find() that accept
4305 a symbol
4306 * inst/include/Rcpp.h: Modified header load order so that Symbol.h
4307 is now placed before Environment.h
4308
4309 2016-07-21 Dirk Eddelbuettel <[email protected]>
4310
4311 * DESCRIPTION (Version): Roll minor release
4312
4313 2016-07-18 Kevin Ushey <[email protected]>
4314
4315 * inst/include/Rcpp/r/headers.h: Ensure NORET macro is set appropriately
4316
4317 2016-07-18 Dirk Eddelbuettel <[email protected]>
4318
4319 * DESCRIPTION: Release 0.12.6
4320 * inst/NEWS.Rd: Release 0.12.6
4321 * vignettes/Rcpp.bib: Release 0.12.6, RProtoBuf updates
4322 * inst/include/Rcpp/config.h: Release 0.12.6
4323
4324 * README.md: Updated counts for dependents and tests
4325
4326 * debian/*: Changes for Debian release of 0.12.5
4327
4328 2016-07-17 James J Balamuta <[email protected]>
4329
4330 * vignettes/Rcpp-quickref.Rnw: Added sections on Rcpp attributes and
4331 plugins. Facelifts on important notes, inline, environments, and calling
4332 R functions.
4333
4334 2016-07-16 Daniel C. Dillon <[email protected]>
4335
4336 * Added a const_interator typedef to VectorBase
4337
4338 2016-07-15 James J Balamuta <[email protected]>
4339
4340 * vignettes/Rcpp-FAQ.Rnw: Added section on default function parameters
4341
4342 2016-07-15 Dirk Eddelbuettel <[email protected]>
4343
4344 * vignettes/Rcpp-FAQ.Rnw: Also point to Rcpp-attributes in Question 1
4345
4346 2016-07-13 Dirk Eddelbuettel <[email protected]>
4347
4348 * NAMESPACE: Add import for glob2rx to please R CMD check
4349 * man/cppFunction.Rd: line break below 90 columns to please R CMD check
4350
4351 2016-07-11 J.J. Allaire <[email protected]>
4352
4353 * R/Attributes.R Add cacheDir argument to sourceCpp to enable caching of
4354 shared libraries across R sessions
4355 * src/attributes.cpp Add cacheDir argument to sourceCpp to enable caching of
4356 shared libraries across R sessions
4357 * man/sourceCpp.Rd: Document new cacheDir option
4358 * man/cppFunction.Rd: Idem
4359 * man/evalFunction.Rd: Idem
4360
4361 2016-07-10 Nathan Russell <[email protected]>
4362
4363 * inst/include/Rcpp/algorithm.h: Accomodate clang compiler
4364
4365 2016-07-03 Dirk Eddelbuettel <[email protected]>
4366
4367 * DESCRIPTION (Version): Rolling minor version
4368
4369 2016-07-02 Qiang Kou <[email protected]>
4370
4371 * src/attributes.cpp: Replace '.' in package names
4372
4373 2016-06-23 Dirk Eddelbuettel <[email protected]>
4374
4375 * DESCRIPTION (Version): Rolling minor version
4376
4377 * inst/include/Rcpp/exceptions.h (Rcpp): Also expose Rf_warningcall()
4378 within Rcpp namespace (without leading Rf_)
4379
4380 2016-06-20 Qin Wenfeng <[email protected]>
4381
4382 * inst/include/Rcpp/exceptions.h: add RCPP_USING_UTF8_ERROR_STRING macro
4383 to use UTF-8 encoding exception string in R
4384
4385 2016-06-14 Artem Klevtsov <[email protected]>
4386
4387 * inst/include/Rcpp/sugar/functions/na_omit.h: Improve na_omit for
4388 vectors without NA
4389 * inst/unitTests/cpp/sugar.cpp: Add unit test for the na_omit
4390 * inst/unitTests/runit.sugar.R: Ditto
4391
4392 2016-06-02 Kirill Müller <[email protected]>
4393
4394 * inst/include/Rcpp/algorithm.h: Use "long long" only if available
4395 * inst/include/Rcpp/exceptions.h: Annotate stop() with NORET
4396
4397 2016-05-18 Daniel C. Dillon <[email protected]>
4398
4399 * inst/include/Rcpp/algorithm.h: New approach for sugar
4400
4401 * inst/unitTests/cpp/algorithm.cpp: Unit test support
4402 * inst/unitTests/runit.algorithm.R: Ditto
4403
4404 2016-05-17 Dirk Eddelbuettel <[email protected]>
4405
4406 * DESCRIPTION (Version): Rolling minor version
4407
4408 2016-05-16 Qiang Kou <[email protected]>
4409
4410 * inst/include/Rcpp/String.h: Correct string replacement
4411 * inst/unitTests/runit.String.R: Unit test
4412
4413 2016-05-16 Daniel C. Dillon <[email protected]>
4414
4415 * inst/include/Rcpp/sugar/functions/max.h: Fixing constness
4416 * inst/include/Rcpp/sugar/functions/min.h: Ditto
4417
4418 2016-05-15 Daniel C. Dillon <[email protected]>
4419
4420 * inst/include/Rcpp/vector/Matrix.h: Correcting ambiguities in
4421 Vector/Matrix and scalar operations
4422 * inst/include/Rcpp/sugar/operators/divides.h: Ditto
4423 * inst/include/Rcpp/sugar/operators/minus.h: Ditto
4424 * inst/include/Rcpp/sugar/operators/plus.h: Ditto
4425 * inst/include/Rcpp/sugar/operators/times.h: Ditto
4426
4427 2016-05-14 Dirk Eddelbuettel <[email protected]>
4428
4429 * DESCRIPTION: Release 0.12.5
4430 * inst/NEWS.Rd: Release 0.12.5
4431 * vignettes/Rcpp.bib: Release 0.12.5
4432 * inst/include/Rcpp/config.h: Release 0.12.5
4433
4434 * debian/*: Changes for Debian release of 0.12.5
4435
4436 * vignettes/Rcpp.bib: Updated references
4437
4438 2016-05-13 Dirk Eddelbuettel <[email protected]>
4439
4440 * DESCRIPTION: Rolled minor version
4441
4442 * R/compilerCheck.R: Minimal R function to check g++ version sufficiency
4443 * man/compilerCheck.Rd: Documentation
4444
4445 2016-05-11 Dirk Eddelbuettel <[email protected]>
4446
4447 * R/Rcpp.package.skeleton.R: Modified to create a package without notes,
4448 warnings, or error even pkgKitten is not available
4449
4450 * R/Rcpp.package.skeleton.R (.playWithPerPackageHelpPage): Added new
4451 helper function to be used when pkgKitten is not available
4452 * inst/skeleton/manual-page-stub.Rd: Stub for per-package help page used
4453 when pkgKitten is not available
4454
4455 2016-05-10 Dirk Eddelbuettel <[email protected]>
4456
4457 * R/Rcpp.package.skeleton.R: Also correct Title: and Description: to
4458 satisfy R CMD check in R-release and (current) R-devel
4459
4460 2016-05-08 Dirk Eddelbuettel <[email protected]>
4461
4462 * inst/unitTests/cpp/Matrix.cpp: Made four scalar/matrix tests less
4463 ambiguous for overloads by using double as scalar
4464
4465 2016-05-06 Dirk Eddelbuettel <[email protected]>
4466
4467 * R/loadRcppModules.R (loadRcppModules): Add call to .Deprecated
4468 pointing out that loadModule is preferred
4469 * man/Rcpp-deprecated.Rd: Added to list deprecated functions
4470 * man/loadRcppModules-deprecated.Rd: Renamed to -deprecated, added link
4471 to loadModule which is the preferred method
4472
4473 * vignettes/Rcpp-modules.Rnw: Updated with respect to loadRcppModules
4474 deprecation and loadModule being preferred
4475
4476 2016-04-15 Kevin Ushey <[email protected]>
4477
4478 * src/attributes.cpp: Add a missing 'winslash = "/"'
4479
4480 2016-04-14 J.J. Allaire <[email protected]>
4481
4482 * src/attributes.cpp: Correct handling of dependent file paths on
4483 Windows (use winslash = "/")
4484
4485 2016-04-13 Dirk Eddelbuettel <[email protected]>
4486
4487 * DESCRIPTION (Version): Rolling minor version and Date
4488
4489 2016-04-11 Ben Goodrich <[email protected]>
4490
4491 * R/Module.R: Avoid calling as.character() on C++Object to prevent race
4492
4493 2016-04-02 Dirk Eddelbuettel <[email protected]>
4494
4495 * DESCRIPTION: Rolled to minor version 0.12.4.3
4496 * inst/include/Rcpp/config.h: Ditto
4497
4498 * ChangeLog: Added entries for PRs 453 and 454
4499 * inst/NEWS.Rd: Add two missing \item uses
4500
4501 * R/Module.R: Rename copy to copyObject to avoid function name collisions
4502 * inst/unitTests/runit.Module.R: Ditto
4503 * man/copyObject.Rd: Ditto
4504 * inst/NEWS.Rd: Ditto
4505 * NAMESPACE: Ditto
4506
4507 * inst/unitTests/runit.environments.R: Skip test.environment.child test
4508
4509 2016-03-31 Romain Francois <[email protected]>
4510
4511 * R/Modules.R: New top-level functions copy, destruct and is_destructed
4512 * NAMESPACE: New functions copy, destruct and is_destructed exported
4513 * man/copy.Rd: New manual page
4514 * man/destruct.Rd: Ditto
4515
4516 * inst/include/Rcpp/module/class.h: Add copy constructortor + destructor
4517 * inst/include/Rcpp/module/class_Base.h: Ditto
4518 * src/Module.cpp: Ditto
4519 * src/Rcpp_init.cpp: Ditto
4520 * src/internal.h: Ditto
4521
4522 * inst/include/Rcpp/traits/traits.h: New trait detecting copy contructor
4523 * inst/include/Rcpp/traits/has_copy_constructor.h: Ditto
4524
4525 * inst/unitTests/runit.Module.R: Test new copy constructor and destructor
4526 * inst/unitTests/cpp/Module.cpp: Ditto
4527
4528 2016-03-29 Daniel C. Dillon <[email protected]>
4529
4530 * inst/include/Rcpp/String.h: Correct Rcpp::String for Rcpp::Nullable
4531
4532 2016-03-27 Qin Wenfeng <[email protected]>
4533
4534 * R/Attributes.R: Support new R 3.3.0 Windows toolchain
4535
4536 2016-03-26 Dirk Eddelbuettel <[email protected]>
4537
4538 * DESCRIPTION: Rolled Date and minor Version
4539
4540 2016-03-23 Sergio Marques <[email protected]>
4541
4542 * src/api.cpp: Also check a flag __MUSL__ to accomodate Alpine
4543
4544 2016-03-22 Dirk Eddelbuettel <[email protected]>
4545
4546 * DESCRIPTION: Release 0.12.4
4547 * inst/NEWS.Rd: Release 0.12.4
4548 * vignettes/Rcpp.bib: Release 0.12.4
4549 * inst/include/Rcpp/config.h: Release 0.12.4
4550
4551 * debian/*: Changes for Debian release of 0.12.4
4552
4553 2016-03-19 Dirk Eddelbuettel <[email protected]>
4554
4555 * README.md: Use canonical CRAN URL to please R-devel CMD check
4556
4557 2016-03-12 Nathan Russell <[email protected]>
4558
4559 * inst/include/Rcpp/sugar/functions/cbind.h: Undefine MakeBindable macro
4560 after use
4561
4562 2016-03-12 Nathan Russell <[email protected]>
4563
4564 * inst/include/Rcpp/sugar/functions/cbind.h: New cbind() function
4565 * inst/include/Rcpp/sugar/functions/functions.h: Idem
4566 * inst/unitTests/cpp/sugar.cpp: Unit tests for cbind()
4567 * inst/unitTests/runit.sugar.R: Idem
4568
4569 2016-03-09 Colin Gillespie <[email protected]>
4570
4571 * vignettes/Rcpp-sugar.Rnw: Correct typos and indentation
4572
4573 2016-03-09 Dirk Eddelbuettel <[email protected]>
4574
4575 * inst/include/Rcpp/stats/random/rlogis.h: Updated Emacs header and
4576 copyright, aligned indentation
4577 * inst/include/Rcpp/stats/random/rnbinom.h: Idem
4578 * inst/include/Rcpp/stats/random/rnbinom_mu.h: Idem
4579 * inst/include/Rcpp/stats/random/rnchisq.h: Idem
4580 * inst/include/Rcpp/stats/random/rnorm.h: Idem
4581 * inst/include/Rcpp/stats/random/rt.h: Idem
4582 * inst/include/Rcpp/stats/random/runif.h: Idem
4583 * inst/include/Rcpp/stats/random/rweibull.h: Idem
4584 * inst/include/Rcpp/stats/random/random.h: Idem
4585 * inst/include/Rcpp/stats/random/rcauchy.h: Idem
4586 * inst/include/Rcpp/stats/random/rchisq.h: Idem
4587 * inst/include/Rcpp/stats/random/rexp.h: Idem
4588 * inst/include/Rcpp/stats/random/rf.h: Idem
4589 * inst/include/Rcpp/stats/random/rgeom.h: Idem
4590 * inst/include/Rcpp/stats/random/rlnorm.h: Idem
4591 * inst/include/Rcpp/stats/random/rbeta.h: Idem
4592 * inst/include/Rcpp/stats/random/rbinom.h: Idem
4593 * inst/include/Rcpp/stats/random/rgamma.h: Idem
4594 * inst/include/Rcpp/stats/random/rhyper.h: Idem
4595 * inst/include/Rcpp/stats/random/rpois.h: Idem
4596 * inst/include/Rcpp/stats/random/rsignrank.h: Idem
4597 * inst/include/Rcpp/stats/random/rwilcox.h: Idem
4598
4599 2016-03-07 Dirk Eddelbuettel <[email protected]>
4600
4601 * inst/include/Rcpp/stats/beta.h: Updated Emacs header and copyright
4602 * inst/include/Rcpp/stats/binom.h: Idem
4603 * inst/include/Rcpp/stats/cauchy.h: Idem
4604 * inst/include/Rcpp/stats/chisq.h: Idem
4605 * inst/include/Rcpp/stats/f.h: Idem
4606 * inst/include/Rcpp/stats/gamma.h: Idem
4607 * inst/include/Rcpp/stats/geom.h: Idem
4608 * inst/include/Rcpp/stats/hyper.h: Idem
4609 * inst/include/Rcpp/stats/nbeta.h: Idem
4610 * inst/include/Rcpp/stats/nbinom.h: Idem
4611 * inst/include/Rcpp/stats/nbinom_mu.h: Idem
4612 * inst/include/Rcpp/stats/nchisq.h: Idem
4613 * inst/include/Rcpp/stats/nf.h: Idem
4614 * inst/include/Rcpp/stats/nt.h: Idem
4615 * inst/include/Rcpp/stats/pois.h: Idem
4616 * inst/include/Rcpp/stats/stats.h: Idem
4617 * inst/include/Rcpp/stats/t.h: Idem
4618 * inst/include/Rcpp/stats/unif.h: Idem
4619 * inst/include/Rcpp/stats/dpq/dpq.h: Idem
4620
4621 2016-03-05 Dirk Eddelbuettel <[email protected]>
4622
4623 * inst/include/Rcpp/stats/exp.h: Replaced initial Emacs header line with
4624 current one, ran M-x untabify, streamlined indentation, update copyright
4625 * inst/include/Rcpp/stats/lnorm.h: Idem
4626 * inst/include/Rcpp/stats/logis.h: Idem
4627 * inst/include/Rcpp/stats/norm.h: Idem
4628 * inst/include/Rcpp/stats/weibull.h: Idem
4629
4630 2016-03-04 Dirk Eddelbuettel <[email protected]>
4631
4632 * inst/unitTests/runit.Function.R: Switched to '/usr/bin/env r'
4633 * inst/unitTests/runit.table.R: Idem
4634 * inst/unitTests/runit.as.R: Idem
4635 * inst/unitTests/runit.Date.R: Idem
4636 * inst/unitTests/runit.misc.R: Idem
4637 * inst/unitTests/runit.Language.R: Idem
4638 * inst/unitTests/runit.subset.R: Idem
4639 * inst/unitTests/runit.wrap.R: Idem
4640 * inst/unitTests/runit.sugar.R: Idem
4641 * inst/unitTests/runit.na.R: Idem
4642 * inst/unitTests/runit.String.R: Idem
4643 * inst/unitTests/runit.Vector.R: Idem
4644 * inst/unitTests/runit.environments.R: Idem
4645 * inst/unitTests/runit.Reference.R: Idem
4646 * inst/unitTests/runit.Matrix.R: Idem
4647 * inst/unitTests/runit.client.package.R: Idem
4648 * inst/unitTests/runit.binary.package.R: Idem
4649 * inst/unitTests/runit.support.R: Idem
4650 * inst/unitTests/runit.S4.R: Idem
4651 * inst/unitTests/runit.RObject.R: Idem
4652 * inst/unitTests/runit.modref.R: Idem
4653 * inst/unitTests/runit.InternalFunctionCPP11.R: Idem
4654 * inst/unitTests/runit.attributes.R: Idem
4655 * inst/unitTests/runit.sugar.var.R: Idem
4656 * inst/unitTests/runit.Module.R: Idem
4657 * inst/unitTests/runit.XPTr.R: Idem
4658 * inst/unitTests/runit.Module.client.package.R: Idem
4659 * inst/unitTests/runit.stats.R: Idem
4660 * inst/unitTests/runit.rmath.R: Idem
4661 * inst/unitTests/runit.DataFrame.R: Idem
4662 * inst/unitTests/runit.wstring.R: Idem
4663 * inst/unitTests/runit.InternalFunction.R: Idem
4664
4665 2016-03-03 Dirk Eddelbuettel <[email protected]>
4666
4667 * inst/examples/FastLM/benchmarkLongley.r: Switched to '/usr/bin/env r'
4668 * inst/examples/FastLM/fastLMviaArmadillo.r: Idem
4669 * inst/examples/FastLM/fastLMviaGSL.r: Idem
4670 * inst/examples/FastLM/lmArmadillo.R: Idem
4671 * inst/examples/FastLM/lmGSL.R: Idem
4672 * inst/examples/FastLM/benchmark.r: Idem
4673 * inst/examples/ConvolveBenchmarks/exampleRCode.r: Idem
4674
4675 2016-02-27 Dirk Eddelbuettel <[email protected]>
4676
4677 * inst/examples/RcppInline/RcppInlineWithLibsExamples.r: Switched to
4678 using '/usr/bin/env r', switch to using 'cxxfunction' and RcppGSL plugin
4679
4680 * inst/examples/RcppInline/external_pointer.r: Switched to '/usr/bin/env r'
4681 * inst/examples/RcppInline/RcppInlineExample.r: Idem
4682 * inst/examples/ConvolveBenchmarks/overhead.r: Idem
4683
4684 * inst/include/Rcpp/Fast.h (Rcpp): Undo two const declarations
4685
4686 2016-02-23 Dirk Eddelbuettel <[email protected]>
4687
4688 * inst/examples/OpenMP/OpenMPandInline.r: Switched to '/usr/bin/env r'
4689 * inst/examples/RcppInline/RcppSimpleExample.r: Idem
4690 * inst/examples/RcppInline/RObject.r: Idem
4691 * inst/examples/RcppInline/UncaughtExceptions.r: Idem
4692
4693 2016-02-21 Dirk Eddelbuettel <[email protected]>
4694
4695 * inst/examples/functionCallback/newApiExample.r (vecfunc): Switched to
4696 using '/usr/bin/env r', switch to using 'cxxfunction'
4697
4698 * inst/examples/Misc/fibonacci.r: Switched to using '/usr/bin/env r',
4699 added explicit load of Rcpp package
4700
4701 * inst/examples/Misc/newFib.r: Switched to using '/usr/bin/env r'
4702 * inst/examples/Misc/ifelseLooped.r: Idem
4703 * inst/examples/Misc/piBySimulation.r: Idem
4704 * inst/examples/SugarPerformance/sugarBenchmarks.r: Idem
4705
4706 2016-02-16 Dirk Eddelbuettel <[email protected]>
4707
4708 * vignettes/Rcpp-FAQ.Rnw: Added answer on fixed-size limit of arguments
4709
4710 2016-02-07 Dirk Eddelbuettel <[email protected]>
4711
4712 * R/Attributes.R (sourceCppFunction): Use fully matched seq(along.with=...)
4713
4714 * vignettes/Rcpp-FAQ.Rnw: Added a table of contents
4715
4716 2016-02-06 James J Balamuta <[email protected]>
4717
4718 * vignettes/Rcpp-FAQ.Rnw (Rcpp): Additional material, and corrections,
4719 for use on OS X
4720
4721 2016-01-30 Qiang Kou <[email protected]>
4722
4723 * inst/include/Rcpp/vector/Subsetter.h: Fix the error under gc
4724 * inst/unitTests/cpp/Vector.cpp : Add tests
4725 * inst/unitTests/runit.Vector.R : Idem
4726
4727 2016-01-29 Dirk Eddelbuettel <[email protected]>
4728
4729 * vignettes/Rcpp-FAQ.Rnw (Rcpp): Add new entry about required TeXlive
4730 installation to build vignettes (issue #422)
4731
4732 2016-01-22 Dirk Eddelbuettel <[email protected]>
4733
4734 * DESCRIPTION (Version): Mark as 0.12.3.1
4735
4736 2016-01-22 Daniel C. Dillon <[email protected]>
4737
4738 * R/Attributes.R: Add plugin for cpp14
4739
4740 2016-01-18 Daniel C. Dillon <[email protected]>
4741
4742 * inst/include/Rcpp/Nullable.h: Add isUsable()
4743 * inst/unitTests/cpp/misc.cpp: Add tests
4744 * inst/unitTests/runit.misc.R: Idem
4745
4746 2016-01-17 Nathan Russell <[email protected]>
4747
4748 * inst/include/Rcpp/sugar/functions/median.h: New function
4749 * inst/unitTests/cpp/sugar.cpp: Add tests
4750 * inst/unitTests/runit.sugar.R: Idem
4751
4752 2016-01-17 Daniel C. Dillon <[email protected]>
4753
4754 * inst/include/Rcpp/Nullable.h: Add as() and clone()
4755 * inst/unitTests/cpp/misc.cpp: Add tests
4756 * inst/unitTests/runit.misc.R: Idem
4757
4758 2016-01-13 Kirill Mueller <[email protected]>
4759
4760 * inst/include/Rcpp/Nullable.h: Added const support
4761 * inst/unitTests/cpp/misc.cpp: Added tests for const support
4762
4763 2016-01-10 Dirk Eddelbuettel <[email protected]>
4764
4765 * DESCRIPTION: Release 0.12.3
4766 * inst/NEWS.Rd: Release 0.12.3
4767 * vignettes/Rcpp.bib: Release 0.12.3
4768 * inst/include/Rcpp/config.h: Release 0.12.3
4769
4770 * debian/*: Changes for Debian release of 0.12.3
4771
4772 * vignettes/Rcpp.bib: Updated all CRAN reference to current versions
4773
4774 2016-01-09 Dirk Eddelbuettel <[email protected]>
4775
4776 * Contributing.md: Added to GitHub repo
4777
4778 * .Rbuildignore: Ensure Contributing.md is not in R package, also
4779 removed two old entries
4780
4781 2015-12-29 Joshua Pritikin <[email protected]>
4782
4783 * inst/include/Rcpp/Module.h: Initialize base class in copy ctor
4784 * inst/include/Rcpp/macros/interface.h: Idem
4785
4786 2015-12-12 Qiang Kou <[email protected]>
4787
4788 * inst/include/Rcpp/String.h: std::hash<Rcpp::String>
4789 * inst/unitTests/cpp/wrap.cpp: Unit tests
4790 * inst/unitTests/runit.wrap.R: Unit tests
4791
4792 2015-12-04 Qiang Kou <[email protected]>
4793
4794 * inst/include/Rcpp/vector/Matrix.h: Add math operators between matrix
4795 and scalar
4796 * inst/unitTests/runit.Matrix.R: Unit tests
4797 * inst/unitTests/cpp/Matrix.cpp: Unit tests
4798
4799 2015-11-27 Daniel C. Dillon <[email protected]>
4800
4801 * inst/include/Rcpp/vector/proxy.h: const_iterators for CharacterVector
4802 now work analogously to iterators
4803 * inst/include/Rcpp/vector/const_generic_proxy.h: Idem
4804 * inst/include/Rcpp/vector/const_string_proxy.h: Idem
4805 * inst/include/Rcpp/vector/traits.h: Idem
4806
4807 * inst/unitTests/cpp/Vector.cpp: Tests for above
4808 * inst/unitTests/runit.Vector.R: Idem
4809
4810 [ All this was commited on Sep 5 but only merged Nov 27 ]
4811
4812 2015-11-25 JJ Allaire <[email protected]>
4813
4814 * src/attributes.cpp: Avoid invalid function names when
4815 generating C++ interfaces.
4816
4817 2015-11-15 Kazuki Fukui <[email protected]>>
4818
4819 * src/attributes.cpp: Insert extra space around & in interface
4820
4821 2015-11-14 Dirk Eddelbuettel <[email protected]>
4822
4823 * .travis.yml: Add token for secure Slack & Travis integration
4824
4825 2015-11-14 Dirk Eddelbuettel <[email protected]>
4826
4827 * DESCRIPTION: Release 0.12.2
4828 * inst/NEWS.Rd: Release 0.12.2
4829 * vignettes/Rcpp.bib: Release 0.12.2
4830 * inst/include/Rcpp/config.h: Release 0.12.2
4831
4832 * debian/*: Changes for Debian release of 0.12.2
4833
4834 * vignettes/Rcpp.bib: Updated all CRAN reference to current versions
4835
4836 2015-11-13 Dirk Eddelbuettel <[email protected]>
4837
4838 * inst/include/Rcpp/complex.h: Define a header guard for dplyr to
4839 prevent errorneous redefinition of operator<<() via dplyr
4840
4841 2015-11-11 Dirk Eddelbuettel <[email protected]>
4842
4843 * inst/include/Rcpp/vector/Matrix.h: Further simplification
4844
4845 2015-11-11 Qiang Kou <[email protected]>
4846
4847 * include/Rcpp/complex.h: operator<< for Rcomplex
4848
4849 2015-11-10 Dirk Eddelbuettel <[email protected]>
4850
4851 * inst/include/Rcpp/vector/Matrix.h: Added transpose for character
4852 matrices as well
4853
4854 * inst/unitTests/runit.Matrix.R: New unit tests
4855 * inst/unitTests/cpp/Matrix.cpp: Ditto
4856
4857 2015-11-08 Dirk Eddelbuettel <[email protected]>
4858
4859 * inst/include/Rcpp/vector/Matrix.h: Matrix transpose is now a free
4860 function for both INTSXP and REALSXP
4861
4862 * inst/unitTests/runit.Matrix.R: New unit tests
4863 * inst/unitTests/cpp/Matrix.cpp: Ditto
4864
4865 2015-11-08 Daniel C. Dillon <[email protected]>
4866
4867 * inst/include/Rcpp/Nullable.h: No longer prevent assignment of
4868 R_NilValue to Nullable<> in function signatures
4869
4870 * inst/include/Rcpp/vector/Matrix.h: Use showpoint in operator<<()
4871
4872 2015-11-07 Dirk Eddelbuettel <[email protected]>
4873
4874 * inst/include/Rcpp/vector/Matrix.h: Beginnings of a Matrix transpose
4875
4876 2015-11-06 Kevin Ushey <kevinushey@gmailcom>
4877
4878 * inst/include/Rcpp/vector/Subsetter.h: Add sugar math operators
4879 * inst/unitTests/runit.subset.R: Unit tests
4880 * inst/unitTests/cpp/Subset.cpp: Unit tests
4881 * inst/NEWS.Rd: NEWS entry
4882
4883 2015-11-01 Qiang Kou <[email protected]>
4884
4885 * inst/include/Rcpp/vector/MatrixColumn.h: Fix overflow
4886
4887 2015-11-01 Dirk Eddelbuettel <[email protected]>
4888
4889 * DESCRIPTION: Roll Version: to 0.12.1.4
4890
4891 2015-10-30 Nathan Russell <[email protected]>
4892
4893 * inst/include/Rcpp/sugar/functions/cummax.h: New sugar function
4894 * inst/include/Rcpp/sugar/functions/cummin.h: New sugar function
4895 * inst/include/Rcpp/sugar/functions/cumprod.h: New sugar function
4896 * inst/unitTests/cpp/sugar.cpp: Unit test support for new functions
4897 * inst/unitTests/runit.sugar.R: Ditto
4898
4899 2015-10-08 Tianqi Chen <[email protected]>
4900
4901 * inst/include/Rcpp/api/meat/is.h: Enhance the check for Rcpp Module
4902 objects (PR #381 fixing #380)
4903
4904 2015-10-01 JJ Allaire <[email protected]>
4905
4906 * src/attributes.cpp: Enable export of C++ interface for functions that
4907 return void
4908
4909 2015-09-28 Dirk Eddelbuettel <[email protected]>
4910
4911 * inst/NEWS.Rd: GitHub pull requests and issues are now linked
4912
4913 * src/barrier.cpp: Use SET_STRING_ELT() on LHS (with thanks to Luke)
4914
4915 2015-09-21 Dirk Eddelbuettel <[email protected]>
4916
4917 * inst/include/Rcpp/String.h: Before assigning ensure we received
4918 exactly one string argument
4919
4920 2015-09-10 Dirk Eddelbuettel <[email protected]>
4921
4922 * DESCRIPTION: Release 0.12.1
4923 * inst/NEWS.Rd: Release 0.12.1
4924 * vignettes/Rcpp.bib: Release 0.12.1
4925 * inst/include/Rcpp/config.h: Release 0.12.1
4926
4927 * debian/*: Changes for Debian release of 0.12.1
4928
4929 2015-09-09 Dirk Eddelbuettel <[email protected]>
4930
4931 * vignettes/Rcpp-attributes.Rnw: Less harsh grey border around code
4932 * vignettes/Rcpp-*.Rnw: Ditto
4933
4934 * inst/include/Rcpp/String.h: More comparison operators
4935
4936 2015-09-08 Daniel C. Dillon <[email protected]>
4937
4938 * inst/include/Rcpp/vector/string_proxy.h: More comparison operators
4939 * inst/include/Rcpp/vector/const_string_proxy.h: More comparison operators
4940
4941 2015-09-08 Florian Plaza Onate <[email protected]>
4942
4943 * inst/include/Rcpp/Dimension.h: Correct creation and access of large
4944 matrices
4945 * inst/include/Rcpp/vector/Matrix.h: Ditto
4946
4947 2015-09-07 Dirk Eddelbuettel <[email protected]>
4948
4949 * inst/include/Rcpp/Nullable.h: New class for objects which may be NULL
4950 * inst/unitTests/cpp/Vector.cpp: Unit tests for Nullable
4951 * inst/unitTests/runit.Vector.R: Ditto
4952
4953 2015-09-06 Daniel C. Dillon <[email protected]>
4954
4955 * inst/include/Rcpp/String.h: Make strings and string_proxies comparable
4956 * inst/unitTests/cpp/String.cpp: Unit tests for above
4957 * inst/unitTests/runit.String.R: Ditto
4958
4959 2015-09-05 Daniel C. Dillon <[email protected]>
4960
4961 * inst/include/Rcpp/vector/Matrix.h: Matrix now has appropriate operator<<
4962 * inst/include/Rcpp/vector/Vector.h: Vector now has appropriate operator<<
4963 * inst/unitTests/cpp/Vector.cpp: Unit tests for above
4964
4965 2015-09-01 Florian Plaza Onate <[email protected]>
4966
4967 * inst/include/Rcpp/vector/Subsetter.h: Allow logical subsets to be
4968 assigned to a vector of size 1
4969 (pull request #349, discussed in issue #345)
4970 * inst/unitTests/cpp/Subset.cpp: Add unit test for above
4971 * inst/unitTests/runit.subset.R: Ditto
4972
4973 2015-08-31 Dirk Eddelbuettel <[email protected]>
4974
4975 * DESCRIPTION (Version, Date): Roll Version and Date
4976
4977 2015-08-30 Dirk Eddelbuettel <[email protected]>
4978
4979 * vignettes/Rcpp.bib: Updated RcppGSL entry
4980
4981 2015-08-29 Dirk Eddelbuettel <[email protected]>
4982
4983 * vignettes/Rcpp.bib: Add RcppZiggurat entry
4984
4985 * inst/include/Rcpp/utils/tinyformat.h: Updated to current upstream
4986 version keeping our local modifications / adaptations (PR #357)
4987
4988 2015-08-29 Qiang Kou <[email protected]>
4989
4990 * inst/include/Rcpp/vector/Subsetter.h: Enable logical subsetting on
4991 both LHS and RHS, eg 'a[b > 3] = b[b > 3]' (pull request #352 addressing
4992 issue #345)
4993 * inst/unitTests/cpp/Subset.cpp: Ditto
4994 * inst/unitTests/runit.subset.R: Unit tests for above
4995
4996 2015-08-26 Dirk Eddelbuettel <[email protected]>
4997
4998 * inst/unitTests/testRcppClass/src/rcpp_module.cpp: Renamed Module
4999 'World' to 'RcppClassWorld' to avoid multiple modules with same name
5000 (pull request #351, fixed issue #350)
5001
5002 * inst/unitTests/testRcppClass/man/Rcpp_class_examples.Rd: Ditto
5003 * inst/unitTests/testRcppClass/R/load.R: Ditto
5004 * inst/unitTests/testRcppClass/NAMESPACE: Ditto
5005 * inst/unitTests/runit.Module.client.package.R: Re-enable test
5006
5007 * inst/unitTests/testRcppModule/src/rcpp_module.cpp: Renamed Module
5008 'World' to 'RcppModuleWorld' to avoid multiple modules with same name
5009
5010 * inst/unitTests/cpp/modref.cpp: Rename 'World' to 'ModRefWorld'
5011 * inst/unitTests/runit.modref.R (test.modRef): Ditto
5012
5013 * inst/unitTests/cpp/Module.cpp: Rename 'World' to 'ModuleWorld'
5014 * inst/unitTests/runit.Module.R (test.Module): Ditto
5015
5016 2015-08-25 Kurt Hornik <[email protected]>
5017
5018 * R/loadModule.R: For now=TRUE, always set .botched to FALSE which
5019 corresponds to the case of the methods package being in the search path
5020 * inst/include/Rcpp/Reference.h: Call call with the internal Namespace
5021
5022 2015-08-24 Dirk Eddelbuettel <[email protected]>
5023
5024 * vignettes/Rcpp.bib: Updated R / R Core references
5025
5026 2015-08-23 Romain Francois <[email protected]>
5027
5028 * inst/include/Rcpp/Benchmark/Timer.h: Silence 'g++ -pedantic' by
5029 replaceing one R_xlen_t by size_t (pull request #348)
5030
5031 2015-08-19 Florian Plaza Onate <[email protected]>
5032 * inst/include/Rcpp/vector/Vector.h: Add 'at' methods which implement
5033 accessors with bounds cheking (pull request #342, fixes issue #341)
5034 * inst/include/Rcpp/vector/Matrix.h: Ditto
5035 * inst/unitTests/cpp/Vector.cpp: Add unit tests for at acessors
5036 * inst/unitTests/cpp/Matrix.cpp: Ditto
5037 * inst/unitTests/runit.Vector.R: Ditto
5038 * inst/unitTests/runit.Matrix.R: Ditto
5039
5040 2015-08-18 Dirk Eddelbuettel <[email protected]>
5041
5042 * inst/unitTests/runit.Module.client.package.R: Disabled for bad
5043 interaction of Rcpp Modules and R 3.2.2
5044
5045 2015-08-15 Florian Plaza Onate <[email protected]>
5046
5047 * inst/include/Rcpp/vector/converter.h: Correct conversion from const
5048 char argument (pull request #344, fixes issue #343)
5049
5050 2015-08-14 Florian Plaza Onate <[email protected]>
5051
5052 * inst/include/Rcpp/vector/DimNameProxy.h: Add assignment operator,
5053 refactor code, update error message formatting (pull request #339)
5054
5055 2015-08-05 Kevin Ushey <[email protected]>
5056
5057 * src/api.cpp: use `_WIN32` instead of `WIN32`
5058
5059 2015-08-02 Dirk Eddelbuettel <[email protected]>
5060
5061 * R/Attributes.R (sourceCpp): In no-rebuild-needed case, also set a
5062 default directory restoration via on.exit() (pull request #335,
5063 addressing issue #309)
5064
5065 2015-07-24 Dirk Eddelbuettel <[email protected]>
5066
5067 * DESCRIPTION: Release 0.12.0
5068 * inst/NEWS.Rd: Release 0.12.0
5069 * vignettes/Rcpp.bib: Release 0.12.0
5070 * inst/include/Rcpp/config.h: Release 0.12.0
5071
5072 * debian/*: Changes for Debian release of 0.12.0
5073
5074 2015-07-23 Dirk Eddelbuettel <[email protected]>
5075
5076 * inst/include/Rcpp/Symbol.h: Use Rf_installChar(x) instead of
5077 Rf_install(CHAR(X)) if R 3.2.0 or later is used
5078
5079 2015-07-07 Qiang Kou <[email protected]>
5080
5081 * src/include/Rcpp/String.h: Ensure proper initialization of String
5082 objects from two constructors
5083 * inst/unitTests/cpp/String.cpp: New unit test
5084 * inst/unitTests/runit.String.R: Ditto
5085
5086 2015-07-21 Kevin Ushey <[email protected]>
5087
5088 * inst/include/Rcpp/api/meat/Rcpp_eval.h: don't use 'CDDDR'
5089
5090 2015-07-20 Dirk Eddelbuettel <[email protected]>
5091
5092 * DESCRIPTION: Rolled minor Date and Version
5093
5094 * R/Attributes.R: Use explicit 'utils::assignInMyNamespace'
5095
5096 * R/Rcpp.package.skeleton.R: Use explicit 'utils::package.skeleton'
5097
5098 2015-07-17 JJ Allaire <[email protected]>
5099
5100 * Rcpp.Rproj: don't use devtools mode in RStudio (enables the
5101 Test Package command to invoke the RUnit based test-suite)
5102 * src/attributes.cpp: Correctly handle signature termination
5103 characters ('{' or ';') contained in quotes
5104
5105 2015-07-16 Kevin Ushey <[email protected]>
5106
5107 * inst/include/Rcpp/api/meat/Rcpp_eval.h: Don't use 'R_ToplevelExec';
5108 ensure Rcpp_eval respects previously established handlers. Capture
5109 errors + interrupts with R-level 'tryCatch'.
5110 * inst/NEWS.Rd: Add news entry
5111
5112 2015-07-14 JJ Allaire <[email protected]>
5113
5114 * src/attributes.cpp: fix crash on second call to sourceCpp
5115
5116 2015-07-07 Qiang Kou <[email protected]>
5117
5118 * src/include/Rcpp/String.h: Use Rcpp_PreserveObject and
5119 Rcpp_ReplaceObject to protect underlying SEXP inside String objects
5120
5121 2015-07-07 Matt P. Dziubinski <[email protected]>
5122
5123 * inst/include/Rcpp/sugar/functions/var.h: Variance -- changed from
5124 the unstable formula back to the stable (two-pass) formula, fixed
5125 support for complex numbers (formula correction).
5126 * inst/unitTests/runit.sugar.var.R: Added tests for complex variance
5127 computation, applied simple code refactoring.
5128
5129 2015-07-04 Dirk Eddelbuettel <[email protected]>
5130
5131 * vignettes/Rcpp.bib: Updated reference to several CRAN packages
5132
5133 2015-07-02 Kevin Ushey <[email protected]>
5134
5135 * .clang_format: Added
5136
5137 2015-06-25 Kevin Ushey <[email protected]>
5138
5139 * inst/include/Rcpp/api/meat/Rcpp_eval.h: reset error after Rcpp_eval
5140 * inst/unitTests/cpp/Function.cpp: unit tests
5141 * inst/unitTests/runit.Function.R: unit tests
5142 * inst/include/Rcpp/Function.h: catch empty error messages
5143 * inst/include/Rcpp/api/meat/Rcpp_eval.h: protect call
5144
5145 2015-06-24 Qiang Kou <[email protected]>
5146
5147 * inst/include/Rcpp/String.h: Support encodings
5148 * src/String.cpp: Ditto
5149 * inst/unitTests/runit.String.R: Add unit tests
5150
5151 2015-06-18 Dirk Eddelbuettel <[email protected]>
5152
5153 * R/Attributes.R (evalCpp): Add support for plugings argument
5154 * man/evalCpp.Rd: Document argument
5155
5156 2015-06-07 JJ Allaire <[email protected]>
5157
5158 * src/attributes.cpp: Don't load sourceCpp dynamic library if it's
5159 already been loaded
5160
5161 2015-06-05 Dirk Eddelbuettel <[email protected]>
5162
5163 * R/Rcpp.package.skeleton.R (Rcpp.package.skeleton): Remove
5164 `character.only=TRUE` from `requireNamespace()` as it happens to flip
5165 the boolean value too
5166
5167 2015-06-03 Qiang Kou <[email protected]>
5168
5169 * inst/include/Rcpp/*: Finish changing R_len_t to R_xlen_t
5170 * src/*: Ditto
5171
5172 2014-05-27 Romain Francois <[email protected]>
5173
5174 * inst/include/Rcpp/DataFrame.h: Safe DataFram constructor
5175
5176 2015-05-16 Qiang Kou <[email protected]>
5177
5178 * inst/include/Rcpp/*: Begin changing R_len_t to R_xlen_t
5179 * src/*: Ditto
5180
5181 2015-05-17 Matt P. Dziubinski <[email protected]>
5182
5183 * inst/include/Rcpp/platform/compiler.h: Added RCPP_USING_CXX0X_OR_LATER
5184 * inst/include/Rcpp/sugar/functions/sapply.h: Updated to support lambda functions
5185
5186 2015-05-01 Kevin Ushey <[email protected]>
5187
5188 * vignettes/Rcpp-FAQ.Rnw: Notes on installing gfortran
5189
5190 2015-05-01 Dirk Eddelbuettel <[email protected]>
5191
5192 * DESCRIPTION: Release 0.11.6
5193 * inst/NEWS.Rd: Release 0.11.6
5194 * inst/include/Rcpp/config.h: Release 0.11.6
5195
5196 * debian/*: Changes for Debian release of 0.11.6
5197
5198 2015-04-27 JJ Allaire <[email protected]>
5199
5200 * src/Module.cpp: Revert parts of PR291 pertaining to Modules and {BEGIN/END}_RCPP
5201 * inst/include/Rcpp/api/meat/module/Module.h: Ditto
5202 * inst/include/Rcpp/InternalFunctionWithStdFunction.h: Ditto
5203 * inst/include/Rcpp/module/Module_generated_CppFunction.h: Ditto
5204 * inst/include/Rcpp/module/class.h: Ditto
5205
5206 2014-04-25 Romain Francois <[email protected]>
5207
5208 * inst/include/Rcpp/vector/Vector.h: update the parameterization of Vector cache
5209 * inst/include/Rcpp/vector/traits.h: ...
5210 * inst/include/Rcpp/vector/00_forward_proxy.h: ...
5211 * inst/unitTests/runit.Vector.R: test for above changes
5212 * inst/unitTests/cpp/Vector.cpp: ...
5213
5214 2015-04-22 Kevin Ushey <[email protected]>
5215
5216 * inst/include/Rcpp/utils/tinyformat.h: don't use C++11 features
5217
5218 2015-04-14 Dirk Eddelbuettel <[email protected]>
5219
5220 * .travis.yml (sudo): Adding 'sudo: required' to force older Travis backend
5221
5222 2014-04-14 Romain Francois <[email protected]>
5223
5224 * inst/include/Rcpp/api/meat/is.h: added is__simple<Rcomplex>
5225 * inst/include/Rcpp/config.h: not using floating point arithmetic in preprocessor
5226
5227 2015-04-12 Dirk Eddelbuettel <[email protected]>
5228
5229 * vignettes/Rcpp-FAQ.Rnw: Also load Rcpp to make cppFunction visible
5230
5231 2014-04-11 Romain Francois <[email protected]>
5232
5233 * inst/include/Rcpp/macros/macros.h: Reworked BEGIN_RCPP and END_RCPP
5234 * inst/include/Rcpp/*: Removed BEGIN_RCPP and END_RCPP from a few files
5235 * src/Module.cpp: But added here
5236
5237 2015-04-19 Jonathan Marshall <[email protected]>
5238
5239 * inst/include/Rcpp/vector/string_proxy.h: Adds empty() constructor
5240 * inst/include/Rcpp/vector/const_string_proxy.h: Ditto
5241
5242 2015-03-18 Dmitrii Meleshko <[email protected]>
5243
5244 * inst/include/Rcpp/vector/Matrix.h: Added default ctor for 0x0 matrix
5245
5246 2015-03-18 JJ Allaire <[email protected]>
5247
5248 * R/Attributes.R: Revert to use of gcc 4.6.3 with Rtools 3.3
5249
5250 2015-03-16 JJ Allaire <[email protected]>
5251
5252 * src/attributes.cpp: Fix failing local include test (normalize path of
5253 base source file so comparisons work on Windows).
5254
5255 2015-03-15 Dirk Eddelbuettel <[email protected]>
5256
5257 * R/Attributes.R (.rtoolsPath): Replace trimws() use with a local variant
5258
5259 2015-03-11 JJ Allaire <[email protected]>
5260
5261 * R/Attributes.R: Rtools 3.3 is now located and used for compilation under R 3.2.
5262
5263 2015-03-11 Kevin Ushey <[email protected]>
5264
5265 * inst/include/RcppCommon.h: Move headers into major/minor protection
5266 * inst/include/Rcpp/r/headers.h: New file
5267
5268 2015-03-04 Dirk Eddelbuettel <[email protected]>
5269
5270 * DESCRIPTION: Release 0.11.5
5271 * inst/NEWS.Rd: Release 0.11.5
5272 * inst/include/Rcpp/config.h: Release 0.11.5
5273
5274 * debian/*: Changes for Debian release of 0.11.5
5275
5276 2015-03-03 Dirk Eddelbuettel <[email protected]>
5277
5278 * inst/include/Rcpp/routines.h: Additional application of the
5279 'attribute_hidden' macro for a number of routines in Rcpp::internal
5280
5281 2015-03-02 Dirk Eddelbuettel <[email protected]>
5282
5283 * inst/include/Rcpp/print.h (Rcpp): New inline function Rcpp::print()
5284 * inst/include/RcppCommon.h: Include new header
5285
5286 * src/api.cpp: Commented-out print() in global namespace
5287 * src/Rcpp_init.cpp: Commented-out registration of print()
5288 * inst/include/Rcpp/routines.h: Commented-out initialization
5289
5290 2015-03-01 Dirk Eddelbuettel <[email protected]>
5291
5292 * src/api.cpp: New function print() as a wrapper around Rf_PrintValue()
5293 * src/Rcpp_init.cpp: Corresponding registration for print()
5294 * inst/include/Rcpp/routines.h: Corresponding initialization
5295
5296 2015-02-25 Dirk Eddelbuettel <[email protected]>
5297
5298 * inst/include/Rcpp/routines.h: Use the 'attribute_hidden' define from
5299 the R header R_ext/Visibility.h to protect symbols (cf #264)
5300
5301 * inst/include/RcppCommon.h: Also include R_ext/Visibility.h
5302
5303 2015-02-24 JJ Allaire <[email protected]>
5304
5305 * src/attributes.cpp: Guard against includes referencing themselves
5306 (and thus creating an endless loop of include processing); Process
5307 attributes in included files; Automatically build implementation files
5308 (*.cc; *.cpp) corresponding to local header files if they exist.
5309
5310 2015-02-20 Lionel Henry <[email protected]>
5311
5312 * inst/include/Rcpp/Function.h New Function constructors that will
5313 perform function-lookup in an environment or in a namespace.
5314
5315 2015-02-19 Dirk Eddelbuettel <[email protected]>
5316
5317 * DESCRIPTION: Bump Version: and Date:
5318
5319 2015-02-19 Lionel Henry <[email protected]>
5320
5321 * inst/include/Rcpp/Environment.h Allow new_env() to create an
5322 environment with a specified parent
5323
5324 2015-02-19 JJ Allaire <[email protected]>
5325
5326 * vignettes/Rcpp-attributes.Rnw: Add note on using inline
5327 keyword from shared header files.
5328
5329 2015-02-17 JJ Allaire <[email protected]>
5330
5331 * vignettes/Rcpp-attributes.Rnw: Update attributes vignette
5332 with docs on new features.
5333
5334 2015-02-14 JJ Allaire <[email protected]>
5335
5336 * src/attributes.cpp: Allow includes of local files
5337 (e.g. #include "foo.hpp") in sourceCpp
5338 * Rcpp.Rproj: Specify Sweave as Rnw handler for RStudio
5339 * vignettes/*.Rnw: Add driver magic comment and turn off
5340 Sweave concordance.
5341 * vignettes/.gitignore: Ignore artifacts of PDF preview
5342
5343 2015-02-13 Dirk Eddelbuettel <[email protected]>
5344
5345 * .travis.yml (install): Switch to using ppa:edd/misc to install all the
5346 R packages needed for the Travis CI run as r-cran-* binary packages
5347
5348 2015-02-13 JJ Allaire <[email protected]>
5349
5350 * src/attributes.cpp: Allow 'R' to come immediately after '***'
5351 for defining embedded R code chunks in sourceCpp
5352
5353 2015-02-12 JJ Allaire <[email protected]>
5354
5355 * DESCRIPTION: bump version
5356 * src/attributes.cpp: Add rng parameter to Rcpp::export to
5357 prevent inclusion of RNGScope in generated code; recognize
5358 Rtools 3.2
5359
5360 2015-02-06 Kevin Ushey <[email protected]>
5361
5362 * inst/include/Rcpp/vector/Subsetter.h: compare CHARSXP pointers
5363 rather than string contents in subsetter
5364
5365 2015-02-03 JJ Allaire <[email protected]>
5366
5367 * src/attributes.cpp: Simplify generated attributes code for
5368 RNGScope (use RObject and it's destructor rather than SEXP
5369 protect/unprotect).
5370 * vignettes/Rcpp-package.Rnw: Update docs on generated code.
5371
5372 2015-02-03 JJ Allaire <[email protected]>
5373
5374 * inst/include/Rcpp/exceptions.h: Add Rcpp::warning function as
5375 wrapper for Rf_warning
5376
5377 2014-02-03 JJ Allaire <[email protected]>
5378
5379 * inst/include/Rcpp/XPtr.h: Improvements to XPtr including new
5380 checked_get and release functions and improved behavior (throw
5381 an exception rather than crash) when a NULL external pointer is
5382 dereferenced.
5383 * inst/unitTests/runit.XPTr.R: tests for XPtr improvements.
5384 * inst/unitTests/cpp/XPtr.cpp: tests for XPtr improvements.
5385
5386 2014-02-03 JJ Allaire <[email protected]>
5387
5388 * R/Attributes.R: Include pkg_types.h file in RcppExports.cpp
5389 if it's present in inst/include or src
5390 * src/attributes.cpp: Include pkg_types.h file in generated
5391 C++ interface file if it's present in inst/include or src
5392
5393 2015-02-02 JJ Allaire <[email protected]>
5394
5395 * R/exceptions.R: Evaluate R code within an R_toplevelExec block
5396 * include/Rcpp/api/meat/Rcpp_eval.h: Evaluate R code within an
5397 R_toplevelExec block
5398
5399 2015-01-25 Kevin Ushey <[email protected]>
5400
5401 * inst/include/Rcpp/utils/tinyformat.h: define an error handler for
5402 tinyformat (using ::Rcpp::stop) to not spill assert
5403
5404 2015-01-20 Dirk Eddelbuettel <[email protected]>
5405
5406 * DESCRIPTION: Release 0.11.4
5407 * inst/NEWS.Rd: Release 0.11.4
5408 * inst/include/Rcpp/config.h: Release 0.11.4
5409
5410 * debian/*: Changes for Debian release of 0.11.4
5411
5412 2015-01-19 Kevin Ushey <[email protected]>
5413
5414 * inst/include/Rcpp/r/headers.h: move R headers inclusion to own file;
5415 move sysmacros.h workarounds to here
5416 * inst/include/RcppCommon.h: idem
5417 * inst/include/Rcpp/platform/sysmacros.h: idem
5418
5419 2015-01-19 Dirk Eddelbuettel <[email protected]>
5420
5421 * vignettes/Rcpp.bib: Updated to current package versions
5422
5423 * vignettes/getCurrentVersionsOfCitedPackages.R: New helper function
5424 * .Rbuildignore: Added vignettes/getCurrentVersionsOfCitedPackages.R
5425
5426 * R/unit.tests.R (test): Use requireNamespace() instead of require()
5427 * R/unit.tests.R (test): Ditto
5428
5429 2015-01-19 Wush Wu <[email protected]>
5430
5431 * inst/include/Rcpp/sugar/functions/var.h: Support four vector types
5432 * inst/unitTests/runit.sugar.var.R: Added corresponding tests
5433
5434 2015-01-16 Kevin Ushey <[email protected]>
5435
5436 * inst/include/Rcpp/String.h: fix push_front()
5437 * inst/unitTests/runit.String.R: test
5438 * inst/unitTests/cpp/String.cpp: test
5439
5440 2015-01-15 Kevin Ushey <[email protected]>
5441
5442 * inst/include/Rcpp/platform/sysmacros.h: remove leaked macros
5443 'major', 'minor', 'makedev' from <sys/sysmacros.h>
5444 * inst/include/RcppCommon.h: ditto
5445 * inst/unitTests/cpp/Vector.cpp: simple test
5446
5447 2015-01-08 Dirk Eddelbuettel <[email protected]>
5448
5449 * inst/examples/OpenMP/GNUmakefile: Renamed from Makefile because it
5450 contains GNU make extentions (which we happen to like)
5451 * inst/examples/ConvolveBenchmarks: Ditto
5452
5453 2015-01-02 Kevin Ushey <[email protected]>
5454
5455 * inst/include/Rcpp/sugar/functions/setdiff.h: fix for setequals
5456 * inst/unitTests/cpp/sugar.cpp: unit tests
5457 * inst/unitTests/runit.sugar.R: unit tests
5458
5459 2015-01-01 Dirk Eddelbuettel <[email protected]>
5460
5461 * inst/include/Rcpp/sugar/functions/mean.h: Return type is double, not
5462 storage type; also added logical vector case; also added integer case
5463 to correctly deal with NA values
5464
5465 * inst/unitTests/runit.sugar.R: Added unit tests for new sugar mean()
5466 * inst/unitTests/cpp/sugar.cpp: C++ side of new unit tests
5467
5468 2014-12-31 Dirk Eddelbuettel <[email protected]>
5469
5470 * inst/include/Rcpp/sugar/functions/mean.h: Support int and complex
5471
5472 2014-12-30 Dirk Eddelbuettel <[email protected]>
5473
5474 * inst/include/Rcpp/sugar/functions/mean.h: Use two-pass method
5475
5476 2014-12-29 Kevin Ushey <[email protected]>
5477
5478 * inst/include/Rcpp/macros/macros.h: reformat for legibility
5479
5480 2014-12-11 Yixuan Qiu <[email protected]>
5481
5482 * inst/include/Rcpp/internal/r_vector.h: Internal functions to
5483 help detect unqualified vector types for sorting, with the help
5484 of Romain Francois
5485 * inst/include/Rcpp/vector/Vector.h: Disallow sorting on List,
5486 RawVector and ExpressionVector, from the discussion with
5487 Dirk Eddelbuettel and Kevin Ushey
5488
5489 2014-11-30 Romain Francois <[email protected]>
5490
5491 * inst/include/Rcpp/vector/proxy.h: Const iteration correction
5492 * inst/include/Rcpp/sugar: Ditto in three files
5493
5494 2014-11-25 Dirk Eddelbuettel <[email protected]>
5495
5496 * inst/include/Rcpp/grow.h: Apply additional Shield<> use around tail
5497 object as suggested by Martin Morgan on the rcpp-devel list
5498
5499 2014-11-24 Dirk Eddelbuettel <[email protected]>
5500
5501 * inst/include/Rcpp/config.h: Release version is still 0.11.3
5502
5503 2014-11-23 Dirk Eddelbuettel <[email protected]>
5504
5505 * inst/include/Rcpp/config.h: New macro RcppDevVersion to account for
5506 four-part development versions such as the current 0.11.3.2
5507 * DESCRIPTION: Version incremented to 0.11.3.2
5508
5509 2014-11-23 Romain Francois <[email protected]>
5510
5511 * inst/include/Rcpp/exceptions.h: Richer formatting for Rcpp::stop
5512 * inst/include/Rcpp/utils/tinyformat.h: Backend for formattinh
5513 * inst/unitTests/runit.misc.R: Added new unit test
5514 * inst/unitTests/cpp/misc.cpp: C++ backend for test
5515
5516 2014-11-19 Dirk Eddelbuettel <[email protected]>
5517
5518 * .travis.yml: Temporary stop-gap measure of setting CRAN to something
5519 other than the RStudio CDN which currently has DNS issue
5520
5521 * inst/include/Rcpp/internal/NAComparator.h: Support sorting of complex
5522 numbers, thanks to patch by Yixuan Qiu (in PR #202)
5523
5524 2014-11-08 Kevin Ushey <[email protected]>
5525
5526 * R/Attributes.R: Fix regular expression used to find source files for
5527 compileAttributes
5528
5529 2014-11-02 Dirk Eddelbuettel <[email protected]>
5530
5531 * inst/unitTests/RcppTestA: Rename to inst/unitTests/testRcppPackage
5532 * inst/unitTests/testRcppPackage: Updated throughout
5533
5534 * inst/include/Rcpp/Rmath.h: As suggested by Kevin, test for R_VERSION
5535 via #define to conditon on R >= 3.1.2 -- this does not require a hard
5536 constraint in DESCRIPTION yet on newer R will get R::[dpq]nbinom_mu()
5537
5538 2014-11-01 Dirk Eddelbuettel <[email protected]>
5539
5540 * src/api.cpp: Do not include execinfo.h on AIX, per r-devel discussion
5541 with Mike Beddo, and http://sf.net/p/predef/wiki/OperatingSystems/
5542
5543 2014-10-29 Dirk Eddelbuettel <[email protected]>
5544
5545 * inst/include/Rcpp/Rmath.h: Comment out R::[dpqr]nbinom_mu functions as
5546 not declared by R with Rf_* name-mapping prefixes
5547
5548 2014-10-17 Chenliang Xu <[email protected]>
5549
5550 * R/Attributes: Enable scanning of header files
5551
5552 2014-10-03 JJ Allaire <[email protected]>
5553
5554 * R/Attributes.R: Only look for plugins in the package's namespace
5555 (rather than entire search path)
5556
5557 2014-10-01 Kevin Ushey <[email protected]>
5558
5559 * inst/include/Rcpp/vector/ListOf.h ListOf<T> inherits relevant proxies
5560 * inst/unitTests/cpp/ListOf.cpp: Idem
5561 * inst/unitTests/runit.ListOf.R: Idem
5562
5563 2014-09-29 Dirk Eddelbuettel <[email protected]>
5564
5565 * debian/*: Changes for Debian release of 0.11.3
5566
5567 * inst/NEWS.Rd: Removed a double entry
5568
5569 2014-09-27 Dirk Eddelbuettel <[email protected]>
5570
5571 * DESCRIPTION: Release 0.11.3
5572 * inst/NEWS.Rd: Release 0.11.3
5573 * inst/include/Rcpp/config.h: Release 0.11.3
5574
5575 * ChangeLog: Added a few more entries based on commit log
5576 * inst/NEWS.Rd: Idem
5577
5578 2014-09-26 JJ Allaire <[email protected]>
5579
5580 * DESCRIPTION: Bump version to enable checking for dryRun.
5581
5582 2014-09-23 JJ Allaire <[email protected]>
5583
5584 * R/Attributes.R: Add dryRun parameter to sourceCpp.
5585
5586 2014-09-21 Dirk Eddelbuettel <[email protected]>
5587
5588 * DESCRIPTION: Shorten Description: to single paragraph
5589
5590 2014-09-21 Kevin Ushey <[email protected]>
5591
5592 * inst/unitTests/runit.environments.R: Use 'checkIdentical' as it's a
5593 more appropriate expression of intent
5594
5595 2014-09-15 Dirk Eddelbuettel <[email protected]>
5596
5597 * R/Rcpp.package.skeleton.R: Use more neutral default name, email settings
5598 * man/Rcpp.package.skeleton.Rd: Document these
5599
5600 2014-09-14 Dirk Eddelbuettel <[email protected]>
5601
5602 * inst/unitTests/testRcppClass/man/Rcpp_class_examples.Rd: Similar
5603 update to yesterday's update for testRcppModule
5604
5605 2014-09-14 Kevin Ushey <[email protected]>
5606
5607 * inst/include/Rcpp/vector/Vector.h: Alternate strategy using SFINAE
5608 * inst/include/Rcpp/traits/traits.h: Idem
5609 * inst/include/Rcpp/traits/enable_if.h: Idem
5610
5611 2014-09-13 Kevin Ushey <[email protected]>
5612
5613 * inst/include/Rcpp/vector/Vector.h: Allow logical vectors to be created
5614 from bools
5615 * inst/unitTests/runit.Vector.R: Idem
5616 * inst/unitTests/cpp/Vector.cpp: Idem
5617
5618 2014-09-13 Dirk Eddelbuettel <[email protected]>
5619
5620 * inst/skeleton/Rcpp_modules_examples.Rd: Added to document modules examples
5621
5622 * inst/unitTests/testRcppModule/NAMESPACE: Updated for current Modules use
5623 * inst/unitTests/testRcppModule/R/zzz.R: Updated for current Modules use
5624 * inst/unitTests/testRcppModule/man/Rcpp_modules_examples.Rd: Also added here
5625
5626 2014-09-10 Dirk Eddelbuettel <[email protected]>
5627
5628 * R/R/Rcpp.package.skeleton.R: If available, pkgKitten used for skeleton pkg
5629
5630 2014-09-09 Dirk Eddelbuettel <[email protected]>
5631
5632 * R/unit.tests.R: Fully qualify three functions from RUnit via ::
5633
5634 2014-09-03 Kevin Ushey <[email protected]>
5635
5636 * inst/include/Rcpp/Environment.h: make new_env a free function
5637
5638 2014-09-02 Kevin Ushey <[email protected]>
5639
5640 * inst/include/Rcpp/api/meat/proxy.h: Finish meat reintroduction + tests
5641 * inst/unitTests/runit.wrap.R: Idem
5642 * inst/unitTests/cpp/wrap.cpp: Idem
5643 * inst/include/Rcpp/proxy/FieldProxy.h: Idem
5644
5645 2014-09-02 Dirk Eddelbuettel <[email protected]>
5646
5647 * inst/include/Rcpp/vector/Vector.h: Reversing change from Aug 30: the
5648 Vector ctor from char* and string are used for CharacterVector()
5649
5650 2014-09-02 JJ Allaire <[email protected]>
5651
5652 * R/Attributes.R: Include LinkingTo in DESCRIPTION fields scanned
5653 to confirm that C++ dependencies are referenced by package.
5654
5655 2014-09-01 Yixuan Qiu <[email protected]>
5656
5657 * inst/include/Rcpp/vector/Vector.h: fix return value of range eraser
5658
5659 2014-09-01 Kevin Ushey <[email protected]>
5660
5661 * inst/include/Rcpp/vector/ListOf.h: `size()` member function should
5662 return `R_len_t` rather than `int`
5663
5664 2014-08-30 Kevin Ushey <[email protected]>
5665
5666 * inst/include/Rcpp/Environment.h: Add 'new_env' function
5667
5668 2014-08-30 Dirk Eddelbuettel <[email protected]>
5669
5670 * inst/include/Rcpp/vector/Vector.h: Mark two 'from string' ctors as
5671 deprecated following a suggestion by Yixuan Qiu [reversed on 2014-09-02]
5672
5673 2014-08-18 Dirk Eddelbuettel <[email protected]>
5674
5675 * vignettes/Rcpp-FAQ.Rnw: Added a new entry regarding licensing of
5676 packages stressing that any combined work linking to the GPL-ed R will
5677 also be under the terms of the GNU General Public License.
5678
5679 2014-08-13 Kevin Ushey <[email protected]>
5680
5681 * inst/include/Rcpp/api/meat/meat.h: Reintroduce meat
5682 * inst/include/Rcpp/api/meat/proxy.h: Idem
5683 * inst/include/Rcpp/proxy/AttributeProxy.h: Idem
5684 * inst/include/Rcpp/proxy/Binding.h: Idem
5685 * inst/include/Rcpp/proxy/NamesProxy.h: Idem
5686 * inst/include/Rcpp/proxy/SlotProxy.h: Idem
5687 * inst/include/Rcpp/proxy/TagProxy.h: Idem
5688 * inst/include/Rcpp/proxy/proxy.h: Idem
5689
5690 2014-08-08 Christian Authmann <[email protected]>
5691
5692 * inst/unitTests/cpp/InternalFunction.cpp: New unit test support
5693 * inst/unitTests/cpp/InternalFunctionCPP11.cpp: Idem
5694 * inst/unitTests/runit.InternalFunction.R: Idem
5695 * inst/unitTests/runit.InternalFunctionCPP11.R: Idem
5696
5697 2014-08-06 Christian Authmann <[email protected]>
5698
5699 * inst/include/Rcpp/InternalFunctionWithStdFunction.h: Extend the
5700 existing Rcpp::InternalFunction interface to work with std::function,
5701 conditional on a sufficient C++11 support by the compiler
5702
5703 2014-08-05 Dirk Eddelbuettel <[email protected]>
5704
5705 * inst/include/Rcpp/Date.h: Remove a const qualifier which triggers a
5706 warnings as 'type qualifiers ignored on function return type'
5707
5708 2014-08-03 Dirk Eddelbuettel <[email protected]>
5709
5710 * vignettes/Rcpp-FAQ.Rnw: Updated with respect to OS X installations
5711 requiring Fortran (to e.g. build against RcppArmadillo)
5712
5713 2014-07-29 Kevin Ushey <[email protected]>
5714
5715 * inst/include/Rcpp/vector/no_init.h: Add no_init for matrices
5716 * inst/include/Rcpp/vector/Matrix.h: Idem
5717 * inst/include/Rcpp/vector/Vector.h: Idem
5718 * inst/unitTests/runit.Matrix.R: Idem
5719 * inst/unitTests/cpp/Matrix.cpp: Idem
5720
5721 2014-07-29 Dirk Eddelbuettel <[email protected]>
5722
5723 * inst/include/Rcpp/vector/proxy.h: Removed operator bool() cast as
5724 discussed by Christian Authmann on rcpp-devel
5725
5726 2014-07-28 Dirk Eddelbuettel <[email protected]>
5727
5728 * inst/include/Rcpp/generated/InternalFunction__ctors.h: Updated from
5729 corrected creator script
5730
5731 2014-07-25 Romain Francois <[email protected]>
5732
5733 * inst/include/Rcpp/Benchmark/Timer.h: Added new static method
5734 get_timers() to return a vector of timers useful for multithreaded
5735 contexts; also removed two unused old member functions (cf #157)
5736
5737 2014-07-14 Kevin Ushey <[email protected]>
5738
5739 * inst/unitTests/runit.Matrix.R: DimNames Proxy
5740 * inst/unitTests/cpp/Matrix.cpp: Idem
5741 * inst/include/Rcpp/vector/Matrix.h: Idem
5742 * inst/include/Rcpp/vector/DimNameProxy.h: Idem
5743
5744 2014-07-12 Kevin Ushey <[email protected]>
5745
5746 * R/Attributes.R: Strip version in .parseLinkingTo
5747
5748 2014-07-12 Dirk Eddelbuettel <[email protected]>
5749
5750 * inst/include/Rcpp/generated/InternalFunction__ctors.h: Regenerated
5751 with tighter whitespace and updated header information from updated
5752 generator script in corresponding rcpp-scripts repo
5753 * inst/include/Rcpp/module/Module_generated_CppFunction.h: Idem
5754 * inst/include/Rcpp/module/Module_generated_CppMethod.h: Idem
5755 * inst/include/Rcpp/module/Module_generated_Pointer_CppMethod.h: Idem
5756 * inst/include/Rcpp/module/Module_generated_Pointer_method.h: Idem
5757 * inst/include/Rcpp/module/Module_generated_function.h: Idem
5758 * inst/include/Rcpp/module/Module_generated_get_signature.h: Idem
5759 * inst/include/Rcpp/module/Module_generated_method.h: Idem
5760
5761 2014-07-09 Kevin Ushey <[email protected]>
5762
5763 * inst/include/Rcpp/Language.h: OUT -> RESULT_TYPE
5764 * inst/include/Rcpp/generated/InternalFunction__ctors.h: Idem
5765 * inst/include/Rcpp/module/Module_generated_CppFunction.h: Idem
5766 * inst/include/Rcpp/module/Module_generated_CppMethod.h: Idem
5767 * inst/include/Rcpp/module/Module_generated_Pointer_CppMethod.h: Idem
5768 * inst/include/Rcpp/module/Module_generated_Pointer_method.h: Idem
5769 * inst/include/Rcpp/module/Module_generated_function.h: Idem
5770 * inst/include/Rcpp/module/Module_generated_get_signature.h: Idem
5771 * inst/include/Rcpp/module/Module_generated_method.h: Idem
5772 * inst/include/Rcpp/module/get_return_type.h: Idem
5773 * inst/include/Rcpp/sugar/block/SugarBlock_1.h: Idem
5774 * inst/include/Rcpp/sugar/block/SugarBlock_2.h: Idem
5775 * inst/include/Rcpp/sugar/block/SugarBlock_3.h: Idem
5776 * inst/include/Rcpp/sugar/block/SugarMath.h: Idem
5777 * inst/include/Rcpp/sugar/functions/complex.h: Idem
5778
5779 2014-07-08 Dirk Eddelbuettel <[email protected]>
5780
5781 * inst/include/Rcpp/InternalFunction.h: Add missing update(SEXP) method
5782 per GitHub Pull Request #152, with thanks to Omar Andres Zapata Mesa
5783 * inst/THANKS: Updated
5784
5785 2014-07-04 Dirk Eddelbuettel <[email protected]>
5786
5787 * vignettes/Rcpp-unitTests.Rnw: Commented-out copy of results to /tmp
5788
5789 2014-06-29 JJ Allaire <[email protected]>
5790
5791 * R/Attributes.R: fix setwd problem when sourceCpp used a
5792 relative path and included an R code chunk
5793
5794 2014-06-20 Dirk Eddelbuettel <[email protected]>
5795
5796 * include/Rcpp/sugar/functions/ifelse.h: Applied pull request #150 by
5797 Romain to have operator{} return the correct NA type
5798
5799 2014-06-11 Dirk Eddelbuettel <[email protected]>
5800
5801 * inst/include/Rcpp/macros/macros.h: No longer include
5802 macros/preprocessor_generated.h which was deprecated as of Rcpp 0.10.5
5803 * inst/include/Rcpp/macros/preprocessor_generated.h: Removed
5804
5805 2014-06-08 Dirk Eddelbuettel <[email protected]>
5806
5807 * cleanup: Do not remove 'build/Rcpp.pdf', thanks to hint by Kurt / CRAN
5808
5809 2014-06-06 Dirk Eddelbuettel <[email protected]>
5810
5811 * DESCRIPTION: Release 0.11.2
5812 * inst/NEWS.Rd: Release 0.11.2
5813 * inst/include/Rcpp/config.h: Release 0.11.2
5814 * debian/*: Similarly updated for new release to Debian
5815
5816 * tests/doRUnit.R: Additional check added for release version case
5817
5818 2014-06-05 JJ Allaire <[email protected]>
5819
5820 * R/Attributes.R: Use -std=c++0x for cpp11 plugin on Windows if R <= 3.0
5821
5822 2014-05-28 Kevin Ushey <[email protected]>
5823
5824 * inst/include/Rcpp/vector/vector_from_string.h: Protect result of
5825 Rf_mkString
5826
5827 2014-05-24 Dirk Eddelbuettel <[email protected]>
5828
5829 * .Rbuildignore: Add .dir-locals.el
5830
5831 2014-05-23 Dirk Eddelbuettel <[email protected]>
5832
5833 * R/Module.R (new_dummyObject): Remove erraneous quotes
5834
5835 * .dir-locals.el: Setting tab-width to 8
5836
5837 2014-05-18 Kevin Ushey <[email protected]>
5838
5839 * inst/include/Rcpp/vector/Vector.h: Safer casting to fix #146
5840 * inst/include/Rcpp/Environment.h: Idem
5841 * inst/include/Rcpp/api/meat/Environment.h: Idem
5842 * inst/include/Rcpp/vector/Vector.h: Idem
5843
5844 * .dir-locals.el: Added for project-local Emacs settings
5845
5846 2014-05-10 Dirk Eddelbuettel <[email protected]>
5847
5848 * R/Attributes.R (compileAttributes): Read Imports: as well
5849
5850 2014-05-07 Kevin Ushey <[email protected]>
5851
5852 * R/Attributes.R (.plugins[["cpp11"]]): Set USE_CXX1X to more
5853 reasonable non-empty value
5854
5855 2014-05-06 Kevin Ushey <[email protected]>
5856
5857 * R/Attributes.R (.plugins[["cpp11"]]): Set USE_CXX1X to non-empty
5858 value
5859
5860 2014-04-30 Dirk Eddelbuettel <[email protected]>
5861
5862 * R/Attributes.R: Add plugins for C++0x and C++1y
5863
5864 2014-04-30 JJ Allaire <[email protected]>
5865
5866 * R/Attributes.R: Use USE_CXX1X for cpp11 plugin when R >= 3.1
5867
5868 2014-04-02 Dirk Eddelbuettel <[email protected]>
5869
5870 * tests/doRUnit.R: Better RUnit error report with thanks to Murray
5871
5872 2014-03-18 JJ Allaire <[email protected]>
5873
5874 * man/cppFunction.Rd: Correct package header file example to use .h
5875
5876 2014-03-14 Dirk Eddelbuettel <[email protected]>
5877
5878 * inst/include/Rcpp/DataFrame.h: Add missing return in Impl method
5879
5880 2014-03-13 Dirk Eddelbuettel <[email protected]>
5881
5882 * DESCRIPTION: Release 0.11.1
5883 * inst/NEWS.Rd: Release 0.11.1
5884 * inst/include/Rcpp/config.h: Release 0.11.1
5885 * debian/*: Similarly updated for new release to Debian
5886
5887 2014-03-09 Kevin Ushey <[email protected]>
5888
5889 * inst/include/Rcpp/vector/const_string_proxy.h: Workaround for issue
5890 with constructing proxies from CHARSXPs
5891
5892 2014-03-08 Kevin Ushey <[email protected]>
5893
5894 * inst/include/Rcpp/proxy/proxy.h: Make sure proxies know about the
5895 const char* wrap shortcut
5896
5897 2014-03-08 Dirk Eddelbuettel <[email protected]>
5898
5899 * inst/include/Rcpp/proxy/Binding.h: Remove spurious ';' [g++ -pedantic]
5900 * inst/include/Rcpp/proxy/ProtectedProxy.h: Idem
5901 * inst/include/Rcpp/proxy/TagProxy.h: Idem
5902 * inst/include/Rcpp/proxy/AttributeProxy.h: Idem
5903
5904 2014-03-05 Kevin Ushey <[email protected]>
5905
5906 * inst/include/Rcpp/proxy/FieldProxy.h: bandaid for protection issue
5907 in operator= of FieldProxy
5908 * R/unit.tests.R: modify Rcpp:::test so we can run tests with
5909 gctorture(TRUE)
5910
5911 2014-03-03 Kevin Ushey <[email protected]>
5912
5913 * inst/include/Rcpp/proxy/SlotProxy.h: Add missing const_SlotProxy ctor
5914 definition
5915
5916 2014-02-24 Kevin Ushey <[email protected]>
5917
5918 * R/Rcpp.package.skeleton.R: make sure we add loadModule
5919 to NAMESPACE when module is TRUE
5920
5921 2014-02-23 Kevin Ushey <[email protected]>
5922
5923 * inst/include/Rcpp/DataFrame.h: better nrows behavior
5924
5925 2014-02-17 Romain Francois <[email protected]>
5926
5927 * inst/include/Rcpp/traits/un_pointer.h: fix bug in un_pointer for object<T>
5928
5929 2014-02-17 Kevin Ushey <[email protected]>
5930
5931 * src/attributes.cpp: Fix attributes behavior with
5932 ::create, and also add an option for a default constructor
5933 (e.g. NumericVector v = NumericVector(10)) gives a default
5934 value of 'numeric(10)' at the R level). Also make NAs
5935 keep their type when exposed to R.
5936
5937 2014-02-16 JJ Allaire <[email protected]>
5938
5939 * src/attributes.cpp Replace (incorrect) call to
5940 Rcpp::internal::jumpToTop with Rf_onintr
5941
5942 2014-02-07 Kevin Ushey <[email protected]>
5943
5944 * inst/include/Rcpp/Reference.h: Add default ctor
5945
5946 2014-02-03 Kevin Ushey <[email protected]>
5947
5948 * inst/include/Rcpp/vector/Vector.h: Enable conversion from
5949 Rcpp vectors to RObject
5950
5951 2014-02-02 Dirk Eddelbuettel <[email protected]>
5952
5953 * DESCRIPTION: Release 0.11.0
5954 * inst/NEWS.Rd: Release 0.11.0
5955 * inst/include/Rcpp/config.h: Release 0.11.0
5956 * debian/*: Similarly updated for new release to Debian
5957
5958 2014-02-02 JJ Allaire <[email protected]>
5959
5960 * R/Attributes.R: Use placeholder for .Call to avoid warning
5961
5962 2014-02-01 Dirk Eddelbuettel <[email protected]>
5963
5964 * tests/doRUnit.R: Simplified following pattern in RProtoBuf
5965
5966 * vignettes/Rcpp-unitTests.Rnw: Remove a now superfluous global var
5967
5968 * vignettes/Rcpp.bib: Updated references to current packages
5969
5970 2014-02-01 JJ Allaire <[email protected]>
5971
5972 * R/Attributes.R: Embedded R code chunks in sourceCpp can
5973 now be disabled
5974
5975 2014-01-31 Dirk Eddelbuettel <[email protected]>
5976
5977 * vignettes/Rcpp-FAQ.Rnw: Render code with background boxen
5978 * vignettes/Rcpp-package.Rnw: Idem
5979 * vignettes/Rcpp-modules.Rnw: Idem
5980 * vignettes/Rcpp-extending.Rnw: Idem
5981 * vignettes/Rcpp-sugar.Rnw: Idem
5982
5983 * vignettes/Rcpp-attributes.Rnw: Switched to highlight driver
5984
5985 * inst/include/Rcpp/Benchmark/Timer.h: Reverted back to using
5986 iterators via use of anonymous namespace for accessors
5987
5988 * inst/announce/ANNOUNCE-0.11.0.txt: Updated
5989
5990 2014-01-31 Dirk Eddelbuettel <[email protected]>
5991
5992 * man/Rcpp.package.skeleton.Rd: Also updated
5993
5994 2014-01-31 JJ Allaire <[email protected]>
5995
5996 * R/Attributes.R: Embedded R code chunks in sourceCpp are now
5997 executed within the working directory of the C++ source file.
5998
5999 2014-01-30 Dirk Eddelbuettel <[email protected]>
6000
6001 * vignettes/Rcpp-package.Rnw: Updates for upcoming release
6002
6003 2014-01-28 Dirk Eddelbuettel <[email protected]>
6004
6005 * vignettes/Rcpp-FAQ.Rnw: Some updates for upcoming release
6006
6007 2014-01-25 Dirk Eddelbuettel <[email protected]>
6008
6009 * inst/include/Rcpp/Benchmark/Timer.h: Simplified -- Rcpp Gallery
6010 example using it was not building any longer under g++
6011
6012 2014-01-23 Dirk Eddelbuettel <[email protected]>
6013
6014 * inst/announce/ANNOUNCE-0.11.0.txt: Added for next release
6015
6016 2014-01-21 Dirk Eddelbuettel <[email protected]>
6017
6018 * R/Rcpp.package.skeleton.R: Update skeleton package to add proper
6019 Imports: to DESCRIPTION, and importFrom() to NAMESPACE
6020
6021 2014-01-19 Kevin Ushey <[email protected]>
6022
6023 * inst/include/Rcpp/api/meat/Vector.h: Add missing UNPROTECT in
6024 push_back_name__impl
6025
6026 2014-01-18 Kevin Ushey <[email protected]>
6027
6028 * inst/unitTests/runit.S4.R: Add a test for ctor from slot proxy
6029 * inst/unitTests/cpp/S4.cpp: Add a test for ctor from slot proxy
6030 * inst/include/Rcpp/vector/Vector.h: Add missing r_cast to vector
6031 ctor from proxy
6032
6033 2014-01-18 JJ Allaire <[email protected]>
6034
6035 * R/Attributes.R: More restrictive matching of C++ file extensions
6036 for compileAttributes.
6037
6038 2014-01-18 Kevin Ushey <[email protected]>
6039
6040 * inst/unitTests/cpp/Matrix.cpp: Add unit test
6041 * inst/unitTests/runit.Matrix.R: Add unit test
6042 * inst/include/Rcpp/api/meat/Matrix.h: Bug fix in operator=
6043
6044 2014-01-17 Dirk Eddelbuettel <[email protected]>
6045
6046 * R/RcppLdpath.R (RcppCxxFlags): Restore function to supply values
6047 for include files for packages not yet converted to LinkingTo:
6048
6049 2014-01-16 JJ Allaire <[email protected]>
6050
6051 * inst/include/Rcpp/macros/macros.h: Use Rf_onintr rather than
6052 non-public Rf_jump_to_toplevel
6053 * inst/include/Rcpp/DateVector.h: Fix GreedyVector compilation error
6054 * inst/include/Rcpp/DatetimeVector.h: Fix GreedyVector compilation error
6055
6056 2014-01-15 Dirk Eddelbuettel <[email protected]>
6057
6058 * inst/include/Rcpp/exceptions.h: Move stop() into Rcpp namespace
6059
6060 2014-01-03 JJ Allaire <[email protected]>
6061
6062 * .gitignore: Added src/<object-files>, *.Rproj, and .Rproj.user
6063 * inst/include/Rcpp/Interrupt.h: New checkUserInterrupt function
6064 that provides a C++ friendly implementation of R_CheckUserInterrupt
6065 * inst/include/RcppCommon.h: Include Rcpp/Interrupts.h
6066 * inst/include/macros/macros.h: Check for interrupts in END_RCPP
6067 * src/attributes.cpp: Handle interrupted-error in attribute
6068 function envelope.
6069
6070 2013-12-31 Dirk Eddelbuettel <[email protected]>
6071
6072 * vignettes/Rcpp.bib: Updated CRAN package references
6073
6074 2013-12-20 Kevin Ushey <[email protected]>
6075
6076 * inst/include/Rcpp/sugar/tools/mapcompare.h: Use a union for
6077 type punning, to avoid compiler warning on aliasing. Also
6078 switch to uint64_t to enforce 64bit comparison.
6079 * inst/include/Rcpp/RObject.h: Add missing *this return for
6080 RObject_impl::operator=
6081
6082 2013-12-20 Dirk Eddelbuettel <[email protected]>
6083
6084 * inst/include/Rcpp/RObject.h: Applied fix by Kevin Ushey (#88)
6085 * inst/include/Rcpp/vector/Vector.h: Ditto (#89)
6086
6087 2013-12-01 Kevin Ushey <[email protected]>
6088
6089 * R/Rcpp.package.skeleton.R: Fixed bug relating to user-supplied
6090 functions in 'list' argument
6091 * inst/unitTests/runit.Rcpp.package.skeleton.R: Added unit tests
6092
6093 2013-11-30 Dirk Eddelbuettel <[email protected]>
6094
6095 * vignettes/Rcpp-FAQ.Rnw: Updated and corrected in several spots
6096
6097 2013-11-22 Dirk Eddelbuettel <[email protected]>
6098
6099 * inst/include/Rcpp/stats/nt.h: Correct expansion of (d|q|p)nt()
6100 * inst/unitTests/runit.stats.R: Added unit tests for t dist with ncp
6101 * inst/unitTests/cpp/stats.cpp: C++ side of expamded unit tests
6102
6103 2013-11-05 Dirk Eddelbuettel <[email protected]>
6104
6105 * .travis.yml: Added to support continuous integration on github
6106
6107 2013-10-28 Romain Francois <[email protected]>
6108
6109 * include/Rcpp/protection/Armor.h : Armor::operator SEXP has to be const
6110 for it to work properly with wrap.
6111
6112 2013-10-27 Dirk Eddelbuettel <[email protected]>
6113
6114 * DESCRIPTION: Release 0.10.6
6115 * inst/NEWS.Rd: Release 0.10.6
6116 * inst/include/Rcpp/config.h: Release 0.10.5
6117 * debian/*: Similarly updated for new release to Debian
6118
6119 2013-10-17 JJ Allaire <[email protected]>
6120
6121 * R/Attributes.R: sourceCpp now correctly binds to Rtools 3.0 and 3.1
6122
6123 2013-10-16 Dirk Eddelbuettel <[email protected]>
6124
6125 * R/Rcpp.package.skeleton.R (Rcpp.package.skeleton): Deprecate
6126 namespace argument which package.skeleton() no longer uses
6127 * man/Rcpp.package.skeleton.Rd: Updated documentation accordingly
6128
6129 2013-10-16 Romain Francois <[email protected]>
6130
6131 * include/Rcpp/api/meat/is.h : added missing implementation for
6132 is<Language> and is<DottedPair>
6133
6134 2013-10-14 Romain Francois <[email protected]>
6135
6136 * inst/include/Rcpp/protection/protection.h: added
6137 Shield/Shelter/Armor
6138 * DESCRIPTION: bump to version 0.10.5.3
6139
6140 2013-10-12 Dirk Eddelbuettel <[email protected]>
6141
6142 * DESCRIPTION (Depends): Rolled Depends: on R to "R (>= 3.0.0)" as
6143 required by the vignette building code (with thanks to Uwe Ligges)
6144
6145 2013-10-08 Dirk Eddelbuettel <[email protected]>
6146
6147 * NAMESPACE: Export LdFlags as well as RcppLdFlags
6148 * man/RcppLdFlags.Rd: Updated
6149
6150 2013-10-06 John M Chambers <[email protected]>
6151
6152 * R/exposeClass.R: avoid warning from unclosed file()
6153
6154 2013-10-06 John M Chambers <[email protected]>
6155
6156 * NAMESPACE: change classModule to exposeClass
6157 * R/classModule.R: delete
6158 * man/classModule.Rd: delete
6159 * R/exposeClass.R: add
6160 * man/exposeClass.Rd: add
6161 * man/setRcppClass.Rd: update, clarify, recommend exposeClass()
6162
6163 2013-10-03 John M Chambers <[email protected]>
6164
6165 * R/classModule.R: new function to write module file for class
6166 * man/classModule.Rd: documentation for new function classModule()
6167 * NAMESPACE: export classModule
6168 * R/loadModule.R: clean up an error message
6169 * R/RcppClass.R: defaults for module consistent w. classModule()
6170 * man/setRcppClass.Rd: add defaults, explain need for saveAs
6171
6172 2013-10-02 Dirk Eddelbuettel <[email protected]>
6173
6174 * inst/include/Rcpp/traits/is_na.h: More fixes thanks to Thomas Tse
6175
6176 2013-10-01 Dirk Eddelbuettel <[email protected]>
6177
6178 * inst/include/Rcpp/api/meat/is.h: Applied patch by Thomas Tse to
6179 provide missing Character(Vector|Matrix)
6180
6181 * DESCRIPTION: Bump to development release 0.10.5.1
6182
6183 2013-09-28 Dirk Eddelbuettel <[email protected]>
6184
6185 * DESCRIPTION: Release 0.10.5
6186 * inst/NEWS.Rd: Release 0.10.5
6187 * inst/include/Rcpp/config.h: Release 0.10.5
6188 * debian/*: Similarly updated for new release to Debian
6189
6190 * vignettes/Rcpp-unitTests.Rnw: Switched to Charter font just like
6191 the other eight vignettes
6192
6193 2013-09-28 Romain Francois <[email protected]>
6194
6195 * include/Rcpp/module/Module_generated_CppMethod.h : more code bloat
6196 to handle flexible semantics for passing parameters in methods
6197 * include/Rcpp/module/Module_generated_Pointer_CppMethod.h : same
6198 * inst/unitTests/cpp/Module.cpp: testing the above
6199 * unitTests/runit.Module.R: testing
6200
6201 2013-09-27 Dirk Eddelbuettel <[email protected]>
6202
6203 * vignettes/Rcpp-unitTests.Rnw: Re-activated vignette
6204 * DESCRIPTION: Version number bumped to 0.10.4.6
6205
6206 2013-09-27 Romain Francois <[email protected]>
6207
6208 * include/Rcpp/module/Module_generated_CppFunction.h : regenerated to
6209 use input_parameter traits for more flexible parameter passing strategy
6210 * unitTests/cpp/Module.cpp : more testing
6211 * unitTests/runit.Module.R : more testing
6212
6213 2013-09-22 Dirk Eddelbuettel <[email protected]>
6214
6215 * inst/include/Rcpp/sugar/functions/diff.h: Declare set_previous
6216 const and add a missing traits:: prefix before is_na
6217
6218 * inst/unitTests/cpp/sugar.cpp: Unit test for diff() of int. vector
6219 * inst/unitTests/runit.sugar.R: Invoke new test
6220
6221 2013-09-21 Dirk Eddelbuettel <[email protected]>
6222
6223 * vignettes/Rcpp-modules.Rnw: Remove vignette-local compilations
6224 which again caused problems for the Windows builds at R-Forge and
6225 win-builder. Unit tests comprise the same functionality and pass.
6226
6227 * vignettes/Rcpp-attributes.Rnw: Refresh look by using Bitstream
6228 Charter, and microtype package (cf http://www.khirevich.com/latex)
6229 * vignettes/Rcpp-extending.Rnw: Idem
6230 * vignettes/Rcpp-FAQ.Rnw: Idem
6231 * vignettes/Rcpp-modules.Rnw: Idem
6232 * vignettes/Rcpp-package.Rnw: Idem
6233 * vignettes/Rcpp-quickref.Rnw: Idem
6234 * vignettes/Rcpp-sugar.Rnw: Idem
6235
6236 2013-09-20 Dirk Eddelbuettel <[email protected]>
6237
6238 * R/Module.R: More ':::' cleanups to make R CMD check happy
6239 * R/RcppClass.R: Ditto
6240
6241 * NAMESPACE: Some new exports related to this
6242
6243 * man/setRcppClass.Rd: Document loadRcppClass()
6244 * man/Rcpp-internal.Rd: Added in order to document
6245 cpp_object_initializer() and cpp_object_dummy()
6246
6247 2013-09-19 Dirk Eddelbuettel <[email protected]>
6248
6249 * inst/include/Rcpp/longlong.h: Unbreak long long by making it (as
6250 before) conditional on g++ (or clang) as well as C++11. The condition
6251 can be OR'ed with another suitably-defined variable, but the default
6252 has to be off as CRAN compliance has to remain the standard
6253
6254 2013-09-19 Romain Francois <[email protected]>
6255
6256 * include/Rcpp/longlong.h: isolate all handling of long long
6257 in a separate file which we might choose not to include by default
6258
6259 * include/Rcpp/traits/r_sexptype_traits.h : unsigned int wrapped as
6260 REALSXP long standing feature request from Murray.
6261 * R/Attributes.R : Added the helper demangle and sizeof functions
6262 * man/demangle.Rd : Documentation for demangle and sizeof
6263 * include/Rcpp/platform/compiler.h : less restritive support of long
6264 long types. But still behind a test for gcc and a test for the
6265 availability of the type, and the __extension__. -pedantic does not
6266 warn about it
6267
6268 2013-09-18 JJ Allaire <[email protected]>
6269
6270 * R/Attributes.R: Don't search the inline package as a fallback when
6271 loading plugins for the the Rcpp::plugins attribute
6272
6273 2013-09-18 Romain Francois <[email protected]>
6274
6275 * vignettes/Rcpp-package.Rnw: Updating the vignette. Setting
6276 attributes to TRUE by default.
6277 * R/Rcpp.package.skeleton.R: Setting attributes to TRUE by
6278 default. This is what we should encourage people to use.
6279 * include/Rcpp/as.h: add as<char> specialization
6280 * include/Rcpp/sugar/functions/diff.h : rework the implementation of
6281 diff so that it works even when we don't know the previous value
6282 * unitTests/runit.sugar.R :
6283 * unitTests/cpp/sugar.cpp :
6284 * include/Rcpp/sugar/functions/range.h : factored out of minmax.h
6285 * include/Rcpp/sugar/functions/min.h : factored out of minmax.h
6286 * include/Rcpp/sugar/functions/max.h : factored out of minmax.h
6287 * TODO : 3 less items
6288
6289 2013-09-17 JJ Allaire <[email protected]>
6290
6291 * R/Attributes.R: Call inlineCxxPlugin and Rcpp.plugin.maker without
6292 qualification rather than with ':::'
6293
6294 2013-09-17 Dirk Eddelbuettel <[email protected]>
6295
6296 * NAMESPACE: Export RcppLdFlags which is often used to build Rcpp
6297 * man/RcppLdFlags.Rd: Added required manual page
6298 * R/Attributes.R: Call RcppLdFlags() via '::' instead of ':::'
6299 * R/SHLIB.R: Ditto
6300 * R/inline.R: Ditto
6301
6302 * vignettes/Rcpp-FAQ.Rnw: Add %\VignetteEngine{highlight::highlight}
6303 * vignettes/Rcpp-attributes.Rnw: Idem
6304 * vignettes/Rcpp-extending.Rnw: Idem
6305 * vignettes/Rcpp-modules.Rnw: Idem
6306 * vignettes/Rcpp-package.Rnw: Idem
6307 * vignettes/Rcpp-quickref.Rnw: Idem
6308 * vignettes/Rcpp-sugar.Rnw: Idem
6309
6310 * vignettes/Rcpp-package.Rnw: Altered to make use of highlight
6311 package; also no longer build embedded demo package (which upsets R
6312 CMD check under R-devel)
6313
6314 2013-09-16 JJ Allaire <[email protected]>
6315
6316 * R/Attributes.R : Remove calls to non-exported functions from the tools package
6317
6318 2013-09-16 Romain Francois <[email protected]>
6319
6320 * include/Rcpp/internal/Exporter.h : Specific handling of containers
6321 (std::vector, std::deque, and std::list so that we use their faster
6322 range constructor when we can, and so let the STL optimize how data
6323 is copied
6324 * include/Rcpp/api/meat/export.h : Implementation of the above
6325 * include/Rcpp/vector/Vector.h : added Vector( const char* ) ctor
6326 * DESCRIPTION : bump to 0.10.4.5 (for RcppExtras)
6327
6328 2013-09-15 Dirk Eddelbuettel <[email protected]>
6329
6330 * inst/include/Rcpp/InputParameter.h (Rcpp): Add 'const' case
6331
6332 * inst/unitTests/cpp/Vector.cpp: New unit tests for std::vector
6333 conversions, using both int and double arguments
6334 * inst/unitTests/runit.Vector.R: R complement of these tests
6335
6336 2013-09-15 Romain Francois <[email protected]>
6337
6338 * include/Rcpp/InputParameter.h : added the traits::input_parameter
6339 trait to add another layer of abstration.
6340 * include/Rcpp/macros/module.h : taking advantage of input_parameter
6341 to specialize how to work with module objects
6342 * src/attributes.cpp : using traits::input_parameter<T> instead of
6343 InputParameter<T>
6344
6345 2013-09-14 Dirk Eddelbuettel <[email protected]>
6346
6347 * src/attributes.cpp : Precede closing '>' by space to avoid '>>'
6348 * inst/include/Rcpp/platform/compiler.h: Further refine #if test for
6349 'long long' by conditioning __LP64__ on also using clang/llvm
6350
6351 * src/attributes.cpp : Precede closing '>' by space to avoid '>>'
6352
6353 2013-09-13 Romain Francois <[email protected]>
6354
6355 * src/api.cpp : added "long long" to the capabilities function.
6356 * include/Rcpp/platform/compiler.h : demangling is definitely
6357 available on all mac versions using gcc. No point is testing for OSX
6358 version.
6359 * include/Rcpp/InputParameter.h : extra layer of abstraction to allow
6360 for custom handling of references etc ... used in RcppArmadillo
6361 * src/attributes.cpp : using InputParameter
6362 * DESCRIPTION: bump to 0.10.4.4
6363
6364 2013-09-12 Romain Francois <[email protected]>
6365
6366 * include/Rcpp/platform/compiler.h : patch submitted by Murray for
6367 better support of long long type.
6368 * include/Rcpp/platform/compiler.h : gcc 4.2.1 has tr1/unordered_map
6369 and tr1/unordered_set. Previous test was for gcc 4.4.0 for some
6370 reason
6371
6372 2013-08-31 Dirk Eddelbuettel <[email protected]>
6373
6374 * inst/doc/*: Moved all vignettes to vignettes/*
6375 * vignettes/*: Minor updates to some vignettes
6376
6377 2013-08-22 Romain Francois <[email protected]>
6378
6379 * include/Rcpp/traits/is_primitive.h : new trait to identify if a
6380 type is primitive, this is a shortcut of using r_type_traits and
6381 compare it to r_type_primitive_tag
6382 * include/Rcpp/traits/r_type_traits.h : new tag r_type_pair_tag to
6383 handle wrapping map<KEY, VALUE> where KEY can be converted to String
6384 and VALUE can wrap itself
6385 * include/Rcpp/internal/wrap.h : handling map<KEY, VALUE> and vector<T>
6386 where T is a class handled by modules
6387 * include/Rcpp/api/meat/wrap.h : implementations to handle map<KEY,
6388 VALUE>
6389 * unitTests/cpp/wrap.cpp : more tests for map<KEY, VALUE> with KEY
6390 not a string
6391 * unitTests/runit.wrap.R : more tests for map<KEY, VALUE> with KEY
6392 not a string
6393
6394 * include/Rcpp/internal/export.h : added export_range__dispatch for
6395 the r_type_generic_tag tag. Meaning we can now use as< vector<T> >
6396 where T is not a primitive
6397 * include/Rcpp/api/meat/export.h : implementation in meat because it needs as
6398
6399 2013-08-01 Romain Francois <[email protected]>
6400
6401 * unitTests/cpp/wstring.cpp: fix to re-enable wstring test suite.
6402 * unitTests/runit.wstring.R: re-enable the wstring test suite.
6403
6404 2013-07-31 Dirk Eddelbuettel <[email protected]>
6405
6406 * DESCRIPTION: Bump development version to 0.10.4.3
6407
6408 * inst/doc/Makefile: Rejigged pdf builds in another attempt at
6409 pleasing whatever runs the builds on r-forge. L'espoir fait vivre.
6410
6411 2013-07-25 Romain Francois <[email protected]>
6412
6413 * include/Rcpp/sugar/functions/is_na.h : added is_na for DateVector and
6414 DatetimeVector
6415 * include/Rcpp/Date.h : added is_na method
6416 * include/Rcpp/Datetime.h : added is_na method
6417 * unitTests/cpp/dates.cpp : removed the ignoreme useless parameters
6418 * unitTests/runit.Date.R : idem
6419 * src/attributes.cpp: collecting functions in a FunctionMap. Will use this
6420 for dispatching
6421
6422 2013-07-24 Romain Francois <[email protected]>
6423
6424 * include/Rcpp/traits/is_module_object.h: trait class that identifies
6425 at compile time if a given type is a type exposed by a module,
6426 i.e. if we used the RCPP_EXPOSED_AS macro
6427 * include/Rcpp/is.h: able to identify if an object is of a given type
6428 exposed by a module (supports references and pointers too).
6429 * src/Module.cpp: implementation of is_module_object_internal that
6430 checks if an object is of a given typeid, used by is<T> where T is
6431 module exposed
6432
6433 2013-07-23 Romain Francois <[email protected]>
6434
6435 * include/Rcpp/as.h: support as<T*> and as<const T*> where T is a class
6436 exposed by modules
6437 * include/Rcpp/macros/module.h: idem
6438 * include/Rcpp/traits/un_pointer.h: handle the object<T> case
6439 * include/Rcpp/traits/r_type_traits.h: adding traits to help the with
6440 as<T*> and as<const T*>
6441 * unitTests/runit.Module.R: testing as<T*> and as<const T*>
6442 * unitTests/cpp/Module.cpp: idem
6443 * src/attributes.cpp: take advantage of a more flexible as<>. The
6444 Type class gains a full_name() method that shows const-ness and
6445 reference-ness
6446
6447 2013-07-17 Romain Francois <[email protected]>
6448
6449 * include/Rcpp/vector/instantiation.h: added the DoubleVector alias
6450 to NumericVector
6451 * include/Rcpp/is.h: added is template function
6452
6453 2013-07-11 Dirk Eddelbuettel <[email protected]>
6454
6455 * R/Attributes.R: Add an OpenMP plugin
6456
6457 2013-07-03 Romain Francois <[email protected]>
6458
6459 * unitTests/runit.modref.R: using sourceCpp
6460 * unitTests/runit.Module.R: using sourceCpp
6461 * unitTests/runit.Vector.R: no more uses of inline
6462 * unitTests/runTests.R: we don't need inline no more for testing
6463 * doc/unitTests/Rcpp-unitTests.R: idem
6464
6465 2013-07-02 Romain Francois <[email protected]>
6466
6467 * include/Rcpp/vector/Vector.h: fill__dispatch was mispelled (as
6468 fill_dispatch) for the non trivial case, so it did not work
6469 * unitTests/runit.Matrix.R: using sourceCpp
6470 * unitTests/runit.misc.R: using sourceCpp
6471 * unitTests/runit.wrap.R: using sourceCpp
6472 * unitTests/runit.support.R: using sourceCpp
6473 * unitTests/runit.rmath.R: using sourceCpp
6474 * unitTests/runit.RObject.R: using sourceCpp
6475 * unitTests/runit.stats.R: using sourceCpp
6476 * unitTests/runit.XPTr.R: using sourceCpp
6477 * unitTests/runit.Vector.R: testing List( int, IntegerVector ) which
6478 eventually uses fill__dispatch
6479 * include/Rcpp/traits/r_type_traits.h: support for as<T&> and as<const T&>
6480 when T is module exposed
6481 * include/Rcpp/as.h: as<T&> and as<const T&> when T is module exposed
6482 * include/Rcpp/module/Module_generated_CppFunction.h: removed the
6483 remove_const_and_reference since as<T&> and as<const T&> is supported
6484 * src/attributes.cpp: automatically populating the environment with
6485 the content of a module, rather than make the module object available
6486 in the environment
6487
6488 2013-07-01 Romain Francois <[email protected]>
6489
6490 * R/unit.test.R: added helper function Rcpp:::unit_test_setup to avoid
6491 some boiler plate code in unit test files. See e.g. runit.Function.R for
6492 an example
6493 * unitTests/runit.as.R: using sourceCpp
6494 * unitTests/runit.Function.R: using sourceCpp
6495 * unitTests/runit.DataFrame.R: remove dependency on datasets
6496
6497 2013-06-25 Dirk Eddelbuettel <[email protected]>
6498
6499 * src/api.cpp: Also test for #defined(__sun) when checking for system
6500 lacking a valid backtrace() function for stack traces
6501
6502 2013-06-25 Romain Francois <[email protected]>
6503
6504 * DESCRIPTION : devel version 0.10.4.1
6505 * src/Module.cpp : bring a simplified version of RCPP_FUNCTION 1 .. 4
6506 * unitTests/runit.macros.R : removed, as RCPP_FUNCTION ... are deprecated
6507 * include/Rcpp/macros/preprocessor_generated.h : deprecating RCPP_FUNCTION_... macros
6508
6509 2013-06-24 Dirk Eddelbuettel <[email protected]>
6510
6511 * inst/include/Rcpp/platform/compiler.h: Note the useful wiki page
6512 http://sourceforge.net/p/predef/wiki/Home with #defines for OSs,
6513 compilers, libraries and more
6514
6515 2013-06-23 Dirk Eddelbuettel <[email protected]>
6516
6517 * DESCRIPTION: Release 0.10.4
6518 * inst/NEWS.Rd: Release 0.10.4
6519 * inst/include/Rcpp/config.h: Release 0.10.4
6520 * debian/*: Similarly updated for new release to Debian
6521
6522 2013-06-19 Romain Francois <[email protected]>
6523
6524 * inst/NEWS.Rd: Document planned depreciation of old RCPP_FUNCION_*
6525 macros which are redundant thanks to Rcpp Modules and Rcpp Attributes
6526
6527 * include/Rcpp/vector/string_proxy.h : added operator
6528 string_proxy::operator==( const string_proxy& ) so that me may
6529 compare x[i] and y[i] (x and y being CharacterVector)
6530
6531 * include/Rcpp/module/Module_generated_Pointer_CppMethod.h : remove
6532 const and reference to OUT type in several places, that was causing
6533 problems e.g. on making the Rcpp-modules vignette
6534
6535 * include/Rcpp/module/Module_generated_CppMethod.h : idem
6536
6537 2013-06-18 Romain Francois <[email protected]>
6538
6539 * include/Rcpp/module/Module_generated_CppFunction.h : using
6540 BEGIN_RCPP / END_RCPP as suggested by Ben North on Rcpp-devel. This
6541 should reduce cross dll exceptions issues on windows.
6542
6543 2013-06-14 Romain Francois <[email protected]>
6544
6545 * include/Rcpp/stats/random/runif.h : removed unused max variable
6546 * include/Rcpp/stats/random/rf.h : removed unused n1 and n2 variables
6547
6548 2013-06-13 Romain Francois <[email protected]>
6549
6550 * src/Module.cpp: small buglet in macro. Reported on Rcpp-devel
6551
6552 2013-06-12 Dirk Eddelbuettel <[email protected]>
6553
6554 * inst/doc/Makefile: Force serial build of vignettes in yet another
6555 effort to not let R-Forge fail when trying to rebuild them
6556
6557 2013-06-08 Dirk Eddelbuettel <[email protected]>
6558
6559 * inst/doc/Rcpp.bib: Updated entries
6560
6561 * inst/doc/Rcpp-introduction.Rnw: Added pointer to 'Rcpp Attributes'
6562 vignette, as well as to 'Rcpp Sugar' and 'Rcpp Modules' vignettes.
6563 * inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Idem
6564
6565 2013-06-06 Romain Francois <[email protected]>
6566
6567 * unitTests/cpp/Vector.cpp : more unit tests for erase
6568 * unitTests/runit.Vector.R : more unit tests for erase
6569
6570 2013-06-05 Romain Francois <[email protected]>
6571
6572 * include/Rcpp/api/meat/Vector.h : fixed Vector<>::erase(iterator,
6573 iterator) and correct return value of erase
6574 * unitTests/cpp/Vector.cpp : added regression test for the above fix
6575 * unitTests/runit.Vector.R : added regression test for the above fix
6576 * include/Rcpp/module/class.h : removed useless typedef
6577
6578 2013-05-31 Romain Francois <[email protected]>
6579
6580 * unitTests/runit.sugar.R : new test for is_infinite and is_nan
6581 * unitTests/cpp/sugar.cpp : new test for is_infinite and is_nan
6582 * include/Rcpp/sugar/functions/is_infinite.h : new function
6583 is_infinite
6584 * include/Rcpp/traits/is_infinite.h : new function is_infinite
6585 * include/Rcpp/sugar/functions/is_nan.h : new function is_nan
6586 * include/Rcpp/traits/is_nan.h : new function is_nan
6587
6588 2013-05-30 Romain Francois <[email protected]>
6589
6590 * include/Rcpp/sugar/functions/all.h : bug fixed for the NA=false
6591 case
6592 * include/Rcpp/sugar/functions/is_na.h : header
6593 * include/Rcpp/sugar/functions/is_finite.h : added sugar is_finite
6594 function
6595 * include/Rcpp/traits/is_finite.h : added is_finite trait
6596 * unitTests/runit.sugar.R : added test for is_finite
6597 * unitTests/cpp/S4.cpp : new cpp file to host S4 unit tests
6598 * unitTests/runit.S4.R : rework unit tests to use attributes
6599 * unitTests/runit.Reference.R : unit tests for Rcpp::Reference
6600 * unitTests/cpp/Reference.cpp : unit tests c++ code
6601
6602 2013-05-26 Dirk Eddelbuettel <[email protected]>
6603
6604 * src/api.cpp: Minor tweak for internal formatting
6605
6606 2013-05-24 J.J. Allaire <[email protected]>
6607
6608 * R/Attributes.R: Disallow compilation for files that don't have
6609 extensions supported by R CMD SHLIB
6610
6611 2013-05-21 J.J. Allaire <[email protected]>
6612
6613 * R/Attributes.R: Lookup plugins in inline package if they aren't
6614 found within the Rcpp package
6615 * man/pluginsAttribute.Rd: Documentation updates.
6616
6617 2013-05-17 J.J. Allaire <[email protected]>
6618
6619 * src/attributes.cpp: prevent gc problems with RNGScope destructor
6620 in attributes generated functions; don't include package header
6621 file in generated cpp exports file
6622 * src/api.cpp: use unsigned long for RNG scope counter
6623
6624 2013-04-28 Dirk Eddelbuettel <[email protected]>
6625
6626 * src/api.cpp (Rcpp): No longer use Rd_format(Real|Complex) which is
6627 a very verboten R internal; formatting to string is now very bare
6628 bones
6629
6630 2013-04-27 Dirk Eddelbuettel <[email protected]>
6631
6632 * src/Makevars: Improved use as well as a new possible overrride of
6633 /usr/bin/install_name_tool on OS X, once again contributed by Simon
6634
6635 2013-04-16 Romain Francois <[email protected]>
6636
6637 * include/Rcpp/sugar/functions/na_omit.h : new function na_omit to
6638 remove missing values from a vector.
6639 * src/attributes.cpp : portability fix (from Martyn Plummer)
6640 * include/Rcpp/api/meat/Vector.h : portability fix (from Martyn
6641 Plummer)
6642
6643 2013-04-14 Romain Francois <[email protected]>
6644
6645 * include/Rcpp/traits/is_na.h: complex version did not work.
6646 added default for VECSXP and EXPRSXP versions
6647
6648 2013-04-02 Dirk Eddelbuettel <[email protected]>
6649
6650 * src/Date.cpp: Corrected operator-() for Date and Datetime objects
6651 to behave more inline with C++ standard
6652
6653 * inst/include/Rcpp/Date.h: operator-() for Dates now returns a
6654 double as the date itself is fractional double since epoch
6655
6656 * inst/unitTests/cpp/dates.cpp: New file with C++ portion of tests
6657 factored out from R unit test file
6658 * inst/unitTests/runit.Date.R: Rewritten for use with new C++ tests
6659
6660 2013-04-02 Romain Francois <[email protected]>
6661
6662 * include/Rcpp/generated/DataFrame_generated.h : DateFrame::create
6663 uses List::create and then feeds to the DataFrame constructor, which
6664 seems to work better than the previous approach of calling back to the
6665 data.frame function in R
6666 * include/Rcpp/DataFrame.h : private function from_list, to help
6667 the new implementation of DataFrame::create
6668 * src/api.cpp : impl of DataFrame::from_list
6669
6670 2013-03-31 Dirk Eddelbuettel <[email protected]>
6671
6672 * debian/control (Build-Depends): Modified for Debian-only rebuilds
6673 under (rc version of upcoming) R 3.0.0 release
6674 * debian/changelog: Entry for Debian build 0.10.3-2
6675
6676 2013-03-29 Dirk Eddelbuettel <[email protected]>
6677
6678 * src/api.cpp (Rcpp): Re-enable coerce_to_string<>() for real and
6679 complex types with Poor Man's Versions (TM) of Rf_EncodeReal and
6680 Rf_EncodeComplex which the Powers That Be disallow from being used
6681
6682 2013-03-27 Romain Francois <[email protected]>
6683
6684 * include/Rcpp/vector/MatrixRow.h : removed unintended printed
6685 messaged (reported on Rcpp-devel by Michaeal Love)
6686
6687 2013-03-23 Dirk Eddelbuettel <[email protected]>
6688
6689 * DESCRIPTION: Release 0.10.3
6690 * inst/NEWS.Rd: Release 0.10.3
6691 * inst/include/Rcpp/config.h: Release 0.10.3
6692 * debian/*: Similarly updated for new release to Debian
6693
6694 2013-03-21 Dirk Eddelbuettel <[email protected]>
6695
6696 * inst/unitTests/runit.wstring.R (test.as_vector_wstring): replace
6697 the "€" symbol with its unicode equivalent "\u20ac"
6698
6699 2013-03-20 Dirk Eddelbuettel <[email protected]>
6700
6701 * inst/doc/Rcpp.bib: Updated versions for several CRAN packages
6702
6703 * inst/CITATION: Add information about forthcoming book
6704
6705 2013-03-20 Romain Francois <[email protected]>
6706
6707 * include/Rcpp/traits/is_wide_string.h : fixes to re-enable wrap(
6708 vector<char> ) and wrap( vector<wchar_t> ), needed to support package
6709 httpuv
6710 * include/Rcpp/internal/wrap.h : same
6711
6712 2013-03-19 Dirk Eddelbuettel <[email protected]>
6713
6714 * inst/include/Rcpp/config.h: Define RCPP_USE_NEW_PRESERVE_RELEASE
6715 with default value of 0 to enable/disable new preserve/release code
6716
6717 * src/api.cpp: Bracket the new Rcpp object preserve / release code
6718 with the new variable RCPP_USE_NEW_PRESERVE_RELEASE and fall back
6719 to R behaviour if not set
6720
6721 2013-03-12 Romain Francois <[email protected]>
6722
6723 * include/Rcpp/Module.h: added virtual destructor to CppProperty
6724
6725 2013-03-08 Dirk Eddelbuettel <[email protected]>
6726
6727 * inst/include/Rcpp/platform/compiler.h: Improved g++ version
6728 detection with thanks to Yan Zhou
6729
6730 2013-02-28 JJ Allaire <[email protected]>
6731
6732 * src/attributes.cpp: standalone roxygen chunks (e.g. to document
6733 a class) are now transposed into RcppExports.R
6734
6735 2013-02-27 JJ Allaire <[email protected]>
6736
6737 * R/Rcpp.package.skeleton.R: eliminated spurious empty hello world
6738 function definition in Rcpp.package.skeleton
6739
6740 2013-02-24 JJ Allaire <[email protected]>
6741
6742 * R/Attributes.R: add global package include file to RcppExports.cpp
6743 if it exists; handle Rcpp module definitions in sourceCpp
6744 * src/attributes.cpp: handle Rcpp module definitions in sourceCpp
6745 * man/sourceCpp.Rd: documentation updates
6746
6747 2013-02-20 Dirk Eddelbuettel <[email protected]>
6748
6749 * inst/include/Rcpp/platform/compiler.h: As deteced by Gong-Yi Liao,
6750 we need to test for __LONG_LONG_MAX__ (defined in limits.h) and not
6751 LONG_LONG_MAX (defined climits which we do not include)
6752
6753 2013-02-19 Romain Francois <[email protected]>
6754
6755 * src/api.cpp : more debugging
6756 * include/RcppCommon.h : move sexp_to_name here. Used in some debugging
6757 * include/Rcpp/vector/MatrixRow.h : fix const version of operator[]
6758 * include/Rcpp/vector/Vector.h : more debugging
6759 * include/Rcpp/internal/wrap.h : more debugging. more dispatch.
6760
6761 2013-02-18 Romain Francois <[email protected]>
6762
6763 * include/Rcpp/vector/string_proxy.h : only declare operator+=
6764 * include/Rcpp/String.h : define string_proxy::operator+=, now that
6765 String is defined.
6766
6767 2013-02-15 JJ Allaire <[email protected]>
6768
6769 * R/Attributes.R: Merge existing values of build related
6770 environment variables for sourceCpp
6771
6772 2013-02-12 Romain Francois <[email protected]>
6773
6774 * src/api.cpp : More careful about RCPP_PROTECTION_STACK init
6775
6776 2013-02-08 Romain Francois <[email protected]>
6777
6778 * include/Rcpp/as.h: re-enable as<std::string>(CharacterVector[int])
6779 2013-02-07 Dirk Eddelbuettel <[email protected]>
6780
6781 * inst/THANKS: Adding Ben North for the help / bug report on iterators
6782
6783 2013-02-05 Romain Francois <[email protected]>
6784
6785 * include/Rcpp/vector/string_proxy.h : more wstring support
6786 * include/Rcpp/XPtr.h : more debugging. removed delete_finalizer
6787 which is no longer used
6788
6789 2013-02-05 JJ Allaire <[email protected]>
6790
6791 * src/attributes.cpp : ensure that line comments invalidate block
6792 comments when parsing for attributes
6793
6794 2013-02-04 Romain Francois <[email protected]>
6795
6796 * include/Rcpp/traits/r_type_traits.h : make the
6797 r_type_pairstring_string_tag tag more general, handling wstring as
6798 well as string
6799 * include/Rcpp/internal/wrap.h : using make_charsexp, a more generic
6800 version of charsexp_from_wstring.
6801 * include/Rcpp/as.h : more support fot wstring
6802 * include/Rcpp/internal/wrap.h : rework the support of wstring
6803 * include/Rcpp/internal/export.h : added as_string_elt to rework the
6804 support of wstring
6805 * include/Rcpp/traits/char_type.h : new trait to help the wstring
6806 support
6807 * include/Rcpp/String.h : added some support for wstring
6808 * include/Rcpp/vector/string_proxy.h : adapt to add wstring support
6809 * unitTests/runit.wstring.R : unit tests for wstring support
6810 * unitTests/cpp/wstring.cpp : unit tests for wstring support
6811
6812 2013-02-03 Romain Francois <[email protected]>
6813
6814 * include/Rcpp/traits/wrap_type_traits.h : support for wrap( wstring )
6815 * include/Rcpp/internal/export.h : exporting wstring and containers
6816 of wstring
6817 * include/Rcpp/internal/wrap.h : support for wrap( wstring ) and
6818 containers of wstring
6819 * include/RcppCommon.h : definition of charsexp_from_wstring
6820 * src/api.cpp: implementation of charsexp_from_wstring
6821
6822 2013-02-02 Romain Francois <[email protected]>
6823
6824 * include/Rcpp/vector/MatrixRow.h: correct operator++(int) and
6825 operator--(int)
6826 * include/Rcpp/internal/Proxy_Iterator.h: correct operators ++ and --
6827 * include/Rcpp/sugar/Range.h: correct operators ++ and --
6828 * include/Rcpp/sugar/tools/iterator.h: correct operators ++ and --
6829 * include/Rcpp/vector/MatrixBase.h : correct operators ++ and --
6830 * include/Rcpp/vector/VectorBase.h : correct operators ++ and --
6831 * unitTests/cpp/Vector.cpp: new unit tests
6832 * unitTests/runit.Vector.R: new unit tests
6833 * src/api.cpp: comment dropTrailing0 which is not used anymore
6834 * include/Rcpp/as.h: support for as<wstring>
6835 * include/Rcpp/internal/export.h: more support for wstring
6836
6837 2013-01-15 Dirk Eddelbuettel <[email protected]>
6838
6839 * src/api.cpp (Rcpp): Commented-out coerce_to_string() for real and
6840 complex arguments as R-devel (as of today) dislikes use of non-API
6841 functions Rf_EncodeComplex’, ‘Rf_EncodeReal’, ‘Rf_formatComplex’
6842
6843 * .Rbuildignore: Added inst/include/Rcpp/preprocessor and
6844 sugar/functions/impl which are currently empty directories
6845
6846 * src/Timer.cpp (Rcpp): Avoid a 'long long' warning from a const
6847
6848 2014-01-15 JJ Allaire <[email protected]>
6849
6850 * R/Attributes.R: don't add source directory as an include path for
6851 sourceCpp; fix duplicate inclusion of Rcpp directory
6852 * R/RcppLdpath.R: don't quote paths on windows
6853
6854 2014-01-14 JJ Allaire <[email protected]>
6855
6856 * DESCRIPTION: bump version to 0.10.2.3
6857 * R/Attributes.R: handle build paths with spaces on windows
6858 * R/RcppLdpath.R: handle build paths with spaces on windows
6859 * R/tools.R: handle build paths with spaces on windows
6860 * src/Timer.cpp: fix OSX build (remove __MACH__ define check)
6861 * R/: set svn eol-style native for source files
6862 * src/: set svn eol-style native for source files
6863 * inst/include/: set svn eol-style native for source files
6864
6865 2014-01-13 JJ Allaire <[email protected]>
6866
6867 * R/Attributes.R: use plugin includes in cppFunction; stop with
6868 explicit error on Windows then the Rcpl libPath or sourceCpp target
6869 file contains spaces in it's path; add source file directory as an
6870 include path for sourceCpp; special handling for sourceCpp include
6871 paths on windows
6872 * man/pluginsAttribute.Rd: clarify which fields of plugin are
6873 used by sourceCpp
6874
6875 2014-01-12 JJ Allaire <[email protected]>
6876
6877 * DESCRIPTION: bump version to 0.10.2.2
6878 * NAMESPACE: add registerPlugin function
6879 * R/Attributes.R: add registerPlugin function; add plugins parameter
6880 to cppFunction
6881 * man/cppFunction.Rd: documentation updates
6882 * man/pluginsAttribute.Rd: documentation updates
6883 * man/registerPlugin: documentation updates
6884
6885 2014-01-11 JJ Allaire <[email protected]>
6886
6887 * R/Attributes.R: initial support for Rcpp::plugins attribute; add
6888 built-in cpp11 plugin
6889 * src/attributes.cpp: initial support for Rcpp::plugins attribute
6890
6891 2014-01-04 JJ Allaire <[email protected]>
6892
6893 * R/Attributes.R: null check on pkginfo depends field
6894
6895 2013-01-02 Dirk Eddelbuettel <[email protected]>
6896
6897 * src/Timer.cpp (Rcpp): Applied refinement of previously applied
6898 patch re *BSD builds, see http://bugs.debian.org/697032 for more
6899
6900 2012-12-30 Dirk Eddelbuettel <[email protected]>
6901
6902 * src/Timer.cpp (Rcpp): Added defined() tests for more *BSD family
6903 members as the build also failed with the FreeBSD Kernel on Debian
6904
6905 2012-12-27 Dirk Eddelbuettel <[email protected]>
6906
6907 * src/Timer.cpp (Rcpp): Applied patch kindly supplied by Rainer
6908 Hurling to support compilation on FreeBSD
6909
6910 2012-12-26 JJ Allaire <[email protected]>
6911
6912 * R/Attributes.R: return invisibly from void functions
6913 * src/attributes.cpp: return invisibly from void functions
6914
6915 2012-12-21 Romain Francois <[email protected]>
6916
6917 * NAMESPACE : remove C++ObjectS3 and C++ClassRepresentation classes
6918 * R/00_classes.R: remove unused S4 classes
6919 * src/internal.h: added Rcpp_PreserveObject, Rcpp_ReleaseObject and
6920 Rcpp_ReplaceObject as replacements to R_ versions. The back end of the Rcpp_
6921 version is a list (generic vector) instead of a linked list and
6922 is faster
6923 * src/Module.cpp: more debugging
6924 * src/barrier.cpp: added get_Rcpp_protection_stack used in the new
6925 stack system for protecting/releasing objects in Rcpp
6926 * src/api.cpp: implemetation of Rcpp_PreserveObject, Rcpp_ReleaseObject
6927 and Rcpp_ReplaceObject. RObject::setSEXP now uses the new system.
6928 The RObject(SEXP) constructor now directly uses Rcpp_PreserveObject
6929 More debugging for the RObject class
6930 Changes in api classes to better use the new protection system
6931 * unitTests/cpp/language.cpp: hosting unit test in sourceCpp form
6932 * unitTests/runit.Language.R: update unit tests
6933 * unitTests/runit.Module.client.package.R: remove code that has been
6934 commented for ages
6935 * include/Rcpp/DottedPair.h: better use of the RObject constructor
6936 * include/Rcpp/vector/Vector.h: better use of the RObject constructor
6937 * include/Rcpp/vector/Matrix.h: Using update_matrix instead of the virtual
6938 update which has been removed.
6939 * include/Rcpp/Module.h : more careful about types and constructors
6940 * include/Rcpp/XPtr.h: more debugging
6941 * include/Rcpp/macros/debug.h: more debugging macros
6942 * include/Rcpp/module/class_Base.h: using classes instead of SEXP
6943 * include/Rcpp/module/class.h: using classes instead of SEXP
6944 * include/Rcpp/generated/Language__ctors.h : using update_language_object
6945 instead of the virtual update which has been removed.
6946 * include/Rcpp/api/meat/Vector.h : using update_vector instead of the
6947 virtual update that has been removed, more debugging
6948 * include/Rcpp/api/meat/Matrix.h : more debugging, using update_matrix
6949 instead of the virtual update which has been removed
6950 * include/Rcpp/Language.h : added update_language_object to
6951 replace update which was virtual
6952 * include/Rcpp/RObject.h : only keep declarations here
6953
6954 2012-12-21 Dirk Eddelbuettel <[email protected]>
6955
6956 * DESCRIPTION: Release 0.10.2
6957 * inst/NEWS.Rd: Release 0.10.2
6958 * inst/include/Rcpp/config.h: Release 0.10.2
6959 * debian/*: Similarly updated for new release to Debian
6960
6961 * inst/doc/unitTests/Rcpp-unitTests.R: added one more variable so
6962 that unitTest vignette can be built against new sourceCpp based files
6963
6964 2012-12-15 Romain Francois <[email protected]>
6965
6966 * include/Rcpp/exceptions.h: added exception_to_r_condition
6967 * exceptions.cpp: new implementation of forward_exception_to_r that
6968 directly calls stop rather than a function in Rcpp
6969 * R/exceptions.R: remove code rendered useless
6970 * src/Rcpp_init.c: less exports
6971 * src/api.cpp: less going back to the R side
6972
6973 2012-12-14 Romain Francois <[email protected]>
6974
6975 * include/Rcpp/sugar/functions/clamp.h: clamp was pretty wrong
6976 * unitTests/runit.sugar.R: new unit test for clamp
6977 * unitTests/cpp/sugar.cpp: new unit test for clamp
6978
6979 2012-12-12 JJ Allaire <[email protected]>
6980
6981 * src/Attributes.R: always generate new dynlib file for rebuild=TRUE
6982 * src/attributes.cpp: set svn:eol-style to native; always generate
6983 new dynlib file for rebuild=TRUE; don't declare attributes constant
6984 strings extern
6985
6986 2012-12-12 Romain Francois <[email protected]>
6987
6988 * include/Rcpp/Symbol.h: c_str becomes const and added
6989 Symbol::operator==(const char* )
6990
6991 2012-12-11 JJ Allaire <[email protected]>
6992
6993 * R/Attributes.R: always print output when shared library is not
6994 created
6995 * src/attributes.cpp: consolidate attributes into single file
6996 * src/Attributes.cpp: consolidate attributes into single file
6997 * src/AttributesGen.h: consolidate attributes into single file
6998 * src/AttributesGen.cpp: consolidate attributes into single file
6999 * src/AttributesParser.h: consolidate attributes into single file
7000 * src/AttributesParser.cpp: consolidate attributes into single file
7001 * src/AttributesTypes.h: consolidate attributes into single file
7002 * src/AttributesUtil.h: consolidate attributes into single file
7003 * inst/NEWS.Rd: additional notes on changes to attributes
7004 * inst/doc/Rcpp-attributes/Rcpp-attributes.Rnw: update for changes to
7005 attributes in 0.10.2
7006
7007 2012-12-11 Romain Francois <[email protected]>
7008
7009 * include/Rcpp/String.h: missing operator +=( const StringProxy& )
7010 * include/Rcpp/sugar/functions/strings/strings.h : string sugar functions
7011 * include/Rcpp/sugar/functions/strings/collapse.h : collapse
7012 function, implementing paste( . , collapse = "" )
7013 * include/Rcpp/complex.h: operator==( Rcomplex, Rcomplex )
7014 * src/api.cpp: implementation of operator==(Rcomplex, Rcomplex)
7015 * include/Rcpp/vector/Vector.h: added const version of operator[](string)
7016
7017 2012-12-10 JJ Allaire <[email protected]>
7018
7019 * R/Attributes.R: warn when depends attribute is not matched with
7020 required entries in package description; add Rtools to PATH for
7021 duration of sourceCpp
7022 * src/Attributes.cpp: warn when depends attribute is not matched with
7023 required entries in package description
7024 * src/AttributesGen.cpp: prune unnecessary includes from RcppExports
7025 * src/Timer.cpp: fix timer build issues on windows
7026
7027 2012-12-10 Romain Francois <[email protected]>
7028
7029 * src/api.cpp: import r_cast.cpp, coerce.cpp, RcppCommon.cpp
7030 and debugging.cpp content
7031 * include/platform/compiler.h: put here compiler specific deduction things
7032 * src/internal.h: new header to host function declarations for
7033 routines that are not exported into Rcpp.h
7034 * src/Rcpp_init.c: export capabilities (renamed rcpp_capabilities)
7035 * include/Rcpp/traits/traits.h: master file for all traits includes
7036 * include/Rcpp/macros/macros.h: master file for all macros includes
7037 * include/Rcpp/DataFrame.h: just have declaration for DataFrame
7038 * include/Rcpp/Benchmark/Timer.h: move it into the Rcpp:: namespace
7039 * include/Rcpp/cache.h: clean
7040 * include/Rcpp/Reference.h : field was declared const and should not
7041 be. added a ConstFieldProxy class for read only use
7042
7043 2012-12-09 Romain Francois <[email protected]>
7044
7045 * src/api.cpp: merge many .cpp files here to reduce compile time
7046 * src/barrier.cpp: merge with cache.cpp to reduce compile time
7047 * include/Rcpp/exceptions.h: drop forward_uncaught_exceptions_to_r
7048 * src/exceptions.cpp: drop forward_uncaught_exceptions_to_r
7049 * src/Date.cpp: merge all Date related files
7050
7051 2012-12-08 Romain Francois <[email protected]>
7052
7053 * src/Timer.cpp: implementation of Timer
7054 * include/Rcpp/Benchmark/Timer.h: internal performance timer, based on
7055 the code from the microbenchmark package
7056 * include/Rcpp/api/meat/Matrix.h: move more in Matrix meat
7057 * src/Date.cpp: import the code from posixt.cpp
7058
7059 2012-12-07 JJ Allaire <[email protected]>
7060
7061 * src/AttributesGen.cpp: use __ prefix for variables in generated
7062 code; add RNGScope for attribute exported functions.
7063
7064 2012-12-07 Romain Francois <[email protected]>
7065
7066 * src/random.cpp: instantiations of random generators here
7067 * include/Rcpp/stats/random/random.h: only have declarations of
7068 random generators here. Rework the Generator template so that it
7069 inherits RNGScope to provide automatic calls to GetRNGstate and
7070 PutRNGstate
7071
7072 2012-12-06 JJ Allaire <[email protected]>
7073
7074 * R/Attributes.R: revert DOS newlines; use new shared library name
7075 for each rebuild in sourceCpp
7076 * src/Attributes.cpp: revert DOS newlines; define RCPP_NO_SUGAR;
7077 use new shared library name for each rebuild in sourceCpp
7078 * src/AttributesGen.cpp: revert DOS newlines; convert 'try-error'
7079 to exception for C++ interfaces
7080 * src/AttributesGen.h: 'try-error' to exception for C++ interfaces
7081 * src/AttributesParser.cpp: revert DOS newlines; define RCPP_NO_SUGAR
7082 * src/RcppCommon.cpp: conversion from exeption to 'try-error'
7083 * include/Rcpp/exceptions.h: conversion from exeption to 'try-error'
7084 * include/Rcpp/preprocessor.h: add END_RCPP_RETURN_ERROR macro
7085 to convert exceptions to 'try-error' objects
7086 * include/Rcpp/iostream/Rstreambuf.h: revert DOS newlines
7087 * DESCRIPTION: bump version to 0.10.1.5
7088
7089 2012-12-06 Dirk Eddelbuettel <[email protected]>
7090
7091 * src/exceptions.cpp: Added include of cstdlib to compile
7092
7093 2012-12-06 Romain Francois <[email protected]>
7094
7095 * include/Rcpp/api/meat/Environment.h: meat for Environment
7096 * src/exceptions.cpp: include config so that it knows that Rcpp can
7097 demangle
7098 * unitTests/runit.environments.R: using sourceCpp
7099 * src/Environment.cpp: less includes
7100 * src/Evaluator.cpp: less includes
7101
7102 2012-12-05 Romain Francois <[email protected]>
7103
7104 * src/cache.cpp: added get_cache
7105 * include/Rcpp/hash/IndexHash.h: use a cached integer vector for the
7106 hash table payload. The cache vector increases as needed.
7107 * include/Rcpp/iostream/Rostream.h: make Rostream a template
7108 * include/Rcpp/iostream/Rstreambuf.h: make Rstreambuf a template
7109 * src/AttributesGen.cpp : include exceptions.h which was included
7110 implicitely by Rostream.h before
7111 * include/Rcpp/macros/debug.h : factor out the debugging macros
7112 * include/Rcpp/api/meat/RObject.h : only declare templates that use
7113 as and wrap. they are implemented later in the meat directory
7114 * include/Rcpp/api/meat/meat.h: directory containing implementations
7115 of templates using as and wrap
7116 * include/RcppCommon.h: removed unused test_named
7117 * src/RcppCommon.cpp: removed unused test_named
7118 * src/r_cast.cpp: less includes
7119 * src/posixt.cpp: less includes
7120
7121 2012-12-05 JJ Allaire <[email protected]>
7122
7123 * src/Attributes.R: direct hookup of external ptr in sourceCpp
7124 * src/Attributes.cpp: use code generation for compileAttributes;
7125 direct hookup of external ptr in sourceCpp
7126 * src/AttributesGen.cpp: use code generation for compileAttributes;
7127 direct hookup of external ptr in sourceCpp
7128 * src/AttributesGen.h: use code generation for compileAttributes;
7129 direct hookup of external ptr in sourceCpp
7130 * src/Module.cpp: fix typo in GetCppCallable
7131 * include/Rcpp/iostream/Rstreambuf.h: add cstdio include
7132 * DESCRIPTION: bump version to 0.10.1.4
7133
7134 2012-12-04 Dirk Eddelbuettel <[email protected]>
7135
7136 * inst/include/Rcpp/hash/hash.h: Added include inttypes.h for intptr_t
7137
7138 2012-12-04 JJ Allaire <[email protected]>
7139
7140 * R/Attributes.R: use simple code generation for sourceCpp
7141 * src/Attributes.cpp: move generators into their own source file;
7142 use simple code generation for sourceCpp
7143 * src/AttributesGen.cpp: move generators into their own source file;
7144 add C++ default argument parsing
7145 * src/AttributesGen.h: move generators into their own source file
7146 * src/AttributesParser.cpp: move generators into their own source file
7147 * src/AttributesParser.h: move generators into their own source file
7148 * src/AttributesTypes.h: new header for attributes types
7149 * src/AttributesUtil.h: new header for attributes utilities
7150
7151 2012-12-04 Romain Francois <[email protected]>
7152
7153 * include/Rcpp/hash/hash.h: new implementation of IndexHash, based on
7154 Simon's fastmatch package
7155 * include/Rcpp/sugar/functions/match.h: more efficient version of match
7156 using new IndexHash
7157 * include/Rcpp/sugar/functions/unique.h: more efficient version of
7158 unique and in using IndexHash
7159 * include/Rcpp/sugar/functions/duplicated.h: more efficient version
7160 of duplicated and in using IndexHash
7161 * include/Rcpp/sugar/functions/self_match.h: more efficient version
7162 of self_match and in using IndexHash
7163 * include/Rcpp/vector/Vector.h: more efficiently create Vector from
7164 sugar expression that are already vectors, i.e. grab the SEXP
7165
7166 2012-12-03 Dirk Eddelbuettel <[email protected]>
7167
7168 * inst/include/RcppCommon.h: Applied patch kindly contributed by Yan
7169 Zhou which provides a number of more refined definition for support
7170 of both the C++11 standard and different compilers
7171 * inst/include/Rcpp/internal/wrap.h: Idem
7172 * inst/include/Rcpp/sugar/sugar.h: Idem
7173 * inst/include/Rcpp/traits/comparator_type.h: Idem
7174 * inst/include/Rcpp/vector/Vector.h: Idem
7175 * inst/unitTests/runit.wrap.R: Idem
7176 * src/RcppCommon.cpp: Idem
7177
7178 * DESCRIPTION: Increase minor dev. version once more
7179
7180 2012-12-03 JJ Allaire <[email protected]>
7181
7182 * R/Attributes.R: added function to check whether R development
7183 tools are currently installed
7184
7185 2012-12-03 Romain Francois <[email protected]>
7186
7187 * src/Module.cpp: move BEGIN_RCPP/END_RCPP to Module__invoke
7188 * src/coerce.cpp: added coerce_to_string implementations
7189 * include/RcppCommon.h : nicer formatting for RCPP_DEBUG_*, now up to
7190 RCPP_DEBUG_5
7191 * include/Rcpp/vector/Vector.h: debugging
7192 * include/Rcpp/String.h: The String class
7193 * include/Rcpp/as.h: support for String
7194 * include/Rcpp/vector/converter.h : support for String
7195 * include/Rcpp/vector/string_proxy.h: support for String
7196 * include/Rcpp/internal/wrap.h : support for String
7197 * include/Rcpp/internal/r_coerce.h: support for String
7198 * include/Rcpp/sugar/functions/sapply.h: debugging
7199 * include/Rcpp/traits/wrap_type_traits.h: support for String
7200 * include/Rcpp/traits/r_type_traits.h: support for String
7201 * unitTests/cpp/String.cpp : unit tests for String
7202 * unitTests/runit.String.R: unit test for String
7203 * include/Rcpp/sugar/sets.h: support for String
7204
7205 2012-12-01 Dirk Eddelbuettel <[email protected]>
7206
7207 * inst/include/RcppCommon.h: Applied patch by Yan Zhou to add support
7208 for clang++ with libc++, and Intel's icpc when std=c++11
7209
7210 2012-11-29 Romain Francois <[email protected]>
7211
7212 * unitTests/runit.DataFrame.R: using sourceCpp
7213 * include/Rcpp/vector/Matrix.h: fix yet another const correctness issue
7214
7215 2012-11-27 Dirk Eddelbuettel <[email protected]>
7216
7217 * inst/include/Rcpp/iostream/Rostream.h: Check before deleting buf
7218
7219 2012-11-26 Dirk Eddelbuettel <[email protected]>
7220
7221 * DESCRIPTION: Release 0.10.1
7222 * inst/NEWS.Rd: Release 0.10.1
7223 * inst/include/Rcpp/config.h: Release 0.10.1
7224 * debian/*: Similarly updated for new release to Debian
7225
7226 * DESCRIPTION: Added paragraph about Rcpp attributes
7227 * debian/control: Idem
7228
7229 2012-11-26 Romain Francois <[email protected]>
7230
7231 * include/Rcpp/Module.h: comment out the unused and unuseable
7232 converter overload.
7233 * include/Rcpp/sugar/functions/pmin.h: be consistent about how the
7234 pmin_op helper struct is defined (always a struct).
7235 * include/Rcpp/sugar/functions/pmax.h: same for pmax
7236 * include/Rcpp/stats/random/rbeta.h: fixed constructor issue
7237 * unitTests/runit.sugar.R: rework to use sourceCpp instead of inline
7238 * include/Rcpp/vector/Vector.h: added ctor to deal with
7239 SingleLogicalResult
7240 * include/Rcpp/vector/Matrix.h: another const correctness fix
7241
7242 2012-11-25 JJ Allaire <[email protected]>
7243
7244 * R/Attributes.R: use echo = TRUE for sourceCpp R code chunks
7245 * src/Module.cpp: BEGIN_RCPP/END_RCPP in InternalFunction_invoke
7246 * inst/doc/Rcpp-attributes/Rcpp-attributes.Rnw: add documentation
7247 on correct semantics for signaling error conditions
7248
7249 2012-11-24 JJ Allaire <[email protected]>
7250
7251 * inst/doc/Rcpp-attributes/Rcpp-attributes.Rnw: expand discussion
7252 of binary compatibility issues.
7253
7254 2012-11-23 Romain Francois <[email protected]>
7255
7256 * src/AttributesParser.cpp : attempt to fix build issue on r-forge
7257 * include/Rcpp/DataFrame.h: nrows() method
7258 * include/Rcpp/vector/RangeIndexer.h: now derives from VectorBase so
7259 that we can use it in sugar.
7260
7261 2012-11-22 JJ Allaire <[email protected]>
7262
7263 * include/exceptions.h: new exception constructor / stop function
7264 * src/exceptions.cpp: new exception constructor / stop function
7265 * include/RcppCommon.h: new exception constructor / stop function
7266
7267 2012-11-22 Romain Francois <[email protected]>
7268
7269 * include/Rcpp/iostream.h: use delete rdbuf() as recommended by
7270 Martyn Plummer
7271 * include/Rcpp/sugar/functions/self_match.h: self_match, giving a
7272 functionality similar to match( x, unique(x) )
7273 * src/coerce.cpp: added coercion to STRSXP
7274 * include/Rcpp/internal/r_coerce.h : added r_coerce<.,STRPSXP>
7275 * include/Rcpp/sugar/functions/table.h: sugar table
7276 * include/Rcpp/sugar/functions/duplicated.h: sugar duplicated
7277
7278 2012-11-21 JJ Allaire <[email protected]>
7279
7280 * R/Rcpp.package.skeleton.R: add 'attributes' and 'cpp_files'
7281 parameters to Rcpp.pacakge.skeleton
7282 * inst/skeleton/rcpp_hello_world_attributes.cpp: version of hello world
7283 that uses attributes
7284 * man/Rcpp.package.skeleton.Rd: doc updates
7285 * inst/doc/Rcpp-attributes/Rcpp-attributes.Rnw: doc updates
7286 * DESCRIPTION: bump version to 0.10.0.3
7287
7288 2012-11-21 Dirk Eddelbuettel <[email protected]>
7289
7290 * inst/examples/Misc/piBySimulation.r: New simple example using Rcpp
7291 attributes in a 'compute pi by simulation in R and C++' exercise
7292 * inst/examples/Misc/piSugar.cpp: Corresponding C++ variant
7293
7294 2012-11-21 Romain Francois <[email protected]>
7295
7296 * include/Rcpp/iostream/Rostream.h: Fix warning given by -Wreorder
7297 * include/Rcpp/sugar/functions/mapply/mapply_3.h: more flexible
7298 * include/Rcpp/vector/Vector.h: More efficient assign_object, which
7299 is used in the assignment operator
7300 * include/Rcpp/sugar/functions/clamp.h: added clamp function
7301
7302 2012-11-20 JJ Allaire <[email protected]>
7303
7304 * src/Attributes.cpp: ensure dynlib cache state is always updated
7305 * inst/doc/Rcpp-attributes/Rcpp-attributes.Rnw: elaborate further
7306 on exporting C++ interfaces from packages
7307
7308 2012-11-20 Romain Francois <[email protected]>
7309
7310 * include/Rcpp/iostream/Rostream.h: change order of initiaization in
7311 ctor. was making solaris compiler unhappy
7312 * include/Rcpp/stats/random/rnorm.h: not using function pointer
7313 generators, as this generates (anachronisms) warning on
7314 solaris. Also, this version is more efficient since there is no need
7315 to dereference the function pointer
7316
7317 2012-11-19 JJ Allaire <[email protected]>
7318
7319 * src/AttributesParser.h: support for argument default values
7320 * src/AttributesParser.cpp: support for argument default values
7321 * src/Attributes.cpp: support for argument default values
7322 * man/exportAttribute.Rd: documentation updates
7323 * man/compileAttributes.Rd: documentation updates
7324 * man/sourceCpp.Rd: documentation updates
7325 * inst/doc/Rcpp-attributes/Rcpp-attributes.Rnw: add documentation
7326 on changes to attributes in 0.10.1
7327
7328 2012-11-18 JJ Allaire <[email protected]>
7329
7330 * R/Attributes.R: sourceCpp embedded R code; print warning if no
7331 export attributes are found in source file
7332 * src/AttributesParser.h: sourceCpp embedded R code
7333 * src/AttributesParser.cpp: sourceCpp embedded R code; new scheme
7334 for mixing user and generated C++ headers
7335 * src/Attributes.cpp: sourceCpp embedded R code; include <Rcpp.h>
7336 above generated modules
7337 * man/sourceCpp.Rd: documentation updates
7338 * man/interfacesAttribute.Rd: documentation updates
7339
7340 2012-11-18 Romain Francois <[email protected]>
7341
7342 * include/Rcpp/vector/converter.h: allow CharacterVector::create(
7343 NA_STRING )
7344 * include/Rcpp/sugar/functions/mapply/mapply_2.h: more cases in mapply
7345
7346 2012-11-17 Dirk Eddelbuettel <[email protected]>
7347
7348 * inst/doc/Rcpp-modules/Rcpp-modules.Rnw: Change free function name
7349 'range' to 'uniformRange' to protect it from getting clobbered by the
7350 new sugar function range.
7351
7352 2012-11-17 Romain Francois <[email protected]>
7353
7354 * include/Rcpp/internal/wrap_end.h: have calls to wrap as late as
7355 possible so that they "see" all (potentially user defined) overloads
7356 of wrap.
7357 * include/Rcpp/internal/SEXP_Iterator.h: directly iterate over SEXP.
7358 const iterator for List and ExpressionVector
7359
7360 2012-11-16 Romain Francois <[email protected]>
7361
7362 * include/Rcpp/vector/Vector.h : added static methods Vector::is_na
7363 and Vector::get_na
7364 * include/Rcpp/sugar/functions/setdiff.h: initial version of setdiff
7365 and intersect
7366 * include/Rcpp/vector/MatrixColumn.h: dealing with const-ness
7367 * include/Rcpp/vector/MatrixRow.h: dealing with const-ness
7368 * include/Rcpp/vector/traits.h: dealing with const-ness
7369 * include/Rcpp/vector/proxy.h: dealing with const-ness
7370 * include/Rcpp/vector/MatrixBase.h: dealing with const-ness
7371 * include/Rcpp/vector/Vector.h: dealing with const-ness
7372
7373 2012-11-15 Romain Francois <[email protected]>
7374
7375 * include/Rcpp/sugar/logical/SingleLogicalResult.h : apply patch
7376 suggested by Karl Millar
7377 * R/Attributes.R: new R function areMacrosDefined
7378 * man/evalCpp.Rd: documentation update
7379 * include/Rcpp/sugar/functions/match.h : generic version of match
7380 * include/Rcpp/sugar/tools/iterator.h: help iterator that helps
7381 writing match in terms of stl algorithms.
7382 * include/Rcpp/vector/Vector.h: class no_init that can be used to create
7383 an uninitialized vector. e.g. IntegerVector out = no_init(10) ;
7384 * include/Rcpp/sugar/functions/unique.h: sugar version of %in% using
7385 unordered_set
7386 * include/Rcpp/sugar/functions/minmax.h: min, max, and range
7387
7388 2012-11-14 JJ Allaire <[email protected]>
7389
7390 * src/Attributes.cpp: create sourceCpp context list using single
7391 statement
7392
7393 2012-11-14 Dirk Eddelbuettel <[email protected]>
7394
7395 * inst/announce/ANNOUNCE-0.10.0.txt: Fix typo spotted by Martin
7396 Morgan in announcement mail
7397
7398 2012-11-14 Romain Francois <[email protected]>
7399
7400 * include/Rcpp/internal/wrap.h: fix for wrap( std::complex<double> )
7401 * include/Rcpp/module/class_Base.h: factored out from Module.h
7402 * R/00_classes.R: the C++Class gains the parents slot to hold information
7403 about parent classes of the class
7404 * src/Module.cpp : The CppClass constructor fills the parents slot of C++Class
7405
7406 2012-11-13 Dirk Eddelbuettel <[email protected]>
7407
7408 * DESCRIPTION: Release 0.10.0
7409 * inst/NEWS: Release 0.10.0
7410 * inst/include/Rcpp/config.h: Release 0.10.0
7411 * debian/*: Similarly updated for new release to Debian
7412
7413 2012-11-13 Romain Francois <[email protected]>
7414
7415 * include/Rcpp/as.h: as<enum>
7416 * include/Rcpp/internal/wrap.h : wrap( enum )
7417 * include/Rcpp/traits/wrap_type_traits.h: trait to help wrap( enum )
7418 * include/Rcpp/traits/r_type_traits.h: trait to help as<enum>
7419 * include/Rcpp/module/macros.h: macros RCPP_EXPOSED_ENUM to help as/wrap
7420 of enums
7421
7422 2012-11-12 Dirk Eddelbuettel <[email protected]>
7423
7424 * inst/announce/ANNOUNCE-0.10.0.txt: Announcement draft
7425
7426 2012-11-12 JJ Allaire <[email protected]>
7427
7428 * inst/doc/Rcpp-attributes/*: New vignette
7429
7430 2012-11-12 Romain Francois <[email protected]>
7431
7432 * include/Rcpp/vector/Vector.h : adding const_iterator and associated
7433 begin() and end() methods
7434 * include/Rcpp/vector/Matrix.h : idem
7435
7436 2012-11-11 JJ Allaire <[email protected]>
7437
7438 * src/Attributes.cpp: fully qualify _ in generated code
7439
7440 2012-11-11 Romain Francois <[email protected]>
7441
7442 * include/Rcpp/iostream/Rstreambuf.h: implementing sync() so that
7443 flush works
7444 * src/Rstreambuf.cpp: implementation
7445 * src/Rostream.cpp : added Rcerr that forwards to REprintf
7446
7447 2012-11-10 JJ Allaire <[email protected]>
7448
7449 * R/Attributes.R: ensure function definitions are never stale
7450 * src/Attributes.cpp: add optional hook for inclusion of package types
7451 * examples/Attributes/Export.cpp: example use of Rcpp::export
7452 * examples/Attributes/Depends.cpp: example use of Rcpp::depends
7453 * examples/Attributes/sourceCpp.R: example use of sourceCpp()
7454 * examples/Attributes/cppFunction.R: example use of cppFunction()
7455
7456 2012-11-09 Romain Francois <[email protected]>
7457
7458 * R/Attributes.R: Passing verbose from evalCpp to cppFunction
7459 * include/RcppCommon.h: include <limits> instead of <limits.h>
7460 * include/Rcpp/vector/CharacterVectorExtractionIterator.h: iterator
7461 class to quickly iterate over the content of a CharacterVector. The
7462 content that is iterated over is to be considered read-only.
7463
7464 2012-11-08 JJ Allaire <[email protected]>
7465
7466 * R/Attributes.R: special sourceCpp handling for file within the src
7467 directory of a package; use .h as suffix for generated headers
7468 * src/Attributes.cpp: add information on arguments to Rcpp module;
7469 use inline rather than static linkage for generated C++ shims;
7470 generated headers: add header guard and use .h suffix;
7471 * man/cppFunction.Rd: update documentation
7472 * man/sourceCpp.Rd: update documentation
7473 * man/evalCpp.Rd: update documentation
7474 * man/exportAttribute.Rd: update documentation
7475 * man/interfacesAttribute.Rd: update documentation
7476
7477
7478 2012-11-08 Romain Francois <[email protected]>
7479
7480 * R/Module.R: Module functions taking no arguments don't get the ellipsis
7481 anymore in their formals
7482 * src/Module.cpp: passing up the number of arguments of the function
7483 * R/Attributes.R: added evalCpp
7484 * man/evalCpp.Rd: documentation for evalCpp
7485
7486 2012-11-07 JJ Allaire <[email protected]>
7487
7488 * R/Attributes.R: derive depends from package LinkingTo; change
7489 sourceCpp plugin parameter to depends and respect Rcpp::interfaces
7490 generated include files
7491 * src/Attributes.cpp: validate exported C++ functions before calling;
7492 use static rather than inline for stubs to avoid call-site bloat;
7493 improved error message when package hpp already exists; import Rcpp
7494 namespace into package shim namespace
7495 * src/AttributesParser.h: add signature and isHidden methods
7496 * src/AttributesParser.cpp: add signature and isHidden methods
7497 * src/exceptions.cpp: add function_not_exported exception
7498 * include/Rcpp/exceptions.h: add function_not_exported exception
7499 * man/cppFunction.Rd: update documentation
7500 * man/sourceCpp.Rd: update documentation
7501 * man/compileAttributes.Rd: update documentation
7502 * man/dependsAttribute.Rd: update documentation
7503 * man/exportAttribute.Rd: update documentation
7504 * man/interfacesAttribute.Rd: update documentation
7505
7506 2012-11-07 Romain Francois <[email protected]>
7507
7508 * src/Language.cpp: Language gains a fast_eval method, without the whole try/catch
7509 * src/barrier.cpp: function char_nocheck to avoid the check in using CHAR
7510 * include/Rcpp/sugar/functions/unique.h: sugar unique and sort_unique
7511 using unordered_set (perhaps we could use it from c++11).
7512
7513 2012-11-06 JJ Allaire <[email protected]>
7514
7515 * R/Attributes.R: tweak whitespace in verbose mode
7516 * src/AttributesParser.h: support for interfaces attribute
7517 * src/AttributesParser.cpp: support for interfaces attribute
7518 * src/Attributes.cpp: support for interfaces attribute; refactor
7519 code generators; use single module for exports; return list of
7520 updated files from compileAttributes
7521 * src/Module.cpp: add package parameter to GetCppCallable
7522 * include/Rcpp/Module.h: add package parameter to GetCppCallable
7523 * man/compileAttributes.Rd: documentation updates
7524
7525 2012-11-05 Romain Francois <[email protected]>
7526
7527 * include/Rcpp/Module.h: added class CppInheritedProperty to handle
7528 inherited properties
7529 * include/Rcpp/module/class.h: implemented inheritance of properties
7530
7531 2012-11-05 JJ Allaire <[email protected]>
7532
7533 * R/Attributes.R: use modules for attribute code generation
7534 * src/Attributes.cpp: use modules for attribute code generation
7535 * src/AttributesParser.h: use modules for attribute code generation
7536 * src/AttributesParser.cpp: use modules for attribute code generation
7537
7538 2012-11-04 Dirk Eddelbuettel <[email protected]>
7539
7540 * tests/doRUnit.R: In "development releases" (such as 0.9.15.5) we
7541 now default to setting the required CRAN-test-workaround-kludge
7542 "RunAllRcppTests" to "yes" as a default -- but not for actual
7543 releases (with versions such as 0.9.15)
7544
7545 2012-11-04 Romain Francois <[email protected]>
7546
7547 * include/Rcpp/module/CppFunction.h: fixed module bug (virtual function
7548 was not defined)
7549
7550 2012-11-03 JJ Allaire <[email protected]>
7551
7552 * Use CLINK_CPPFLAGS rather than PKG_CXXFLAGS for LinkingTo
7553 include directories (identical behavior to inline)
7554
7555 2012-11-03 Romain Francois <[email protected]>
7556
7557 * include/Rcpp/sugar/functions/which_min.h : sugar which.min
7558 * include/Rcpp/sugar/functions/which_max.h : sugar which.max
7559 * include/Rcpp/module/Module.h : added get_function_ptr which returns
7560 the pointer of the target function as a DL_FUNC
7561
7562 2012-11-02 Dirk Eddelbuettel <[email protected]>
7563
7564 * inst/unitTests/runit.rmath.R: More tests added
7565
7566 2012-11-02 Romain Francois <[email protected]>
7567
7568 * include/Rcpp/module/CppFunction.h : factored CppFunction in its own
7569 file and added the get_function_ptr virtual method. added
7570 documentation
7571 * include/Rcpp/module/Module_generated_CppFunction.h: implementation
7572 of get_function_ptr in classes that derive CppFunction
7573 * src/Module.cpp: s/get_function_ptr/get_function/
7574 * include/Rcpp/module/Module.h : factored out and documented.
7575 s/get_function_ptr/get_function/
7576
7577 2012-11-01 Dirk Eddelbuettel <[email protected]>
7578
7579 * inst/unitTests/runit.rmath.R: New unit test file added
7580
7581 2012-11-01 JJ Allaire <[email protected]>
7582
7583 * R/Attributes.R: change 'envir' param to 'env' for consistency with
7584 the interface of loadModule
7585 * man/sourceCpp.Rd: documentation updates
7586 * man/cppFunction.Rd: documentation updates
7587
7588 2012-11-01 Romain Francois <[email protected]>
7589
7590 * include/Rcpp/sugar/logical/or.h : implementing x | y where x and y
7591 are Logical sugar expressions
7592 * include/Rcpp/sugar/logical/and.h : implementing x & y where x and y
7593 are Logical sugar expressions
7594
7595 2012-10-31 JJ Allaire <[email protected]>
7596
7597 * R/Attributes.R: add cppFunction for inline-style definitions;
7598 change 'local' param to (more clear and explicit) 'envir' param;
7599 change 'show.output' param to 'showOutput'; add parameter to
7600 onBuild hook to indicate if the source was from a 'code' parameter
7601 * src/Attributes.cpp: factored parser into it's own file
7602 * src/AttributesParser.h: attributes parser header
7603 * src/AttributesParser.cpp: attributes parser implementation
7604 * man/sourceCpp.Rd: documentation updates
7605 * man/compileAttributes.Rd: documentation updates
7606 * man/cppFunction.Rd: documentation for cppFunction
7607 * NAMESPACE: export for cppFunction
7608
7609 2012-10-31 Romain Francois <[email protected]>
7610
7611 * include/Rcpp/module/class.h: factored out of Module.h which started to
7612 be too big. class_ gains a derives<Parent>( "Parent" ) for so that the
7613 class inherits method that were exposed by its parent.
7614 * include/Rcpp/Module.h: template class CppInheritedMethod for
7615 implementing inherited method
7616 * src/Module.cpp: get_class_pointer implementation
7617
7618 2012-10-30 Dirk Eddelbuettel <[email protected]>
7619
7620 * inst/include/Rcpp/Rmath.h: Finalised adding Rmath functions
7621
7622 2012-10-30 JJ Allaire <[email protected]>
7623
7624 * R/Attributes.R: new functions sourceCpp and compileAttributes that
7625 use C++11 style attributes (embedded in comments) to perform
7626 automatic generation of boilerplate marshaling code
7627 * src/Attributes.cpp: support functions for attribute handling
7628 * include/Rcpp/exceptions.h: file io exception classes
7629 * man/sourceCpp.Rd: documentation for sourceCpp
7630 * man/compileAttributes.Rd: documentation for compileAttributes
7631 * man/exportAttriute.Rd: documentation for export attribute
7632 * man/dependsAttribute.Rd: documentation for depends attribute
7633 * NAMESPACE: exports for sourceCpp and compileAttributes
7634
7635 2012-10-30 Romain Francois <[email protected]>
7636
7637 * include/Rcpp/as.h: new bare_as to simplify uses of as
7638 * include/Rcpp/module/Module_generated_Factory.h: using bare_as
7639 * R/Module.R: promoting the show method
7640 * src/Attributes.cpp: remove g++ warning (int != size_t)
7641
7642 2012-10-29 Dirk Eddelbuettel <[email protected]>
7643
7644 * inst/include/Rcpp/Rmath.h: More Rmath functions
7645
7646 2012-10-29 Romain Francois <[email protected]>
7647
7648 * R/Module.R: Taking care of a check warning
7649 * include/Rcpp/module/macros.h: adding RCPP_EXPOSED_CLASS_NODECL
7650 * include/Rcpp/Module.h: introducing converter to facilitate
7651 conversion between classes.
7652 * R/Module.R: Methods registered internally with converter will
7653 generate the appropriate "as" S4 method.
7654
7655 2012-10-28 Dirk Eddelbuettel <[email protected]>
7656
7657 * inst/include/Rcpp/Rmath.h: Beginnings of a namespave 'R' around
7658 Rmath functions so that Rcpp users can call the (scalar) functions
7659 R::pnorm() which helps with adapting or integrating programs writting
7660 outside of Rcpp
7661
7662 2012-10-27 Dirk Eddelbuettel <[email protected]>
7663
7664 * inst/include/Rcpp/module/macros.h: Add forward declaration of class
7665 to macro 'RCPP_EXPOSED_CLASS'
7666
7667 2012-10-25 Romain Francois <[email protected]>
7668
7669 * include/Rcpp/internal/wrap.h: wrapping module object with the help
7670 of the RCPP_EXPOSED_CLASS
7671 * include/Rcpp/module/macros.h: improving the macros so that wrap and
7672 as are covered
7673 * include/Rcpp/traits/wrap_type_traits.h: wrapping module objects
7674 * include/Rcpp/module/Module_generated_class_factory.h : factories
7675 are alternatives to constructors. For now, we can expose as factories
7676 any free function that returns a pointer to the target class
7677 * include/Rcpp/module/Module_generated_Factory.h : factories
7678 * include/Rcpp/Module.h: exposing factories
7679
7680 2012-10-24 Romain Francois <[email protected]>
7681
7682 * include/Rcpp/traits/is_pointer.h: traits to identify if a type is a
7683 pointer
7684 * include/Rcpp/traits/un_pointer.h: traits to remove a pointer
7685 * include/Rcpp/module/Module_generated_get_return_type.h : handle
7686 pointer return types
7687 * include/Rcpp/config.h: define RCPP_HAS_DEMANGLING for MAC OS <=
7688 10.7 (up to Lion)
7689 * include/Rcpp/module/macros.h: new file that contains macro to help
7690 with modules
7691 * include/Rcpp/traits/r_type_traits.h : new tag to allow as<T> where
7692 T is some class exposed in a module
7693 * include/Rcpp/as.h : implementation of as<T> in that case
7694
7695 2012-10-23 Romain Francois <[email protected]>
7696
7697 * include/Rcpp/internal/wrap.h: new function module_wrap used
7698 internally by modules
7699 * include/Rcpp/module/Module_generated_CppMethod.h: using module_wrap
7700 and simplified the code (removing 35% of the generated code now
7701 rendered useless)
7702 * include/Rcpp/module/Module_generated_PointerCppMethod.h: using
7703 module_wrap and simplified the code
7704 * include/Rcpp/traits/module_wrap_traits.h : new file. helping
7705 implementation of module_wrap
7706
7707 * R/00_classes.R: C++OverloadedMethods gets the field "nargs" to
7708 capture the number of arguments
7709
7710 * R/01_show.R: cleanup
7711
7712 * R/Module.R: handle the case where a method has no argument. In that
7713 case, the ellipsis does not end up in the formals
7714
7715 * include/Rcpp/Module.h: exposing nargs in C++OverloadedMethods
7716
7717 2012-10-22 Romain Francois <[email protected]>
7718
7719 * include/Rcpp/as.h: support for as<> for module objects
7720 * include/Rcpp/Module.h: idem
7721 * include/Rcpp/traits/r_type_traits.h: idem
7722 * src/Module.cpp: idem
7723
7724 2012-10-21 Romain Francois <[email protected]>
7725
7726 * include/Rcpp/traits/wrap_type_traits.h: support for wrapping module objects
7727 * include/Rcpp/internal/wrap.h : idem
7728 * include/Rcpp/Module.h: idem
7729
7730 2012-10-13 Dirk Eddelbuettel <[email protected]>
7731
7732 * DESCRIPTION: Release 0.9.15
7733 * inst/NEWS: Release 0.9.15
7734 * inst/include/Rcpp/config.h: Release 0.9.15
7735 * debian/*: Similarly updated for new release to Debian
7736
7737 2012-10-08 Dirk Eddelbuettel <[email protected]>
7738
7739 * src/exceptions.cpp: Additional PROTECT for parsing exception
7740 messages before returning them to R, from a suggestion by Ben North
7741
7742 2012-10-07 Dirk Eddelbuettel <[email protected]>
7743
7744 * inst/unitTests/runit.Date.R: Added a few more tests
7745
7746 2012-10-06 Dirk Eddelbuettel <[email protected]>
7747
7748 * inst/include/Rcpp/Date.h: Dates are now represented as doubles,
7749 also added accessor functions for double and retained int
7750
7751 * src/Date.cpp: Convert from SEXP to double, added constructor from
7752 double and added checks for 'finite' representation before converting
7753 to 'struct tm' adding support for NA, NaN and Inf
7754
7755 * src/DateVector.cpp: Instantiate Date types as double
7756
7757 * src/Datetime.cpp: Also added support for NA, NaN and Inf values
7758
7759 * inst/unitTests/runit.Date.R: A few additional tests
7760
7761 2012-10-05 Dirk Eddelbuettel <[email protected]>
7762
7763 * src/exceptions.cpp: Applied patch by Martin Morgan which untangles
7764 the clang includes driven by version, and uses direct tests for
7765 presence of the header file
7766 * inst/include/RcppCommon.h: No longer define CLANG version meta
7767 variables as we can directly include the relevant header
7768
7769 2012-09-30 Dirk Eddelbuettel <[email protected]>
7770
7771 * DESCRIPTION: Release 0.9.14
7772 * inst/NEWS: Release 0.9.14
7773 * inst/include/Rcpp/config.h: Release 0.9.14
7774 * debian/*: Similarly updated for new release to Debian
7775
7776 2012-09-08 Dirk Eddelbuettel <[email protected]>
7777
7778 * inst/unitTests/runit.sugarOps.R: More sugar Ops unit tests
7779
7780 2012-09-07 Dirk Eddelbuettel <[email protected]>
7781
7782 * inst/unitTests/runit.sugarOps.R: (Incomplete) beginnings of new
7783 unit test file for sugar operations on vectors and matrices
7784
7785 2012-09-07 Romain Francois <[email protected]>
7786
7787 * inst/include/Rcpp/sugar/functions/sign.h: Sign gets a SEXP operator
7788
7789 2012-09-03 Dirk Eddelbuettel <[email protected]>
7790
7791 * inst/include/Rcpp/sugar/functions/math.h: Added new sugar
7792 function trunc(), round() and signif()
7793 * inst/unitTests/runit.sugar.R: Added unit tests for these
7794
7795 2012-09-01 Dirk Eddelbuettel <[email protected]>
7796
7797 * inst/doc/Makefile: The 'all' target is now empty to prevent
7798 autobuilders such as R-Forge from falling over
7799
7800 2012-07-23 Dirk Eddelbuettel <[email protected]>
7801
7802 * R/bib.R: Trim the trailing ".bib" from the generated bibtex
7803 filename as Windows adds one anyway leading to two and an error
7804
7805 2012-07-21 Dirk Eddelbuettel <[email protected]>
7806
7807 * inst/include/Rcpp/Module.h (Rcpp): Corrected typo / incomplete
7808 reference in finalizer use
7809
7810 2012-07-06 Dirk Eddelbuettel <[email protected]>
7811
7812 * inst/include/Rcpp/config.h: In order to not attempt to include
7813 exception_defines.h if on OS X (as the clang runtime may not have
7814 predictable access to g++ headers providing these), do not define
7815 RCPP_HAS_DEMANGLING which is used in src/exceptions.cpp
7816
7817 2012-06-28 Dirk Eddelbuettel <[email protected]>
7818
7819 * DESCRIPTION: Release 0.9.13
7820 * inst/NEWS: Release 0.9.13
7821 * inst/include/Rcpp/config.h: Release 0.9.13
7822 * debian/*: Similarly updated for new release to Debian
7823
7824 * tests/doRUnit.R: Updated, added (by default commented-out) setting
7825 to enforce all tests to run, added standard copyright headers noting
7826 heritage off work by Martin Maechler and Gregor Gorjanc
7827
7828 * inst/unitTests/runTests.R: Only check environment variable to run
7829 all tests if it is not already set (to cooperate with doRUnit.R)
7830
7831 2012-06-27 Dirk Eddelbuettel <[email protected]>
7832
7833 * src/Environment.cpp: Default ctor initializes its RObject with
7834 R_GlobalEnv; SEXP constructor does not use a default arg as it tests
7835 * inst/include/Rcpp/Environment.h: Corresponding change
7836
7837 * inst/include/RcppCommon.h: #define(s) for before/after clang++ 3.0
7838
7839 * src/exceptions.cpp: Added support for clang++ (>= 3.0) which (just
7840 like g++ 4.6 or later) needs bits/exceptions_defines
7841
7842 * inst/unitTests/runit.modref.R: re-activated
7843 * inst/unitTests/runit.Module.client.package.R: re-activated core
7844
7845 * inst/unitTests/runit.modref.R: Run only if RunAllCppTests var set
7846 * inst/unitTests/runit.Module.client.package.R: Idem
7847 * inst/unitTests/runit.support.R: Idem
7848 * inst/unitTests/runit.rcout.R: Idem
7849 * inst/unitTests/runit.environments.R: Idem
7850 * inst/unitTests/runit.Language.R: Idem
7851 * inst/unitTests/runit.Function.R: Idem
7852
7853 2012-06-23 Dirk Eddelbuettel <[email protected]>
7854
7855 * DESCRIPTION: Release 0.9.12
7856 * inst/NEWS: Release 0.9.12
7857 * inst/include/Rcpp/config.h: Release 0.9.12
7858 * debian/*: Similarly updated for new release to Debian
7859
7860 * src/Environment.cpp: Remove empty constructor which is redundant
7861 since fix in rev3592 with default SEXP value of R_GlobalEnv
7862 * inst/include/Rcpp/Environment.h: Idem
7863
7864 * inst/unitTests/runTests.R (allTests): Command-line flag --allTests
7865 sets an environment variable indicating that all tests should run
7866
7867 * inst/unitTests/runit.Module.R: Run only if RunAllCppTests var set
7868 * inst/unitTests/runit.Module.client.package.R: Idem
7869 * inst/unitTests/runit.client.package.R: Idem
7870 * inst/unitTests/runit.XPtr.R: Idem
7871 * inst/unitTests/runit.macros.R: Idem
7872
7873 * inst/doc/unitTests/Rcpp-unitTests.R: Ensure Rcpp-unitTests
7874 vignette is built with RunAllCppTests flag set
7875
7876 * cleanup: Also clean in inst/unitTests/testRcppClass/src
7877
7878 * DESCRIPTION: Set Maintainer: to [email protected] as CRAN prefers to
7879 receive upload email from the same address the Maintainer field
7880
7881 2012-06-22 Dirk Eddelbuettel <[email protected]>
7882
7883 * DESCRIPTION: Release 0.9.11
7884 * inst/NEWS: Release 0.9.11
7885 * inst/include/Rcpp/config.h: Release 0.9.11
7886 * debian/*: Similarly updated for new release to Debian
7887
7888 * DESCRIPTION: Increased Depends to R (>= 2.15.1)
7889
7890 2012-06-21 Dirk Eddelbuettel <[email protected]>
7891
7892 * inst/doc/Rcpp-modules/Rcpp-modules.Rnw: Updated to reflect use
7893 under R 2.15.1
7894 * inst/skeleton/zzz.R: Idem
7895
7896 2012-06-20 Dirk Eddelbuettel <[email protected]>
7897
7898 * R/loadRcppModules.R: Use lib.loc= argument on packageDescription()
7899 as suggested by Kurt, and fetch libname from enclosing environment
7900
7901 * DESCRIPTION: Typo and grammar fixes with thanks to Kurt and Doug
7902
7903 2012-05-25 Dirk Eddelbuettel <[email protected]>
7904
7905 * inst/skeleton/zzz.R: Added new 'evalqOnLoad()' call for R-devel,
7906 currently commented out
7907
7908 2012-05-24 Dirk Eddelbuettel <[email protected]>
7909
7910 * inst/skeleton/Num.cpp: Added to Rcpp.package.skeleton(); will be
7911 added when module=TRUE in call
7912 * inst/skeleton/stdVector.cpp: Idem
7913
7914 * inst/unitTests/testRcppModule/src/rcpp_module.cpp: added more
7915 comments, added copyright header, corrected output of example
7916 functions by not escaping "backslash-n" twice
7917 * inst/unitTests/testRcppModule/src/stdVector.cpp: added some
7918 comments, added copyright header
7919 * inst/unitTests/testRcppModule/src/Num.cpp: Idem
7920
7921 * inst/unitTests/runit.Module.client.package.R: Added four simple
7922 tests for Rcpp Modules
7923
7924 * inst/doc/Rcpp-modules/Rcpp-modules.Rnw: Some extensions and
7925 clarifications added
7926
7927 2012-05-13 Dirk Eddelbuettel <[email protected]>
7928
7929 * inst/include/Rcpp/iostream/Rostream.h: Added Rstreambuf.h include
7930 as per rcpp-devel discussion with Alexey Stukalov
7931
7932 2012-05-09 Dirk Eddelbuettel <[email protected]>
7933
7934 * inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Expanded R CMD SHLIB discussion
7935 after suggested changes from SC8ren HC8jsgaard; also expanded compiler
7936 section a little mentioning clang/clang++ and icc.
7937
7938 2012-05-02 Dirk Eddelbuettel <[email protected]>
7939
7940 * src/Environment.cpp: Move one default argument to Environment.h
7941 * src/Function.cpp: Move one default argument to Function.h
7942 * inst/THANKS: Thanks to Anirban Mukherjee for these two changes
7943
7944 2012-04-28 John M Chambers <[email protected]>
7945
7946 * R/RcppClass.R: use globalVariables() from R 2.15.1 (with exists()
7947 test to no break older versions) to declare C++ fields and methods
7948 * inst/unitTests/testRcppClass/R/load.R: test use
7949
7950 2012-04-22 Dirk Eddelbuettel <[email protected]>
7951
7952 * src/debugging.cpp: Expanded 'if defined()' test to included Cygwin
7953 thanks to a patch submitted by Dario Buttari
7954
7955 2012-04-19 Dirk Eddelbuettel <[email protected]>
7956
7957 * src/Evaluator.cpp: errorOccuredSym never used and commented out
7958
7959 2012-04-18 John M Chambers <[email protected]>
7960
7961 * R/RcppClass.R: New version of setRcppClass, allowing R classes to
7962 extend C++ classes used via Rcpp modules
7963 * R/loadModule.R: New function, replaces uses of .onLoad()
7964 * man/*: Added/updated corresponding documentation
7965
7966 2012-04-07 Romain Francois <[email protected]>
7967
7968 * inst/include/Rcpp/vector/Vector.h: bug fix. reported on Rcpp-devel
7969 http://comments.gmane.org/gmane.comp.lang.r.rcpp/3292
7970
7971 2012-03-29 Dirk Eddelbuettel <[email protected]>
7972
7973 * inst/unitTests/runit.Vector.R: unit test for containsElementNamed
7974
7975 2012-03-29 Romain Francois <[email protected]>
7976
7977 * inst/include/Rcpp/vector/Vector.h: Vector<> gains the
7978 containsElementNamed method to test for presence of named element
7979
7980 2012-03-24 Romain Francois <[email protected]>
7981
7982 * src/cache.cpp: Using a single Rcpp_cache, stored in the Rcpp
7983 namespace
7984
7985 * src/Evaluator.cpp: Using tryCatch instead of rcpp_tryCatch, no more
7986 using .Internal; but still define rcpp_TryCatch for backwards compat.
7987
7988 2012-03-23 Dirk Eddelbuettel <[email protected]>
7989
7990 * inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Added short subsection on how to
7991 test a package from the command-line, expanding a patch by Glenn
7992 Lawyer in response to an initial rcpp-devel post by Dirk
7993
7994 2012-02-16 Dirk Eddelbuettel <[email protected]>
7995
7996 * DESCRIPTION: Release 0.9.10
7997 * inst/NEWS: Release 0.9.10
7998 * inst/include/Rcpp/config.h: Release 0.9.10
7999 * debian/*: Similarly updated for new release to Debian
8000
8001 2012-02-16 Douglas Bates <[email protected]>
8002
8003 * src/Evaluator.cpp: PROTECT the expr argument to Evaluator::Run.
8004 Reorganize code.
8005
8006 2011-12-15 Douglas Bates <[email protected]>
8007
8008 * src/Evaluator.cpp: Avoid Rf_install inside an R API call
8009
8010 2012-02-12 Dirk Eddelbuettel <[email protected]>
8011
8012 * R/excections.R: Revert to previous use with .Internal
8013 * R/tools.R: Add branch for R 2.15.0 which can use
8014 assingInMyNamespace; else still use unlockBinding
8015
8016 2012-02-12 Dirk Eddelbuettel <[email protected]>
8017
8018 * Rcpp-introduction.Rnw: Small wording fix thanks to Pat Burns
8019
8020 2012-02-06 Romain Francois <[email protected]>
8021
8022 * R/exceptions.R: one less .Internal call
8023 * src/Evaluator.cpp: one less .Internal call
8024
8025 2012-02-03 Romain Francois <[email protected]>
8026
8027 * inst/include/Rcpp/Extractor.h: remove use of Fast in Extractor
8028
8029 * inst/include/Rcpp/sugar/functions/mapply/mapply.h: new sugar
8030 function, similar to sapply, but with 2 or 3 (for now) input vectors
8031
8032 2012-02-01 Romain Francois <[email protected]>
8033
8034 * inst/include/Rcpp/iostream/Rostream.h: no need to include Rcpp.h
8035 here
8036
8037 * inst/include/RcppCommon.h: include Rostream.h here, instead of ...
8038
8039 * inst/include/Rcpp.h: ... here (needed for RcppArmadillo)
8040
8041 2012-01-29 Romain Francois <[email protected]>
8042
8043 * inst/include/Rcpp/sugar/diff.h: custom implementation of diff for the
8044 REALSXP case, skipping unnecessary NA tests
8045
8046 2012-01-24 Dirk Eddelbuettel <[email protected]>
8047
8048 * inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: New FAQ entry on passing a single
8049 option to g++, based on a rcpp-devel question by Whit Armstrong.
8050
8051 2012-01-15 Romain Francois <[email protected]>
8052
8053 * inst/include/Rcpp/vector/Vector.h: fixing IntegerVector(int,int),
8054 reported by Gregor Kastner on rcpp-devel
8055 * inst/unitTests/runit.Vector.R: regression test for the above
8056
8057 2011-12-25 Dirk Eddelbuettel <[email protected]>
8058
8059 * DESCRIPTION: Release 0.9.9
8060 * inst/NEWS: Release 0.9.9
8061 * inst/include/Rcpp/config.h: Release 0.9.9
8062 * debian/*: Similarly updated for new release to Debian
8063
8064 2011-12-24 Dirk Eddelbuettel <[email protected]>
8065
8066 * Reverting the 'int64' changes listed below (during the period from
8067 Oct-31 to Nov-07) which adversely affect packages using Rcpp
8068 We will re-apply the 'int64' changes in a way which should
8069 cooperate more easily with 'long' and 'unsigned long'
8070 This covered svn revisions 3264 to 3308.
8071
8072 * DESCRIPTION: Remove (for now) Depends: on int64
8073 * inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Ditto for int64_t example
8074
8075 * inst/unitTests/runit.Module.client.package.R: On Windows,
8076 deactivate 'test.Module.package'
8077
8078 * inst/unitTests/runit.client.package.R: On Windows, deactivate
8079 'test.client.packageA' test
8080
8081 2011-12-23 Dirk Eddelbuettel <[email protected]>
8082
8083 * inst/unitTests/runTests.R: unit tests output 'fallback' directory
8084 changed to '..' and files are now in top-level of $pkg.Rcheck/
8085
8086 2011-12-21 Dirk Eddelbuettel <[email protected]>
8087
8088 * DESCRIPTION: Release 0.9.8
8089 * inst/NEWS: Release 0.9.8
8090 * inst/include/Rcpp/config.h: Release 0.9.8
8091 * debian/*: Similarly updated for new release to Debian
8092
8093 2011-12-20 Dirk Eddelbuettel <[email protected]>
8094
8095 * inst/skeleton/zzz.R (.onLoad): correct order of arguments
8096
8097 2011-12-18 Dirk Eddelbuettel <[email protected]>
8098
8099 * inst/examples/FastLM/lmArmadillo.R: Link with -llapack when using
8100 external Armadillo library (but RcppArmadillo makes all this easier)
8101
8102 2011-12-18 Romain Francois <[email protected]>
8103
8104 * inst/doc/*: Fixes to various vignettes for new version of highlight
8105
8106 2011-12-16 Douglas Bates <[email protected]>
8107
8108 * inst/unitTests/runit.stats.R: Correct cut+paste typo in qbinom
8109
8110 * inst/include/Rcpp/XPtr.h: Check for XPtr type constructing from SEXP
8111
8112 2011-12-12 John M Chambers <[email protected]>
8113
8114 * R/RcppClass.R: Added setRcppClass for classes extending C++ classes
8115 * man/setRcppClass.Rd: Added corresponding documentation
8116 * NAMESPACE: Added corresponding exports entry
8117
8118 2011-11-13 Dirk Eddelbuettel <[email protected]>
8119
8120 * inst/include/Rcpp/stats/f.h: Correct call to not require ncp parameter
8121
8122 * inst/unitTests/runit.stats.R: Add unit tests for pf(), pnf(),
8123 pchisq(), pnchisq() and pcauchy()
8124
8125 2011-11-07 Romain Francois <[email protected]>
8126
8127 * include/Rcpp/internal/wrap.h: implemented wrap_dispatch_importer__impl
8128 for int64 and uint64, needed for RProtoBuf
8129
8130 * inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Add int64_t usage example
8131
8132 2011-11-06 Romain Francois <[email protected]>
8133
8134 * include/Rcpp/modules/Module_generated_Pointer_method.h: added code to deal
8135 with const free "methods", e.g. OUT foo( const Class*, ...) in modules
8136 Before const_method could only deal with actual const methods of the class,
8137 e.g. OUT Class::foo( ... ) const
8138 * include/Rcpp/modules/Module_generated_Pointer_CppMethod.h: idem
8139 * include/Rcpp/as.h: deal with as<int64_t> and as<uint64_t>
8140 * include/Rcpp/internal/export.h : deal with as< some_container<int64_t> >
8141 and as< some_container<uint64_t> > where some_container is some container
8142 that has iterators, e.g. std::vector
8143
8144 2011-10-31 Romain Francois <[email protected]>
8145
8146 * include/Rcpp/int64/int64_lite.h: handling int64_t and uint64_t types,
8147 based on the int64 package
8148 * include/Rcpp/internal/wrap.h: new dispatch layers to handle int64_t,
8149 uint64_t and containers of these
8150 * DESCRIPTION: new depending on int64
8151
8152 2011-10-28 Dirk Eddelbuettel <[email protected]>
8153
8154 * inst/include/Rcpp/iostream/Rostream.h (Rcpp): Added tentative patch
8155 for operator<< also contributed by Jelmer Ypma -- but kept commented
8156 out for now
8157
8158 2011-10-25 Dirk Eddelbuettel <[email protected]>
8159
8160 * src/Rostream.cpp: Patch by Jelmer Ypma which adds a new device
8161 'Rcout' not unlike std::cout but uses Rprintf internally
8162 * src/Rstreambuf.cpp: Idem
8163 * include/include/Rcpp/iostream/Rostream.h: Idem
8164 * include/include/Rcpp/iostream/Rstreambuf.h: Idem
8165 * include/include/Rcpp.h: Include new headers
8166
8167 * inst/unitTests/runit.rcout.R: Added simple unit test
8168
8169 2011-09-29 Dirk Eddelbuettel <[email protected]>
8170
8171 * DESCRIPTION: Release 0.9.7
8172 * inst/NEWS: Release 0.9.7
8173 * inst/include/Rcpp/config.h: Release 0.9.7
8174 * debian/*: Similarly updated for new release to Debian
8175
8176 * inst/include/Rcpp/sugar/block/SugarBlock_1.h: Apply second path by
8177 Martyn Plummer to permit compilation on Solaris
8178 * inst/include/Rcpp/sugar/block/SugarBlock_2.h: Idem
8179 * inst/include/Rcpp/sugar/block/SugarBlock_3.h: Idem
8180 * inst/include/Rcpp/sugar/matrix/outer.h: Idem
8181 * inst/include/Rcpp/vector/LazyVector.h: Idem
8182 * inst/unitTests/testRcppModule/src/stdVector.cpp: Idem
8183
8184 2011-09-24 Dirk Eddelbuettel <[email protected]>
8185
8186 * inst/include/Rcpp/Extractor.h: Apply patch by Martyn Plummer to
8187 help with compilation on Solaris
8188 * inst/include/Rcpp/sugar/block/Vectorized_Math.h: Idem
8189 * inst/include/Rcpp/sugar/functions/math.h: Idem
8190
8191 * inst/include/Rcpp/sugar/block/SugarBlock_2.h: Also applied path by
8192 Martyn Plummer, but with additional #ifdef layer for SunPro Compiler
8193 * inst/include/Rcpp/vector/LazyVector.h: Idem
8194
8195 2011-08-26 Douglas Bates <[email protected]>
8196
8197 * inst/examples/OpenMP/OpenMPandInline.r: Added another variant
8198 using import_transform for the Rcpp Vector class.
8199
8200 2011-08-26 Dirk Eddelbuettel <[email protected]>
8201
8202 * inst/include/*h: Removed exception specifiers in function headers
8203 * src/*cpp: Corresponding changes in implementations
8204
8205 * inst/examples/OpenMP/OpenMPandInline.r: Added two std::transform()
8206 variants as suggested in rcpp-devel email by Davor Cubranic
8207
8208 2011-08-25 Dirk Eddelbuettel <[email protected]>
8209
8210 * inst/examples/OpenMP/OpenMPandInline.r: Added new example for
8211 OpenMP via inline, comparing simple loops with plain Rcpp and sugar
8212
8213 2011-08-23 Dirk Eddelbuettel <[email protected]>
8214
8215 * inst/examples/Misc/ifelseLooped.r: Added new example based on blog
8216 post today, and a StackOverflow ansers---and which shows how Rcpp can
8217 accelerate loops that may be difficult to vectorise due to dependencies
8218
8219 * inst/examples/Misc/: New directory for small examples regrouping
8220 the new example as well as the fibonacci example added in Rcpp 0.9.6
8221
8222 2011-08-17 Dirk Eddelbuettel <[email protected]>
8223
8224 * inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Added a short section including an
8225 example on the issue raised by Murray wherein 64 bit 'long' integer
8226 types can be cast with loss to numeric types without error or warning.
8227
8228 2011-07-28 Dirk Eddelbuettel <[email protected]>
8229
8230 * inst/unitTests/runit.Function.R: new unit test for accessing a
8231 non-exported function from a namespace
8232
8233 2011-07-26 Dirk Eddelbuettel <[email protected]>
8234
8235 * DESCRIPTION: Release 0.9.6
8236 * inst/NEWS: Release 0.9.6
8237 * inst/include/Rcpp/config.h: Release 0.9.6
8238 * debian/*: Similarly updated for new release to Debian
8239
8240 2011-07-24 Dirk Eddelbuettel <[email protected]>
8241
8242 * inst/examples/Fibonacci/fib.r: New example showing how to compute a
8243 Fibonacci sequence using Rcpp and compare it to R and byte-compiled R
8244
8245 2011-07-14 Dirk Eddelbuettel <[email protected]>
8246
8247 * inst/examples/RcppGibbs/RcppGibbs.R: New example RcppGibbs,
8248 extending Sanjog Misra's Rcpp illustration of Darren Wilkinson's
8249 comparison of MCMC Gibbs Sampler implementations;
8250 * inst/examples/RcppGibbs/timeRNGs.R: added short timing on Normal
8251 and Gaussian RNG draws between Rcpp and GSL as R's rgamma() is seen
8252 to be significantly slower
8253
8254 2011-07-13 Romain Francois <[email protected]>
8255
8256 * inst/include/Rcpp/traits/is_eigen_base.h: helper traits to
8257 facilitate implementation of the RcppEigen package. The is_eigen_base
8258 traits identifies if a class derives from EigenBase using SFINAE
8259
8260 * inst/include/Rcpp/internal/wrap.h: new layer of dispatch to help
8261 RcppEigen
8262
8263 2011-07-07 Romain Francois <[email protected]>
8264
8265 * inst/include/Rcpp/XPtr.h: The XPtr class template gains a second
8266 template parameter allowing the developper to supply his/her own
8267 finalizer instead of the default one that calls delete
8268
8269 2011-07-05 Dirk Eddelbuettel <[email protected]>
8270
8271 * DESCRIPTION: Release 0.9.5
8272 * inst/NEWS: Release 0.9.5
8273 * inst/include/Rcpp/config.h: Release 0.9.5
8274 * debian/*: Similarly updated for new release to Debian
8275
8276 2011-07-02 Dirk Eddelbuettel <[email protected]>
8277
8278 * cleanup: Also clean in examples/OpenMP/
8279
8280 2011-06-09 Dirk Eddelbuettel <[email protected]>
8281
8282 * inst/skeleton/zzz.R (.onLoad): Force load of methods package before
8283 calling loadRcppModules() to make 'R CMD check' happier
8284
8285 2011-06-06 Romain Francois <[email protected]>
8286
8287 * inst/include/Rcpp/vector/Vector.h : init becomes protected to fix the bug
8288 reported by Doug Bates on Rcpp-devel.
8289
8290 2011-05-31 Romain Francois <[email protected]>
8291
8292 * R/loadRcppModules.R: New argument "direct" in loadRcppModules
8293
8294 * R/tools.R: New unexported function forceAssignInNamespace
8295
8296 2011-05-29 Dirk Eddelbuettel <[email protected]>
8297
8298 * inst/include/Rcpp/stats/random/rlnorm.h: Repaired accidental header
8299 guard from 'norm' to 'lnorm' so that the file really gets included,
8300 make several calls to standard library 'exp()' explicit as '::exp()'
8301 and fixed a cut-and-paste typo
8302
8303 2011-05-24 Dirk Eddelbuettel <[email protected]>
8304
8305 * inst/include/Rcpp/internal/wrap.h: For arguments of type const char *,
8306 wrap now checks for NULL arguments before calling Rf_mkString()
8307 * unitTests/runit.wrap.R: Added unit test for this
8308
8309 2011-05-14 Dirk Eddelbuettel <[email protected]>
8310
8311 * inst/doc/Rcpp-quickref/Rcpp-quickref.Rnw: Corrected an error in STL
8312 example and added two more STL examples
8313
8314 2011-04-27 Dirk Eddelbuettel <[email protected]>
8315
8316 * inst/examples/OpenMP/piWithInterrupts.cpp: Beginnings of new
8317 contributed example on OpenMP as well as user interrupt handling
8318
8319 2011-04-26 Romain Francois <[email protected]>
8320
8321 * inst/include/Rcpp/sugar/functions/mean.h: new sugar function: mean
8322
8323 * inst/include/Rcpp/sugar/functions/var.h: new sugar function: var
8324
8325 * inst/include/Rcpp/sugar/functions/sd.h: new sugar function: sd
8326
8327 2011-04-19 Dirk Eddelbuettel <[email protected]>
8328
8329 * inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: New example setting row and column
8330 names for matrices
8331
8332 2011-04-16 Dirk Eddelbuettel <[email protected]>
8333
8334 * inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: New example using Rcpp.plugin.maker
8335
8336 2011-04-12 Dirk Eddelbuettel <[email protected]>
8337
8338 * DESCRIPTION: Release 0.9.4
8339 * inst/NEWS: Release 0.9.4
8340 * inst/include/Rcpp/config.h: Release 0.9.4
8341 * debian/*: Similarly updated for new release to Debian
8342
8343 2011-04-12 Romain Francois <[email protected]>
8344
8345 * inst/unitTests/testRcppModules/src/stdVector.cpp: compiler
8346 disambiguation
8347
8348 * src/r_cast.cpp: use a callback to R's "as.character" instead of
8349 calling Rf_coerceVector, which did not work as expected for factors
8350
8351 2011-04-11 Romain Francois <[email protected]>
8352
8353 * R/loadRcppModules.R: New R function "loadRcppModules" that looks
8354 for the "RcppModules" field in the DESCRIPTION file, loads and
8355 populates the modules into the package NAMESPACE
8356
8357 * man/loadRcppModules.Rd: documentation
8358
8359 * inst/unitTests/testRcppModule: using loadRcppModules
8360
8361 2011-04-11 Dirk Eddelbuettel <[email protected]>
8362
8363 * inst/man/Rcpp-package.Rd: Added JSS reference in \references{}
8364
8365 * inst/doc/*: Added JSS reference to vignettes
8366
8367 2011-04-09 Dirk Eddelbuettel <[email protected]>
8368
8369 * inst/CITATION: Finalized using JSS data on volume, number, pages
8370
8371 2011-04-07 Dirk Eddelbuettel <[email protected]>
8372
8373 * inst/doc/Rcpp-quickref/Rcpp-quickref.Rnw: Add patch by Christian
8374 pointing out need for Rcpp:: namespace qualifier, and hint for Rcpp-FAQ
8375
8376 2011-04-05 Dirk Eddelbuettel <[email protected]>
8377
8378 * inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Added OS X entry for min. sufficient
8379 versions of OS X itself and Xode based on Simon's post to rcpp-devel
8380
8381 2011-04-05 Dirk Eddelbuettel <[email protected]>
8382
8383 * DESCRIPTION: Release 0.9.3
8384 * inst/NEWS: Release 0.9.3
8385 * inst/include/Rcpp/config.h: Release 0.9.3
8386 * debian/*: Similarly updated for new release to Debian
8387
8388 2011-04-05 Romain Francois <[email protected]>
8389
8390 * R/01_show.R: set of cosmetic changes to the show method for C++
8391 classes
8392
8393 * inst/include/Rcpp/Module.h: fixed module bug by not using
8394 singletons of the class_ template
8395
8396 2011-04-03 Dirk Eddelbuettel <[email protected]>
8397
8398 * inst/doc/Rcpp-introduction.Rnw: Updated to forthcoming JSS paper
8399
8400 * inst/CITATION: Added citation() support using forthcoming paper
8401
8402 * inst/doc/Makefile: Trying make parallel builds possible by not calling
8403 'clean' in the 'all' target; thanks to Brian Ripley for the heads-up
8404
8405 2011-04-02 Dirk Eddelbuettel <[email protected]>
8406
8407 * cleanup: Also clean in inst/unitTest/testRcppModule/src/
8408
8409 * inst/include/RcppCommon.h: Define new variable for g++ < 4.6.0
8410 * src/exceptions.cpp: Include <exception_defines.h> up to g++-4.5 only
8411
8412 * inst/unitTests/testRcppModule/src/stdVector.cpp: Use #ifdef not #if
8413
8414 * inst/include/Rcpp/module/Module_generated_ctor_signature.h: Add a
8415 bit of null-op code to suppress a 'unused parameter' warning in the
8416 initial (and non-templated) ctor_signature() function
8417
8418 2011-03-21 Dirk Eddelbuettel <[email protected]>
8419
8420 * inst/unitTests/testRcppModule/src/stdVector.cpp: Protect push_back
8421 declaration by #ifdef as it conflicts with -std=c++0x use for g++-4.5
8422
8423 2011-03-17 Dirk Eddelbuettel <[email protected]>
8424
8425 * inst/include/RcppCommon.h: Condition the typedef for 'long long'
8426 of rcpp_long_long_type on the (still experimental) support for C++0x
8427 which can be enabled with the non-portable g++ flag '-std=c++0x';
8428 adding a test for C++0x support suppresses a new warning with g++ about
8429 long long being part of C++98; thanks to Kurt Hornik for raising this
8430
8431 2011-03-10 Dirk Eddelbuettel <[email protected]>
8432
8433 * inst/include/Rcpp/grow.h: Applied another patch kindly supplied by
8434 Murray which fixes another clang/llvm and C++ conformance issue by
8435 re-ordering declarations as unqualified names must be declared before
8436 they are used, even when used within templates.
8437
8438 2011-02-28 Dirk Eddelbuettel <[email protected]>
8439
8440 * inst/doc/Makefile: Call R and Rscript relative to R_HOME/bin
8441
8442 2011-02-23 Dirk Eddelbuettel <[email protected]>
8443
8444 * DESCRIPTION: Release 0.9.2
8445 * inst/NEWS: Release 0.9.2
8446 * inst/include/Rcpp/config.h: Release 0.9.2
8447 * debian/*: Similarly updated for new release to Debian
8448
8449 * inst/include/RcppCommon.h: Apply patch by Alexey Stukalov to enable
8450 basic Intel Compiler support without Cxx0x or TR1 features
8451
8452 * inst/THANKS: Added some Thank You! to Baptiste, Alexey and Ken
8453
8454 * inst/include/Rcpp/Module.h: Minor reworking of module loading
8455 macro to get rid of one g++ warning
8456
8457 2011-02-22 Dirk Eddelbuettel <[email protected]>
8458
8459 * inst/unitTests/runit.Module.client.package.R: Add a test for OS X
8460 10.5.* or older and do not execute the test here as g++ 4.2.1 balks
8461 at some of the Rcpp modules code. Thanks to Simon Urbankek for
8462 pinning this down and Baptiste Auguie for additonal testing.
8463
8464 2011-02-20 Dirk Eddelbuettel <[email protected]>
8465
8466 * inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Added RcppArmadillo example
8467
8468 2011-02-19 Dirk Eddelbuettel <[email protected]>
8469
8470 * inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Added three more setup-related
8471 questions in the first section following another rcpp-devel question
8472
8473 2011-02-14 Dirk Eddelbuettel <[email protected]>
8474
8475 * DESCRIPTION: Release 0.9.1
8476 * inst/NEWS: Release 0.9.1
8477 * inst/include/Rcpp/config.h: Release 0.9.1
8478 * debian/*: Similarly updated for new release to Debian
8479
8480 2011-02-13 Dirk Eddelbuettel <[email protected]>
8481
8482 * inst/include/Rcpp/Module.h: Cache return of Rf_install("Module") in
8483 a static helper function used by the LOAD_RCPP_MODULE macro
8484
8485 2011-02-11 Dirk Eddelbuettel <[email protected]>
8486
8487 * inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Added two more examples
8488
8489 2011-02-10 Douglas Bates <[email protected]>
8490
8491 * inst/include/Rcpp/XPtr.h: Replace calls to EXTPTR_PTR with
8492 R_ExternalPtrAddr. The distinction is important when R is
8493 compiled with PROTECTCHECK enabled.
8494
8495 2011-02-01 Romain Francois <[email protected]>
8496
8497 * inst/include/Rcpp/vector/Vector.h: extra PROTECT'ion in several places
8498
8499 2011-01-25 Dirk Eddelbuettel <[email protected]>
8500
8501 * inst/include/Rcpp/DataFrame_generated.h: Assign Rf_install() result
8502 to local SEXP (by modifying generator script creating the file)
8503 * inst/include/Rcpp/DataFrame.h: Assign Rf_install() result to local SEXP
8504 * inst/include/Rcpp/DottedPair.h: idem
8505 * inst/include/Rcpp/grow.h: idem
8506 * inst/include/Rcpp/Module.h: idem
8507 * inst/include/Rcpp/vector/eval_methods.h: idem
8508 * inst/include/Rcpp/vector/Vector.h: idem
8509
8510 2011-01-25 Douglas Bates <[email protected]>
8511
8512 * src/exceptions.cpp: Assign Rf_install() result to local SEXP
8513 * src/Evaluator.cpp: idem
8514 * src/Reference.cpp: idem
8515 * src/S4.cpp: idem
8516
8517 * inst/include/Rcpp/Date.h: Use predefined symbol.
8518
8519 2011-01-22 Dirk Eddelbuettel <[email protected]>
8520
8521 * src/cache.cpp: Assign Rf_install() result to local SEXP
8522 * src/Environment.cpp: idem
8523 * src/Evaluator.cpp: idem
8524 * src/Function.cpp: idem
8525 * src/Function.cpp: idem
8526 * src/RObject.cpp: idem
8527 * src/Symbol.cpp: idem
8528
8529 * inst/doc/Rcpp.bib: Added SoDA (some time ago)
8530
8531 2011-01-13 Douglas Bates <[email protected]>
8532
8533 * src/Reference.cpp: Protect the value being set in Reference::FieldProxy::set
8534
8535 2011-01-11 Romain Francois <[email protected]>
8536
8537 * inst/include/Rcpp/vector/string_proxy.h: fix implicit conversion to int,
8538 reported by Daniel Sabanes Bove on Rcpp-devel
8539
8540 * inst/unitTests/runit.vector.R: unit test for the above fix
8541
8542 2011-01-08 Dirk Eddelbuettel <[email protected]>
8543
8544 * inst/doc/Rcpp.bib: Updated a number of CRAN versions
8545
8546 2011-01-07 Dirk Eddelbuettel <[email protected]>
8547
8548 * inst/include/Rcpp/config.h (RCPP_VERSION): Set to 0.9.0, at last.
8549
8550 2011-01-06 Douglas Bates <[email protected]>
8551
8552 * R/zzz.R (.onLoad): Don't call init_Rcpp_cache here.
8553
8554 * src/Rcpp_init.c: Don't register init_Rcpp_cache. It should only
8555 be called once and it is called in the C function R_init_Rcpp.
8556
8557 * NAMESPACE: Use registered symbols instead of relisting them.
8558 Registration allows for checking the number of arguments.
8559
8560 2011-01-04 Dirk Eddelbuettel <[email protected]>
8561
8562 * src/debugging.cpp: Treat the *BSD flavours like Windows and offer
8563 file and line number but not stack trace (for lack of execinfo)
8564
8565 * src/Makevars: Replace implicit variable $^ with explicit list
8566
8567 2011-01-02 Dirk Eddelbuettel <[email protected]>
8568
8569 * inst/doc/Rcpp-quickref/Rcpp-quickref.Rnw: Applied patch with
8570 additional documentation by Christian Gunning
8571
8572 2010-12-23 Romain Francois <[email protected]>
8573
8574 * inst/include/Rcpp/RObject.h: New internal class SEXPstack to handle
8575 garbage collection. Presumably more efficient than R_PreserveObject
8576 and R_ReleaseObject
8577
8578 * inst/include/Rcpp/sugar/operators/times.h: More efficient operator*
8579 for REALSXP sugar expressions, avoiding unnecessary NA tests.
8580
8581 * inst/include/Rcpp/sugar/operators/divides.h: More efficient
8582 operator/ for REALSXP sugar expressions, avoiding unnecessary NA
8583 tests.
8584
8585 * inst/include/Rcpp/sugar/operators/minus.h: More efficient operator- for
8586 REALSXP sugar expressions, avoiding unnecessary NA tests.
8587
8588 2010-12-22 Romain Francois <[email protected]>
8589
8590 * inst/include/Rcpp/sugar/operators/plus.h: More efficient operator+
8591 for REALSXP sugar expressions, avoiding unnecessary NA tests.
8592
8593 2010-12-22 Dirk Eddelbuettel <[email protected]>
8594
8595 * inst/unitTests/runit.Vector.R: Applied patch by Christian Gunning
8596 to add more tests for complex-typed vectors
8597
8598 2010-12-20 Dirk Eddelbuettel <[email protected]>
8599
8600 * R/inline.R (Rcpp.plugin.maker): Reverse order in PKG_LIBS
8601
8602 2010-12-19 Dirk Eddelbuettel <[email protected]>
8603
8604 * DESCRIPTION: Release 0.9.0
8605
8606 * debian/*: Similarly updated for new release to Debian
8607
8608 2010-12-18 Dirk Eddelbuettel <[email protected]>
8609
8610 * inst/announce/ANNOUNCE-0.9.0.txt: Started announcement post
8611
8612 * inst/unitTests/runit.Date.R: Added new unit tests for date and
8613 datetime from string
8614
8615 2010-12-17 Dirk Eddelbuettel <[email protected]>
8616
8617 * inst/include/Rcpp/Datetime.h: correct default format to use %OS for
8618 fractional seconds and not the popular typo %OS (i.e. ooh, not zero)
8619
8620 * src/Datetime.cpp: add missing as.POSIXct() after strptime for
8621 constructor from string as we then use the constructor from double
8622
8623 * src/Date.cpp: add missing as.Date() after strptime for constructor
8624 from string as we then use the constructor from int
8625
8626 2010-12-13 Romain Francois <[email protected]>
8627
8628 * inst/include/Rcpp/vector/string_proxy.h: List::Proxy did not
8629 convert bool correctly, reported on Rcpp-devel by Daniel SabanC)s
8630 BovC) <[email protected]>
8631
8632 2010-12-12 Romain Francois <[email protected]>
8633
8634 * R/SHLIB.R: new unexported R function SHLIB, small wrapper around
8635 R CMD SHLIB
8636
8637 * inst/include/Rcpp/sprintf.h: returning a std::string to avoid leaks
8638
8639 2010-12-10 Dirk Eddelbuettel <[email protected]>
8640
8641 * inst/include/Rcpp/sprintf.h: Use vsnprintf() instead
8642
8643 2010-12-10 Romain Francois <[email protected]>
8644
8645 * inst/include/Rcpp/barrier.h: faster versions (crossing the write
8646 barrier) for string_elt, etc ...(to be used only internally)
8647
8648 * src/barrier.cpp: implementation of the above
8649
8650 2010-12-09 John M Chambers <[email protected]>
8651
8652 * src/Module.cpp: Rcpp/src/exceptions.cpp,
8653 Rcpp/src/Rcpp_init.c, etc. add a not_initialized exception and a
8654 dummy_pointer to identify such objects, throw exc. back to R
8655
8656 2010-12-07 Romain Francois <[email protected]>
8657
8658 * inst/include/Rcpp/vector/matrix.h: Matrix gains a nested ::Sub
8659 typedef
8660
8661 2010-12-05 Romain Francois <[email protected]>
8662
8663 * inst/include/Rcpp/module/Module_generated_class_constructor.h: the
8664 default constructor was always considered valid because of the use of
8665 &yes instead of &yes_arity<0>
8666
8667 * R/Rcpp.package.skeleton.R: Rcpp.package.skeleton( "foo",
8668 example_code = FALSE) did not work properly. Rcpp.package.skeleton
8669 gains some arguments
8670
8671 2010-12-05 Dirk Eddelbuettel <[email protected]>
8672
8673 * src/Date.cpp: Add 1900 to tm.year after mktime00() call as we now
8674 no longer assume the field is '1900-less'
8675 * src/Date.cpp: Define new static const variable baseYear as 1900
8676 and use throughout
8677
8678 * inst/unitTests/runit.Date.R (test.Date.getFunctions): Added unit
8679 tests for the get* functions of the Date class
8680
8681 * R/bib.R (bib): Correct expression for default Rcpp bibtex file
8682
8683 2010-12-04 Dirk Eddelbuettel <[email protected]>
8684
8685 * inst/include/Rcpp/Date.h: Remove addition of 1900 in getYear()
8686
8687 2010-12-04 Romain Francois <[email protected]>
8688
8689 * inst/doc/Rcpp-quickref/Rcpp-quickref.Rnw: documentation patch by
8690 Christian Gunnning <[email protected]>
8691
8692 * inst/include/Rcpp/vector/matrix.h: fix SubMatrix. Bug reported by
8693 Christian Gunnning <[email protected]> on Rcpp-devel
8694
8695 * inst/include/Rcpp/vector/SubMatrix.h: factored out of matrix.h
8696
8697 * inst/include/Rcpp/sprintf.h: new sprintf template to format strings
8698
8699 2010-12-03 Dirk Eddelbuettel <[email protected]>
8700
8701 * inst/unitTests/runit.RObject.R: fix 'inherits' test added today
8702
8703 * inst/include/Rcpp/module/Module_generated_Constructor.h: Applied
8704 patch by Tama Ma <[email protected]> for up to seven args in ctor
8705 * inst/include/Rcpp/module/Module_generated_class_constructor.h: Idem
8706 * inst/include/Rcpp/module/Module_generated_ctor_signature.h: Idem
8707
8708 2010-12-03 Romain Francois <[email protected]>
8709
8710 * inst/include/Rcpp/RObject.h : new inline method inherits that
8711 checks if an object inherits from a given class (wrapper around
8712 Rf_inherits)
8713
8714 * inst/unitTests/runit.RObject.R: unit test for the above
8715
8716 2010-12-02 Douglas Bates <[email protected]>
8717
8718 * inst/include/Rcpp/generated/Function__operator.h,
8719 inst/include/Rcpp/Function.h: operator() becomes const.
8720
8721 2010-11-29 Romain Francois <[email protected]>
8722
8723 * inst/include/Rcpp/vector/Vector.h: trying to please suncc after
8724 CRAN checks
8725
8726 * R/Module.R: protect the module$refClassGenerators <- generators
8727 line against the case where there are no classes (triggered a
8728 problem with the parser package)
8729
8730 2010-11-27 Dirk Eddelbuettel <[email protected]>
8731
8732 * DESCRIPTION: Release 0.8.9
8733
8734 * debian/*: Similarly updated for new release to Debian
8735
8736 2010-11-26 Romain Francois <[email protected]>
8737
8738 * inst/include/Rcpp/vector/Vector.h: List::create( _["foo"] ) sets
8739 the SEXP to R_MissingArg, usueful for formal arguments
8740 specifications, simpler form than List::create( _["foo"] =
8741 R_MissingArg )
8742
8743 * inst/include/Rcpp/macros/unroll.h: helper macro RCPP_UNROLL_LOOP
8744
8745 * inst/include/Rcpp/vector/MatrixColumn.h: added
8746 MatrixColumn::operator=( MatrixColumn& ) otherwise it gets
8747 synthetized by the compiler
8748
8749 * inst/include/Rcpp/vector/MatrixRow.h: same for MatrixRow
8750
8751 * inst/include/Rcpp/vector/Matrix.h: added Matrix( SubMatrix ) and
8752 Matrix::operator=( SubMatrix )
8753
8754 2010-11-25 Romain Francois <[email protected]>
8755
8756 * inst/include/Rcpp/module/Module_generated_function.h: new .function
8757 with formal argument specification
8758
8759 * inst/include/Rcpp/module/Module_generated_CppFunction.h: helper
8760 classes for the above
8761
8762 * R/Module.R: using the formal argument specification if available
8763
8764 * R/populate.R: new R function populate to dump the contents of a
8765 module into an environment or a namespace
8766
8767 * man/populate.Rd: documentation for populate
8768
8769 2010-11-24 Romain Francois <[email protected]>
8770
8771 * R/00_classes.R: formals<- method for C++Function that allows to set
8772 default arguments, etc .. to a C++ function
8773
8774 2010-11-23 Dirk Eddelbuettel <[email protected]>
8775
8776 * inst/doc/Makefile: Call Rscript with --vanilla to skip user settings
8777
8778 2010-11-23 Romain Francois <[email protected]>
8779
8780 * R/00_classes.R: C++Class gains a docstring slot to host self
8781 documentation
8782
8783 * R/Module.R: calling an exposed C++ more efficiently by using the xp
8784 directly rather than traversing the map internally
8785
8786 * R/00_classes.R: C++Function gains a docstring slot to host self
8787 documentation of the internal function. And a "signature" slot to
8788 host the C++ signature of the function
8789
8790 * R/01_show.R: updated show( C++Function ) to display the docstring
8791 and the signature. updated show( C++Class ) to display the docstring.
8792
8793 * inst/include/Rcpp/module/Module_generated_CppFunction.h: self
8794 documentation for exposed C++ functions and extraction of the
8795 signature
8796
8797 * inst/include/Rcpp/module/Module_generated_function.h: idem
8798
8799 2010-11-22 Romain Francois <[email protected]>
8800
8801 * R/00_classes.R: C++OverloadedMethods gains an "info" class methods,
8802 factored out from Module.R
8803
8804 * R/01_show.R: more information printed in show( C++Class )
8805
8806 * inst/include/Rcpp/Module/Module_generated_get_signature.h:
8807 templates to grab method signatures
8808
8809 * inst/include/Rcpp/Module.h: CppMethod gains a signature method that
8810 returns the signature of the method.
8811
8812 * R/00_classes.R: C++OverloadedMethods gains a "signatures" field
8813 that contains the signature of each overload
8814
8815 * R/Module.R: registered method gain an automatically generated self
8816 description that contains the method(s) signature(s) and the
8817 docstring that is declared in .method
8818
8819 * inst/include/Rcpp/Module/Module_generated_CppMethod.h: implement
8820 signature
8821
8822 * inst/include/Rcpp/Module/Module_generated_Pointer_CppMethod.h: idem
8823
8824 2010-11-21 Romain Francois <[email protected]>
8825
8826 * R/Module.R: internal version of cpp_hasDefaultConstructor
8827
8828 * src/Module.cpp: implementation (Class__has_default_constructor)
8829
8830 * inst/include/Rcpp/Module.h: support (class_.has_default_constructor)
8831
8832 * inst/include/Rcpp/module/Module_generated_class_constructor.h: new interface
8833 for exposing constructors, the init_ disappears and the template arguments
8834 are directly applied to the .constructor function
8835
8836 * inst/include/Rcpp/module/Module_generated_Constructor.h: removed init_*
8837
8838 * inst/include/Rcpp/module/Module_generated_method.h: .method gains a docstring
8839 argument to allow self documentation of exposed methods
8840
8841 * inst/include/Rcpp/module/Module_generated_PointerMethod.h: idem
8842
8843 * R/Module.R: grab method docstrings
8844
8845 2010-11-20 John M Chambers <[email protected]>
8846
8847 * R/Module.R: now checks for the existence of a default constructor
8848 for a C++ class and generates a suitable $initialize() method accordingly.
8849
8850 2010-11-20 Romain Francois <[email protected]>
8851
8852 * inst/include/Rcpp/vector/MatrixRow.h: added missing return *this ;
8853
8854 * R/Module.R: dispatch based on void-ness of the methods. For example
8855 if all methods are known to be void, etc ...
8856
8857 * R/00_classes.R: more information in the C++OverloadedMethods ref
8858 class
8859
8860 * src/Module.cpp: new .External CppMethod__invoke_void and
8861 CppMethod__invoke_notvoid that are used when we know for sure that
8862 all overloaded methods are void, or not void
8863
8864 * inst/include/Rcpp/Module.h: class_ gains invoke_void and
8865 invoke_notvoid to support the changes above
8866
8867 2010-11-18 Douglas Bates <[email protected]>
8868
8869 * inst/include/Rcpp/module/Module_generated_[class_]Constructor.h:
8870 allow up to 6 arguments to .constructor
8871
8872 2010-11-18 Romain Francois <[email protected]>
8873
8874 * inst/include/Rcpp/Module.h: rework the class_ template to allow
8875 overloaded methods
8876
8877 * R/00_classes.R: The C++Method class disappears and the
8878 C++OverloadedMethods enters. a "C++OverloadedMethods" object points
8879 to a set of overloaded C++ methods that all share the same name.
8880
8881 * R/Module.R: adapt some of the code to cope with changes above
8882
8883 2010-11-17 Romain Francois <[email protected]>
8884
8885 * inst/include/Rcpp/sugar/as_vector.h: added the as_vector function
8886 that turns a sugar matrix expression into a vector of the appropriate
8887 type
8888
8889 * inst/include/Rcpp/vector/Matrix.h: new SubMatrix class
8890
8891 2010-11-13 Romain Francois <[email protected]>
8892
8893 * inst/include/Rcpp/Module.h: expose constructors as the
8894 "cpp_constructor" field of "C++ClassRepresentation" and the
8895 "constructors" slot of "C++Class"
8896
8897 2010-11-07 Romain Francois <[email protected]>
8898
8899 * inst/include/Rcpp/sugar/operators/minus.h: fixed
8900 Minus_Vector_Primitive<RTYPE,false,T>
8901
8902 * inst/unitTests/runit.sugar.R: new test for the above
8903
8904 2010-11-05 Romain Francois <[email protected]>
8905
8906 * inst/include/Rcpp/Module.h: exposing multiple constructors in modules
8907
8908 * src/Module.cpp: The mangled class name is now "Rcpp_" plus the
8909 class name. The previous version used the address of the external
8910 pointer to the module, which was not constant.
8911
8912 2010-11-04 Douglas Bates <[email protected]>
8913
8914 * inst/include/Rcpp/module/Module_generated_Constructor.h: remove
8915 redundant 'return's.
8916
8917 2010-11-04 Romain Francois <[email protected]>
8918
8919 * inst/include/Rcpp/Module.h: experimental way to specify which
8920 constructor to use in classes exposed by modules. This is still too
8921 restrictive as it only allows one constructor.
8922
8923 * inst/include/Rcpp/sugar/block/SugarMath.h: extend the SUGAR_MATH_1
8924 macro so that we can apply functions (e.g. sqrt) directly on SEXP
8925
8926 2010-11-01 Dirk Eddelbuettel <[email protected]>
8927
8928 * DESCRIPTION (Version): Release 0.8.8
8929
8930 * debian/*: Similarly updated for new release to Debian
8931
8932 2010-10-30 Dirk Eddelbuettel <[email protected]>
8933
8934 * inst/include/RcppCommon.h: New define IS_GCC_450_OR_LATER
8935 * inst/include/Rcpp/Extractor.h: Do not enable Rcpp::Fast if g++
8936 4.5.0 or later is used -- we need to figure out what upsets it
8937
8938 2010-10-23 Romain Francois <[email protected]>
8939
8940 * inst/include/Rcpp/vector/MatrixRow.h: Faster row indexing
8941
8942 * inst/include/Rcpp/vector/Matrix.h: added use of _ to get columns
8943 and rows of a matrix. For example if x is a NumericMatrix, x(_,i)
8944 returns the same as x.column(i) and x(i,_) returns the same as
8945 x.row(i)
8946
8947 * inst/unitTests/runit.Matrix.R: unit tests for the above
8948
8949 * inst/include/Rcpp/sugar/functions/sum.h: the sugar version of sum
8950 now takes care of missing values correctly
8951
8952 * inst/include/Rcpp/sugar/functions/cumsum.h: sugar version of cumsum
8953
8954 2010-10-21 Romain Francois <[email protected]>
8955
8956 * inst/include/Rcpp/vector/MatrixColumn.h: Fixed indexing
8957 bug (mismatch between number of rows and number of columns
8958
8959 * inst/unitTests/runit.Matrix.R: test fix above based on the
8960 R-help/Rcpp-devel thread:
8961 http://article.gmane.org/gmane.comp.lang.r.rcpp/851
8962
8963 * inst/include/Rcpp/vector/MatrixColumn.h: Column gains a operator=
8964 taking a sugar expression. Faster indexing (caching the pointer
8965 instead of calling nrow many times)
8966
8967 * inst/include/Rcpp/vector/Matrix.h: first pass at making matrix
8968 indexing faster
8969
8970 2010-10-21 Dirk Eddelbuettel <[email protected]>
8971
8972 * inst/include/Rcpp/Module.h: Reorder instantiation for class_
8973
8974 2010-10-20 Dirk Eddelbuettel <[email protected]>
8975
8976 * include/Rcpp/XPtr.h: Applied patch by Karl Millar
8977 * include/Rcpp/vector/Vector.h: Idem
8978
8979 2010-10-19 Dirk Eddelbuettel <[email protected]>
8980
8981 * src/posixt.cpp: Correct POSIXct, POSIXt ordering for R 2.12.0
8982
8983 2010-10-14 Dirk Eddelbuettel <[email protected]>
8984
8985 * DESCRIPTION (Version): Release 0.8.7
8986
8987 * debian/*: Similarly updated for new release to Debian
8988
8989 2010-10-10 Romain Francois <[email protected]>
8990
8991 * tests/doRUnit.R: workaround to disable tests on windows 64 until we can
8992 figure out what upsets R CMD check.
8993
8994 * R/Module.R: expose the finalizer
8995
8996 2010-10-07 John M Chambers <[email protected]>
8997
8998 * R/Module.R: modify cpp_refMethods to substitute the .External
8999 directly with the method and class pointers.
9000
9001 2010-10-03 Dirk Eddelbuettel <[email protected]>
9002
9003 * inst/include/Rcpp/stats/random/r*: Added comment reminding users
9004 read up on Section 6.3 of "Writing R Extensions" and the need to
9005 call GetRNGstate() and PutRNGstate() when using R's RNGs
9006
9007 2010-09-30 Romain Francois <[email protected]>
9008
9009 * inst/include/Rcpp/vector/MatrixRow.h: Matrix row inherits
9010 VectorBase so that it becomes a sugar expression, so that we can do
9011 something like this:
9012 NumericMatrix x( ... ) ;
9013 NumericVector x0 = x.row(0) ;
9014
9015 * inst/include/Rcpp/vector/MatrixColumn.h: idem for columns
9016
9017 * cleanup: run make clean in the inst/doc directory to install
9018 the fake vignettes
9019
9020 2010-09-27 Romain Francois <[email protected]>
9021
9022 * inst/include/Rcpp/traits/is_sugar_expression.h: new trait class
9023 to recognize sugar expressions
9024
9025 * inst/include/Rcpp/vector/Vector.h: operator=( sugar expression)
9026 no longer allocate unnecessary memory.
9027
9028 2010-09-26 Romain Francois <[email protected]>
9029
9030 * inst/include/Rpp/Fast.h: new helper class Rcpp::Fast that allows
9031 faster indexing of Vector
9032
9033 * inst/include/Rcpp/sugar/operators/plus.h: port to operator+ the same
9034 improvements than in operator*
9035
9036 2010-09-25 Romain Francois <[email protected]>
9037
9038 * inst/include/Rcpp/routines.h: declare routines that are registered
9039
9040 * src/Rcpp_init.c: register routines
9041
9042 * R/*.R: use registration information in many .Call and .External
9043 functions to speed things up
9044
9045 * inst/include/Rcpp/RangeIndexer.h: experimenting with loop unrolling
9046
9047 2010-09-24 John M Chambers <[email protected]>
9048
9049 * R/Module.R: modify cpp_fields to substitute the .Call
9050 directly with the field and class pointers; supplements the
9051 changes entered by Romain on 9-22. (svn rev 2165, 2141)
9052
9053 * src/Rcpp_init.c: set up registration of .Call's (rev 2167)
9054
9055 2010-09-24 Romain Francois <[email protected]>
9056
9057 * inst/include/Rcpp/sugar/Range.h : Range gains some
9058 operators (++,--,n etc ...)
9059
9060 * inst/examples/ConvolveBenchmarks/convolve3_cpp.cpp: using the new
9061 Range operators
9062
9063 * inst/include/Rcpp/sugar/operators/times.h: speed improvements. Not
9064 using pointer to member functions seems to be beneficial.
9065
9066 * inst/include/Rcpp/sugar/nona/nona.h: sugar function that wraps a
9067 sugar expression in an object that pretends it does not contain any
9068 missing values. This allows many sugar functions and operators to use
9069 their fast versions when we know that the object does not contain
9070 missing values.
9071
9072 2010-09-22 Romain Francois <[email protected]>
9073
9074 * R/Module.R: set [[ and [[<- as regular methods too, which restores
9075 previous behavior
9076
9077 2010-09-17 Romain Francois <[email protected]>
9078
9079 * src/Reference.cpp: new objects are created via a callback to R's
9080 new function, as R_do_new_object did always return the same
9081 environment
9082
9083 * R/00_classes.R: new ref class C++Method to represent C++ methods
9084 and holding their external pointers directly (same idea as C++Field)
9085
9086 * inst/include/Rcpp/Module.h: internal support for
9087 C++Method (template class S4_CppMethod)
9088
9089 2010-09-17 John M Chambers <[email protected]>
9090
9091 * R/00_classes.R, R/02_completion.R, et al.: use of environment
9092 underlying the reference classes removes need for slots in
9093 C++Object class (svn rev's 2133, 2134)
9094
9095
9096 2010-09-16 Romain Francois <[email protected]>
9097
9098 * R/00_classes.R: moving classes definition here
9099
9100 * inst/Rcpp/Module.h: added C++ class S4_field that builds S4 objects
9101 of class C++Field. Build the list of fields as part of the creation
9102 of the C++Class objects
9103
9104 * src/Module.cpp: .Call functions CppField__get and CppField__set to
9105 get/set values of an object's field using external pointers
9106 directly (no std::map lookup internally)
9107
9108 * R/Module.R: (unexported) functions .getField and .setField that
9109 call CppField__get and CppField__set
9110
9111 * inst/include/Rcpp/Reference.h: skeleton for a Rcpp::Reference class
9112 that will help dealing with reference classes on the C++ side
9113
9114 * src/Reference.cpp: implementation (needs update)
9115
9116 2010-09-16 John M Chambers <[email protected]>
9117
9118 * R/Module.R, tests/modRef.R: un-generic of new(); return a
9119 generator object for C++ classes. Use environment as superclass.
9120
9121
9122 2010-09-15 Romain Francois <[email protected]>
9123
9124 * DESCRIPTION: added the declaration MinimumSvnRev to control which
9125 version of R-devel we need so that Rcpp fully works, currently set to
9126 52905
9127
9128 * R/zzz.R: check the svn revision of R against the declared
9129 MinimumSvnRev requirement and print a message if necessary (this will
9130 only stay for the interim period while we develop 0.8.7 so that we
9131 all are on the same page.
9132
9133 * inst/include/Rcpp/Module.h: added methods to class_Base :
9134 methods_arity and methods_voidness to query the number of arguments
9135 of methods of a class and if the method is void
9136
9137 * R/Module.R: implement referenceMethods (from methods) for 'C++Class'
9138
9139 2010-09-11 Dirk Eddelbuettel <[email protected]>
9140
9141 * src/Date.cpp: Add include of unistd.h to make Solaris happy
9142
9143 2010-09-09 Dirk Eddelbuettel <[email protected]>
9144
9145 * DESCRIPTION: Release 0.8.6
9146
9147 * debian/*: Similarly updated for new release to Debian
9148
9149 2010-09-08 Dirk Eddelbuettel <[email protected]>
9150
9151 * inst/include/RcppCommon.h: Also include typeinfo header file
9152
9153 2010-09-08 Romain Francois <[email protected]>
9154
9155 * inst/include/Rcpp/Module.h : added class_Base::property_names
9156 method to grab the names of all fields (properties)
9157
9158 * src/Module.cpp : added R access (.Call) function
9159 CppClass__properties to grab the names of the fields (property) from
9160 the XP of a class
9161
9162 * inst/include/Rcpp/Module.h : added class_Base::property_is_readonly
9163 method to query if a property is read only
9164
9165 * src/Module.cpp : added R access (.Call) function
9166 CppClass__property_is_readonly to query if a class property is read
9167 only
9168
9169 * inst/include/Rcpp/Module.h : added class_Base::property_class
9170 method to grab the C++ class of a property
9171
9172 * src/Module.cpp : added R access (.Call) function
9173 CppClass__property_class to grab the C++ class of a property
9174
9175 2010-09-06 Dirk Eddelbuettel <[email protected]>
9176
9177 * inst/examples/ConvolveBenchmarks/exampleRCode.r: Rewritten /
9178 simplified using the rbenchmark::benchmark() function
9179
9180 * DESCRIPTION: Added Suggests: on rbenchmark package
9181
9182 2010-09-04 Dirk Eddelbuettel <[email protected]>
9183
9184 * inst/examples/ConvolveBenchmarks/exampleRCode.r: Some cosmetics
9185
9186 * inst/examples/ConvolveBenchmarks/convolve3_cpp.cpp: Remove one
9187 unneccessary loop to set values to zero (which the ctor does for us)
9188
9189 2010-09-03 Dirk Eddelbuettel <[email protected]>
9190
9191 * inst/doc/Rcpp-extending/Rcpp-extending.Rnw: Add highlight definitions
9192 * inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Idem
9193 * inst/doc/Rcpp-package/Rcpp-package.Rnw: Idem
9194
9195 2010-09-02 Dirk Eddelbuettel <[email protected]>
9196
9197 * src/msvcmath.cpp: Undo unmotivated msvc patch
9198 * inst/include/Rcpp/msvc/: Idem
9199 * inst/include/Rcpp/XPtr.h: Idem
9200 * inst/include/RcppCommon.h: Idem
9201 * src/Date.cpp: Idem
9202
9203 * DESCRIPTION: Added Suggests: on highlight package
9204
9205 2010-08-20 Romain Francois <[email protected]>
9206
9207 * inst/include/Rcpp/complex.h : binary operators for Rcomplex : +,-,*,/
9208
9209 2010-08-15 Romain Francois <[email protected]>
9210
9211 * inst/include/Rcpp/sugar/SugarBlock.h: more control of the NA behavior
9212 in SUGAR_BLOCK_2. SUGAR_BLOCK_2 will now propagate the NA, and the new
9213 SUGAR_BLOCK_2_NA will use a fixed NA (can be true or false). This can be
9214 useful if the function that is sugar'ed never generates NA.
9215
9216 * inst/include/Rcpp/sugar/undoRmath.h : undo the macros done by Rmath.h
9217
9218 2010-08-13 Douglas Bates <[email protected]>
9219
9220 * include/Rcpp.h: undo more defines from Rmath.h
9221
9222 2010-08-13 Romain Francois <[email protected]>
9223
9224 * inst/include/Rcpp/sugar/complex.h: simplify complex sugar functions
9225 Re, Im, Conj, Mod
9226
9227 * inst/include/Rcpp/sugar/complex.h: new sugar functions operating on
9228 complex expressions: exp, log, sqrt, cos, sin, tan, acos, asin, atan,
9229 acosh, asinh, atanh, cosh, sinh, tanh
9230
9231 * inst/unitTests/runit.sugar.R: added regression test for complex functions
9232 which did not handle NA properly before
9233
9234 * DESCRIPTION: no longer requireing GNU make as we dont use it anymore
9235
9236 * src/Makevars: removed the use of ifeq (which was the last thing requiring
9237 GNU make)
9238
9239 2010-08-12 Romain Francois <[email protected]>
9240
9241 * inst/include/Rcpp/sugar/math.h: replace previous versions of floor,
9242 abs, exp, ceil, ceiling with versions generated by the SUGAR_MATH_1
9243 macro
9244
9245 2010-08-11 Romain Francois <[email protected]>
9246
9247 * inst/include/Rcpp/vector/vector.h: Vector gains constructor
9248 taking size and function pointers, acting as generators :
9249
9250 Vector( const int& siz, stored_type (*gen)(void), bool seed = true )
9251
9252 template <typename U1>
9253 Vector( const int& siz, stored_type (*gen)(U1), const U1& u1,
9254 bool seed = true)
9255
9256 template <typename U1, typename U2>
9257 Vector( const int& siz, stored_type (*gen)(U1,U2), const U1& u1,
9258 const U2& u2, bool seed = true)
9259
9260 so that for example :
9261
9262 NumericVector( 10, norm_rand )
9263
9264 generates a N(0,1) vector of size 10
9265
9266 * inst/include/Rcpp/stats/random/rlnorm.h: Added rlnorm and rlnorm_
9267 * inst/include/Rcpp/stats/random/rgamma.h: Added rgamma and rgamma_
9268 * inst/include/Rcpp/stats/random/rt.h: Added rt and rt_
9269 * inst/include/Rcpp/stats/random/rbinom.h: Added rbinom and rbinom_
9270 * inst/include/Rcpp/stats/random/rnchisq.h: Added rnchisq and rnchisq_
9271 * inst/include/Rcpp/stats/random/rgeom.h: Added rgeom and rgeom_
9272 * inst/include/Rcpp/stats/random/rhyper.h: Added rhyper and rhyper_
9273 * inst/include/Rcpp/stats/random/rnbinom_mu.h: Added rnbinom_mu and rnbinom_mu_
9274 * inst/include/Rcpp/stats/random/rnbinom.h: Added rnbinom and rnbinom_
9275 * inst/include/Rcpp/stats/random/rpois.h: Added rpois and rpois_
9276 * inst/include/Rcpp/stats/random/rweibull.h: Added rweibull and rweibull_
9277 * inst/include/Rcpp/stats/random/rlogis.h: Added rlogis and rlogis_
9278 * inst/include/Rcpp/stats/random/rwilcox.h: Added rwilcox and rwilcox_
9279 * inst/include/Rcpp/stats/random/rsignrank.h: Added rsignrank and rsignrank_
9280
9281 * inst/include/Rcpp/stats/random/rnorm.h: some optimization
9282 * inst/include/Rcpp/stats/random/rf.h: calculate n2/n1 just once
9283 * inst/include/Rcpp/sugar/SugarBlock.h : templates and macros to facilitate
9284 generation of sugar functions that take one or two double parameters
9285
9286 * inst/include/Rcpp/sugar/math.h: using SugarBlock to generate new
9287 sugar functions:
9288 (1 parameter) : gamma, lgamma, digamma, trigamma, tetragamma,
9289 pentagamma, expm1, log1p, factorial, lfactorial,
9290 cos, acosh, atan, cos, cosh, log, log10, sqrt, sin, sinh, tan, tanh
9291
9292 (2 parameter) : choose, lchoose, beta, lbeta, psigamma
9293
9294 2010-08-10 Douglas Bates <[email protected]>
9295
9296 * include/Rcpp/stats/nbinom[_mu].h: Replace conflicting data member name
9297 'size' by 'siz'
9298
9299 2010-08-10 Romain Francois <[email protected]>
9300
9301 * inst/include/Rcpp/stats/random/rnorm.h: Added rnorm and rnorm_
9302
9303 * inst/include/Rcpp/stats/random/runif.h: Added runif and runif_
9304
9305 * inst/include/Rcpp/stats/random/rbeta.h: Added rbeta and rbeta_
9306
9307 * inst/include/Rcpp/stats/random/rcauchy.h: Added rcauchy and rcauchy_
9308
9309 * inst/include/Rcpp/stats/random/rchisq.h: Added rchisq and rchisq_
9310
9311 * inst/include/Rcpp/stats/random/rexp.h: Added rexp and rexp_
9312
9313 * inst/include/Rcpp/stats/random/rf.h: Added rf and rf_
9314
9315 * inst/include/Rcpp/stats/stats.h : fixed name clash reported on Rcpp-devel
9316 http://permalink.gmane.org/gmane.comp.lang.r.rcpp/610
9317
9318 2010-08-09 Romain Francois <[email protected]>
9319
9320 * inst/include/Rcpp/stats/lnorm.h: Added d-p-q (lnorm|weibull|logis|f)
9321 generated by the script
9322
9323 * inst/include/Rcpp/vector/Vector.h: further dispatch to allow generators
9324 to be passed to constructors of Vector
9325
9326 * inst/include/Rcpp/traits/has_iterator.h: new SFINAE detection of
9327 generators
9328
9329 * inst/include/Rcpp/Generator.h : base template class for generators
9330
9331 2010-08-06 Douglas Bates <[email protected]>
9332
9333 * unitTests/runit.stats.R: Corrected instances of numeric
9334 arguments passed as integers, deleted tests for binomial with
9335 fixed parameter values.
9336
9337 2010-08-06 Romain Francois <[email protected]>
9338
9339 * ../scripts/stats.R: R script to generate the template code for dpq functions
9340
9341 * include/Rcpp/stats/unif.h: Added d-p-q unif and tests
9342
9343 * include/Rcpp/stats/gamma.h: Added d-p-q gamma and tests
9344
9345 * include/Rcpp/stats/chisq.h: Added d-p-q chisq
9346
9347 2010-08-05 Douglas Bates <[email protected]>
9348
9349 * include/Rcpp/stats/beta.h: Added d-p-q beta and tests
9350
9351 * include/Rcpp/stats/binom.h: Added pbinom and qbinom,
9352 and tests of same in runit.stats.R
9353
9354 * include/Rcpp/stats/pois.h: Added ppois and qpois (plus
9355 tests in runit.stats.R).
9356
9357 * include/Rcpp/stats/norm.h: Added pnorm and qnorm and
9358 corresponding tests in unitTests/runit.stats.R
9359
9360 2010-08-05 Dirk Eddelbuettel <[email protected]>
9361
9362 * inst/include/Rcpp/stats/norm.h: Added dnorm sugar function
9363 * inst/include/Rcpp/stats/t.h: Added dt, pt, qt sugar functions
9364 * inst/include/unitTests/runit.stats.R: Added corresponding tests
9365
9366 2010-08-05 Romain Francois <[email protected]>
9367
9368 * inst/include/Rcpp/sugar/functions/seq_along.h: added seq(int,int) to
9369 mimic the R syntax : seq( 0, 5 )
9370
9371 * inst/include/Rcpp/sugar/Range.h: fixed compiler confusion
9372
9373 * inst/include/Rcpp/stats: new sugar functions Rcpp::stats::dpois and
9374 Rcpp::stats::dbinom inspired by Richard Chandler post on Rcpp-devel:
9375 http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2010-August/000940.html
9376
9377 * inst/include/Rcpp/sugar/sum.h: preliminary version of Rcpp::sum (does not
9378 deal with NA properly yet)
9379
9380 2010-08-04 Romain Francois <[email protected]>
9381
9382 * inst/include/Rcpp/sugar/: rework sugar matrix so that operator()(int,int)
9383 is always used instead of operator[](int)
9384
9385 * inst/include/Rcpp/sugar/matrix/outer.h: new implementation based on
9386 LazyVector, so that the value from the vector expression is only
9387 retrieved once
9388
9389 2010-08-02 Romain Francois <[email protected]>
9390
9391 * inst/include/Rcpp/XPtr.h: give default values to tag and prot in XPtr ctor
9392
9393 2010-07-30 Romain Francois <[email protected]>
9394
9395 * inst/doc/Rcpp-quickref/* : new vignette Rcpp-quickref: quick reference guide
9396 to Rcpp API
9397
9398 2010-07-28 Romain Francois <[email protected]>
9399
9400 * inst/include/Rcpp/sugar/exp.h: adapt to stricter standards on solaris/suncc
9401
9402 2010-07-25 Dirk Eddelbuettel <[email protected]>
9403
9404 * DESCRIPTION: Release 0.8.5
9405
9406 * debian/*: Similarly updated for new release to Debian
9407
9408 2010-07-17 Romain Francois <[email protected]>
9409
9410 * inst/include/Rcpp/vector/Vector.h: faster lhs use of names, only
9411 using callback to R if necessary. (discovered while profiling
9412 RProtoBuf)
9413
9414 * inst/include/Rcpp/RObject.h : faster lhs and rhs use of
9415 RObject::slot, using R API functions R_do_slot and R_do_slot_assign
9416
9417 2010-07-16 Dirk Eddelbuettel <[email protected]>
9418
9419 * src/Date.cpp: Small fix which may make Solaris/SunStudio happy
9420
9421 2010-07-16 Romain Francois <[email protected]>
9422
9423 * man/Rcpp-package.Rd : removed old content and point to the
9424 Rcpp-package vignette for current guidelines.
9425
9426 * DESCRIPTION: Updated to mention sugar and modules
9427
9428 2010-07-10 Romain Francois <[email protected]>
9429
9430 * src/Makevars: Remove last call to $shell by turning C++0x
9431 detection off (and into a switch users can edit) which should
9432 make builds more stable
9433 * src/Makevars.win: Idem
9434 * src/cxx0x/cxx0x.R: Detection script deprecated for now
9435
9436 2010-07-10 Romain Francois <[email protected]>
9437
9438 * man/CppClass-class.Rd: changed use of \linkS4Class to suppress a
9439 warning with the development version of R
9440 * man/CppObject-class.Rd: idem
9441
9442 2010-07-09 Dirk Eddelbuettel <[email protected]>
9443
9444 * DESCRIPTION: Release 0.8.4
9445
9446 * debian/*: Similarly updated for new release to Debian
9447
9448 2010-07-09 Romain Francois <[email protected]>
9449
9450 * src/RObject.cpp: adapt the SlotProxy class to deal with the special
9451 case of the .Data slot (slot<- changes the internal SEXP)
9452
9453 * R/Module.R: the C++Class now inherits from "character", to facilitate
9454 S4 method dispatch
9455
9456 * src/Module.cpp: The CppClass ctor sets the .Data of the C++Class object
9457 to an obfuscated name to avoid class names clashes at the R level.
9458
9459 2010-07-08 Romain Francois <[email protected]>
9460
9461 * inst/include/Rcpp/sugar/functions/head.h: new sugar function : head
9462 * inst/include/Rcpp/sugar/functions/tail.h: new sugar function : tail
9463
9464 * inst/include/Rcpp/sugar/functions/tail.h: new sugar function : diag
9465
9466 2010-07-07 Dirk Eddelbuettel <[email protected]>
9467
9468 * inst/README: Updated and now pointing to all the other documentation
9469
9470 2010-07-07 Romain Francois <[email protected]>
9471
9472 * inst/include/Rcpp/sugar/functions/rep.h: version of rep that takes a
9473 primitive as the first argument
9474
9475 2010-07-07 Dirk Eddelbuettel <[email protected]>
9476
9477 * inst/unitTests/runTests.R: Reverted to running all tests now that
9478 tests are reorganised using the one-compile-per-function scheme which
9479 significantly speeds up running of the numerous unit tests
9480
9481 2010-07-06 Dirk Eddelbuettel <[email protected]>
9482
9483 * src/Date.cpp: Imported mktime() from R (which is due to Arthur Olson)
9484
9485 2010-07-06 Romain Francois <[email protected]>
9486
9487 * inst/include/Rcpp/sugar/functions/ifelse.h: using compile time dispatch
9488 based on the NA-ness of the condition type. ifelse handles primitive
9489 arguments on the lhs, rhs or both
9490
9491 * inst/include/Rcpp/sugar/functions/rev.h: new sugar function: rev
9492
9493 2010-07-05 Romain Francois <[email protected]>
9494
9495 * inst/include/Rcpp/RcppCommon.h : no more using variadic macros in
9496 RCPP_DEBUG
9497
9498 * inst/include/Rcpp/vector/Matrix.h: move ncol, nrow, rows and cols
9499 in Matrix (used to be in Vector)
9500
9501 * inst/include/Rcpp/traits/matrix_interface.h: new SFINAE helper to
9502 detect matrix interface (helps matrix sugar expressions)
9503
9504 2010-07-03 Romain Francois <[email protected]>
9505
9506 * inst/include/Rcpp/traits/result_of.h : also deal with functions
9507 taking two arguments (useful for e.g. outer)
9508
9509 * inst/include/Rcpp/vector/MatrixBase.h : new CRTP base class
9510 for Matrix to facilitate sugar syntax on matrices.
9511
9512 * inst/include/Rcpp/sugar/matrix/outer.h : new sugar function: outer
9513 * inst/include/Rcpp/sugar/matrix/row.h: new sugar function: row
9514 * inst/include/Rcpp/sugar/matrix/col.h: new sugar function: col
9515 * inst/include/Rcpp/sugar/matrix/lower_tri.h: new sugar function: lower_tri
9516 * inst/include/Rcpp/sugar/matrix/upper_tri.h: new sugar function: upper_tri
9517
9518 * inst/include/Rcpp/sugar/functions/rep.h: new sugar function : rep
9519 * inst/include/Rcpp/sugar/functions/rep_len.h: new sugar function : rep_len
9520 * inst/include/Rcpp/sugar/functions/rep_each.h: new sugar function : rep_each
9521
9522 2010-07-02 Dirk Eddelbuettel <[email protected]>
9523
9524 * src/RcppStringVector: Now uses std::vector<std::string>
9525 * inst/include/classic/RcppStringVector.h: Idem
9526
9527 * inst/unitTests/runit.List.R: Added simple test for RcppStringVector
9528
9529 2010-07-01 Dirk Eddelbuettel <[email protected]>
9530
9531 * src/RcppDateVector: Index argument is int here as well
9532 * src/RcppDatetimeVector: Idem
9533 * inst/include/classic/RcppDateVector.h: Idem
9534 * inst/include/classic/RcppDatetimeVector.h: Idem
9535
9536 * inst/unitTests/runit.List.R: Added simple test for RcppList
9537
9538 2010-06-30 Dirk Eddelbuettel <[email protected]>
9539
9540 * src/DateVector: Index argument is int; throw declared
9541 * src/DatetimeVector: Idem
9542 * inst/include/Rcpp/DateVector.h: Idem
9543 * inst/include/Rcpp/DatetimeVector.h: Idem
9544
9545 2010-06-28 Romain Francois <[email protected]>
9546
9547 * inst/include/Rcpp/sugar/Im.h:
9548 * inst/include/Rcpp/sugar/Re.h:
9549 * inst/include/Rcpp/sugar/Conj.h:
9550 * inst/include/Rcpp/sugar/Mod.h: added sugar functions for
9551 complex vectors: Re, Im, Conj, Mod
9552
9553 2010-06-27 Dirk Eddelbuettel <[email protected]>
9554
9555 * DESCRIPTION: Release 0.8.3
9556
9557 * debian/*: Similarly updated for new release to Debian
9558
9559 * inst/unitTests/runTests.R: Stop-gap measure to reduce the number of
9560 tests run on Windows as we now have so many tests that the build
9561 exceeds the time limit granted by the win-builder service. The forced
9562 reduction of tests can be overcome by adding --allTests as a
9563 command-line argument on Windows, or by running on another platform.
9564
9565 2010-06-25 Romain Francois <[email protected]>
9566
9567 * inst/include/Rcpp/posix.h: anticipate R 2.12.0 switch of classes
9568 POSIXt and POSIXct
9569
9570 * inst/include/classic: New home for the 'classic' API headers. Also
9571 some refactoring of the internals so that they can interoperate
9572 better withuse the new API.
9573
9574 2010-06-24 Romain Francois <[email protected]>
9575
9576 * inst/include/Rcpp/vector/RangeIndexer.h: factored the RangeIndexer
9577 class out of Vector, so that we can at a later time specialize it for
9578 character vectors, lists, etc ...
9579
9580 2010-06-24 Dirk Eddelbuettel <[email protected]>
9581
9582 * inst/include/Rcpp/Date.h: add struct tm member variable and
9583 sensible (ie non-intra-day) accessor functions; add SEXP ctor
9584 * src/Date.cpp: Implementation of the above
9585 * inst/unitTests/runit.Date.R: tests for the above
9586
9587 * inst/include/Rcpp/Datetime.h: New Datetime class
9588 * src/Datetime.cpp: Implementation for new Datetime class
9589 * inst/unitTests/runit.Datetime.R: first tests for Rcpp::Datetime
9590 * inst/include/Rcpp/Datetime_forward.h: API Integration
9591
9592 * inst/include/Rcpp/DatetimeVector.h: New DatetimeVector class
9593 * src/Datetime.cpp: Implementation for new DatetimeVector class
9594
9595 2010-06-23 Dirk Eddelbuettel <[email protected]>
9596
9597 * src/Date.cpp: Import mktime00() from R's src/main/datetime.c,
9598 completed class implementation
9599 * inst/include/Rcpp/Date.h: Add mktime00() declaration
9600
9601 * inst/include/Rcpp/DateVector.h: New DateVector class
9602 * src/Date.cpp: Implementation for new DateVector class
9603
9604 2010-06-23 Romain Francois <[email protected]>
9605
9606 * inst/include/Rcpp/Date_forward.h: forward declaration of Rcpp::Date and
9607 support for wrap( container of Rcpp::Date ), e.g. wrap( vector<Date> )
9608
9609 * inst/include/Rcpp/sugar/Range.h: added the concept of range to allow
9610 modification of several elements of a vector.
9611
9612 * inst/examples/ConvolveBenchmarks: version of the convolution function
9613 using sugar indexing.
9614
9615 2010-06-22 Dirk Eddelbuettel <[email protected]>
9616
9617 * inst/include/Rcpp/Date.h: New Date class (not yet complete)
9618 * src/Date.cpp: Implementation for new Date class (not yet complete)
9619 * inst/unitTests/runit.Date.R: first tests for Rcpp::Date
9620
9621 2010-06-21 Dirk Eddelbuettel <[email protected]>
9622
9623 * inst/examples/SugarPerformance/: New example to benchmark the new
9624 syntactic 'sugar' classes
9625
9626 2010-06-19 Dirk Eddelbuettel <[email protected]>
9627
9628 * inst/include/RcppDoxygenExamples.h: Correct three wrong paths for
9629 ConvolveBenchmak example files, and add missing FastLM/ examples
9630
9631 2010-06-18 Romain Francois <[email protected]>
9632
9633 * inst/include/Rcpp/sugar/*: implementation of Rcpp sugar, covering
9634 binary operators (<,>,<=,>=,!=,==) for logical vectors or logical
9635 expressions, arithmetic operators (+,-,*,/) for vectors and
9636 expressions, and several functions similar to the R functions of the
9637 same name, currently: abs, all, any, ceiling, diff, exp, ifelse,
9638 is_na, lapply, pmin, pmax, pow, sapply, seq_along, seq_len, sign
9639
9640 * inst/doc/Rcpp-sugar/Rcpp-sugar.Rnw: vignette documenting Rcpp sugar
9641
9642 2010-06-17 Romain Francois <[email protected]>
9643
9644 * inst/include/Rcpp/Vector.h: split into more manageable files
9645
9646 * inst/include/Rcpp/vector/VectorBase.h: simplify the VectorBase class
9647 so that it is just implementing CRTP. It does not inherit from RObject anymore.
9648 This will help implementation of sugar.
9649
9650 2010-06-16 Dirk Eddelbuettel <[email protected]>
9651
9652 * src/RcppDateVector.cpp: Also provide non-const operator()(int i)
9653 * inst/include/RcppDateVector.h: Idem
9654
9655 2010-06-16 Romain Francois <[email protected]>
9656
9657 * inst/include/Rcpp/InternalFunction.h: new class Rcpp::InternalFunction
9658 * R/Module.R: R support for Rcpp::InternalFunction
9659
9660 * inst/include/Rcpp/Module.h: added the LOAD_RCPP_MODULE macro to
9661 allow loading a module from C++
9662
9663 * R/Module.R: if the first argument is an external pointer already,
9664 Module assumes it is a module pointer. (R support for the item above)
9665
9666 2010-06-15 Dirk Eddelbuettel <[email protected]>
9667
9668 * src/RcppDatetimeVector.cpp: Use std::vector internally
9669 * inst/include/RcppDatetimeVector.h: Idem
9670 * src/RcppDateVector.cpp: Use std::vector internally
9671 * inst/include/RcppDateVector.h: Idem
9672
9673 2010-06-14 Dirk Eddelbuettel <[email protected]>
9674
9675 * src/RcppDatetimeVector.cpp: Add constructor from int
9676 * inst/include/RcppDatetimeVector.h: Idem
9677 * src/RcppDateVector.cpp: Add constructor from int
9678 * inst/include/RcppDateVector.h: Idem
9679
9680 2010-06-13 Dirk Eddelbuettel <[email protected]>
9681
9682 * src/RcppResultSet.cpp: Proper template specialisation for wrap
9683 * inst/include/RcppResultSet.h: Idem
9684
9685 * src/RcppDateVector.cpp: Add const qualifier to operator()(int i)
9686 * inst/include/RcppDateVector.h: Idem
9687
9688 2010-06-13 Romain Francois <[email protected]>
9689
9690 * inst/include/Rcpp/Vector.h: added new factory functions for Vector:
9691 Vector::import and Vector::import_transform
9692
9693 2010-06-12 Dirk Eddelbuettel <[email protected]>
9694
9695 * src/RcppDate.cpp: Simple RcppDate(SEXP) ctor added
9696 * inst/include/RcppDate.h: Idem
9697
9698 * src/RcppResultSet.cpp: carved out four new wrap() functions by
9699 splitting the existing code in add() methods off
9700
9701 2010-06-11 Romain Francois <[email protected]>
9702
9703 * R/help.R: workaround to allow the syntax "Rcpp ? something" to
9704 bring Rcpp documentation
9705
9706 * inst/include/Rcpp/Module.h: support for exposing public data
9707 members
9708
9709 * inst/doc/Rcpp-modules/Rcpp-modules.Rnw: a section to mention fields
9710 as a way to expose data members
9711
9712 * inst/Rcpp/traits/is_na.h : new helper class Rcpp::traits::is_na
9713
9714 2010-06-09 Dirk Eddelbuettel <[email protected]>
9715
9716 * DESCRIPTION: Release 0.8.2
9717
9718 * debian/*: Similarly updated for new release to Debian
9719
9720 2010-06-08 Romain Francois <[email protected]>
9721
9722 * src/RcppCommon.cpp: track if demangling is available (currently
9723 only available with gcc)
9724
9725 2010-06-08 Dirk Eddelbuettel <[email protected]>
9726
9727 * DESCRIPTION: Release 0.8.1
9728
9729 * debian/*: Similarly updated for new release to Debian
9730
9731 2010-06-07 Dirk Eddelbuettel <[email protected]>
9732
9733 * inst/doc/Rcpp-extending*: Extended mini vignette "Rcpp-extending"
9734
9735 2010-06-07 Romain Francois <[email protected]>
9736
9737 * inst/doc/Rcpp-extending*: Added new mini vignette "Rcpp-extending"
9738
9739 2010-06-05 Dirk Eddelbuettel <[email protected]>
9740
9741 * inst/doc/Rcpp-FAQ*: Extended mini vignette "Rcpp-FAQ"
9742
9743 2010-06-05 Romain Francois <[email protected]>
9744
9745 * inst/doc/Rcpp-FAQ*: Added new mini vignette "Rcpp-FAQ"
9746
9747 2010-06-04 Romain Francois <[email protected]>
9748
9749 * inst/include/Rcpp/Module.h:
9750 * R/Module.R: support for properties of C++ objects
9751
9752 2010-06-03 Romain Francois <[email protected]>
9753
9754 * src/RcppCommn.cpp: added show method for C++Object and C++Class
9755
9756 * inst/include/Rcpp/XPtr.h: getTag and getProtected are deprecated, will be
9757 removed in Rcpp 0.8.2. methods tag and prot should be used instead. The new
9758 methods support both lhs and rhs use.
9759
9760 2010-06-02 Romain Francois <[email protected]>
9761
9762 * inst/include/Rcpp/traits/r_type_traits.h: added missing support for
9763 std::complex<double>, needed by RcppArmadillo
9764
9765 * src/RcppCommon.cpp: added internal .Call function as_character_externalptr
9766 to extract the address of the pointer wrapped by an external pointer
9767
9768 2010-06-01 Romain Francois <[email protected]>
9769
9770 * inst/doc/Rcpp-package*: new mini vignette "Rcpp-package" to improve the
9771 documentation of Rcpp.package.skeleton and details the steps involved in
9772 making a package that uses Rcpp
9773
9774 * inst/doc/Rcpp-modules/Rcpp-modules.Rnw: document how to use modules
9775 in other packages (namespace, etc ...)
9776
9777 * R/Rcpp.package.skeleton: added the module argument
9778
9779 * R/Module.R: prompt method for Module objects to generate skeleton of an Rd
9780 file with the list of functions and classes defined by the module.
9781
9782 2010-05-30 Romain Francois <[email protected]>
9783
9784 * R/Module.R: completion for C++ modules.
9785
9786 2010-05-29 Romain Francois <[email protected]>
9787
9788 * R/Module.R: when a Module is loaded, it creates extensions of the
9789 class C++Object for each internal class to enable S4 dispatch
9790
9791 * R/Module.R: support for completion of methods of C++ objects
9792
9793 2010-05-28 Romain Francois <[email protected]>
9794
9795 * R/cppfunction.R: withdrawn, we now use inline::cxxfunction which is
9796 more flexible and we no longer need to depend on inline
9797 * man/cppfunction.Rd: *
9798
9799 * inst/unitTests/runTests.R: The tests now require a recent version
9800 of inline (>= 0.3.4.2)
9801
9802 2010-05-27 Romain Francois <[email protected]>
9803
9804 * inst/include/Rcpp/Module.h: adding support for registering a free function
9805 that takes a pointer to the class of the wrapped object as first argument
9806 in class_
9807
9808 2010-05-26 Romain Francois <[email protected]>
9809
9810 * inst/include/Rcpp/Module.h:
9811 * src/Module.cpp : limited support for exposing c++ classes in Rcpp modules
9812
9813 * R/Module.R : classes "C++Class", "C++Object" holding external pointers
9814 and $ method dispatching internally
9815
9816 2010-05-24 Dirk Eddelbuettel <[email protected]>
9817
9818 * src/Rcpp*.cpp: Moved template code from the older API to headers
9819 headers in inst/include/*.h; removed empty source files
9820
9821 2010-05-21 Romain Francois <[email protected]>
9822
9823 * R/exceptions.R: rework rcpp_tryCatch to prevent evaluating the
9824 expression too early (reported by Doug Bates on Rcpp-devel)
9825
9826 * src/Evaluator.cpp: rework Evaluator::run() so that it correctly
9827 evaluates inside an environment (reported by Doug Bates on
9828 Rcpp-devel)
9829
9830 2010-05-20 Romain Francois <[email protected]>
9831
9832 * inst/include/Rcpp/Vector.h : correct throw specs for
9833 vector_from_string (reported by Brian Ripley from solaris)
9834
9835 * inst/include/Rcpp/internal/Proxy_Iterator.h: fixed constness of
9836 several operators in Proxy_Iterator to try to suite suncc/solaris
9837
9838 * inst/include/Rcpp/config.h: define RCPP_ENABLE_MODULES to hide
9839 the experimental module features from the official api
9840
9841 * R/getDLL.R: removed and promoted to getDynLib in inline
9842
9843 2010-05-19 Romain Francois <[email protected]>
9844
9845 * inst/include/Rcpp/as.h: add throw specification to as
9846 specialization, reported by suncc compiler on CRAN checks
9847
9848 * inst/include/Rcpp/Module.h : adding the concept of Rcpp modules,
9849 inspired from boost.python
9850
9851 * R/Module.R: R side support for modules
9852
9853 * R/getDLL.R: generic (s4) function to get the DLL based on either
9854 its name e.g. getDLL( "Rcpp" ) or an object of class CFunc (from the
9855 inline package)
9856
9857 2010-05-17 Dirk Eddelbuettel <[email protected]>
9858
9859 * DESCRIPTION: Release 0.8.0
9860
9861 * debian/*: Similarly updated for new release to Debian
9862
9863 2010-05-11 Romain Francois <[email protected]>
9864
9865 * inst/include/Rcpp/traits/*.h: added support for long long int and
9866 unsigned long long int, which is size_t on win64
9867
9868 2010-05-10 Romain Francois <[email protected]>
9869
9870 * inst/include/Rcpp/Dimension.h: added a const operator[], requested
9871 in the Rcpp-devel thread :
9872 http://article.gmane.org/gmane.comp.lang.r.rcpp/327
9873
9874 * inst/include/Rcpp/preprocessor.h: added __rcpp_info__ pseudo
9875 reflection information to RCPP_XP_FIELD
9876
9877 * inst/unitTests/runit.macros.R: testing RCPP_XP_FIELD
9878
9879 2010-05-06 Romain Francois <[email protected]>
9880
9881 * inst/include/Rcpp/DataFrame.h: DataFrame( RObject::SlotProxy ) and
9882 DataFrame( RObject::AttributeProxy ) constructors
9883
9884 * inst/include/Rcpp/DataFrame.h: DataFrame::create now uses the R
9885 function data.frame and not as.data.frame, which respects the
9886 stringsAsFactors argument.
9887
9888 * inst/include/Rcpp/preprocessor.h: added RCPP_XP_FIELD_SET and
9889 RCPP_XP_FIELD_SET macros to generate getter and setter for a field of
9890 a class handled by an external pointer. RCPP_XP_FIELD is modified to
9891 generate both getter and setter
9892
9893 2010-05-05 Romain Francois <[email protected]>
9894
9895 * inst/include/Rcpp/S4.h: S4 gains a "is" method to identify if an
9896 object is of a given S4 class, following Doug's advice in lme4a
9897
9898 * inst/include/Rcpp/algo.h: new STL-like algorithms Rcpp::any and
9899 Rcpp::any_if
9900
9901 * inst/include/Rcpp/Vector.h: Vector gains a constructor taking an
9902 RObject::SlotProxy and a constructor taking an RObject::AttributeProxy,
9903 allowing this construct NumericVector x( y.slot( "foo" ) )
9904
9905 2010-05-04 Romain Francois <[email protected]>
9906
9907 * inst/include/Rcpp/preprocessor_generated.h: new macros to hide most of
9908 the boiler plate code
9909 RCPP_FUNCTION_0, ..., RCPP_FUNCTION_1
9910 RCPP_FUNCTION_VOID_0, ...
9911 RCPP_XP_METHOD_0, ...
9912 RCPP_XP_METHOD_CAST_0, ...
9913 RCPP_XP_METHOD_VOID_0, ...
9914
9915 2010-05-03 Dirk Eddelbuettel <[email protected]>
9916
9917 * inst/unitTests/runit.DataFrame.R: unit tests for Rcpp::DataFrame
9918
9919 2010-05-03 Romain Francois <[email protected]>
9920
9921 * inst/include/Rcpp/exceptions.h : move the what methods of exception
9922 classes so that the symbol is defined for sure in the shared
9923 library. This seems to make a difference due to vague linkage
9924 issues. Decrypted from http://gcc.gnu.org/wiki/Visibility
9925
9926 2010-05-02 Romain Francois <[email protected]>
9927
9928 * inst/include/Rcpp/as.h: add throw(not_compatible) in Rcpp::as
9929
9930 * inst/include/Rcpp/clone.h: the clone(SEXP) moves to the headers
9931
9932 2010-04-28 Romain Francois <[email protected]>
9933
9934 * inst/include/Rcpp/Vector.h: changed Vector( size_t ) to Vector( int )
9935 to allow Vector( 0 ) and Vector::create()
9936
9937 2010-04-27 Romain Francois <[email protected]>
9938
9939 * inst/include/Rcpp/preprocessor.h: new macro RCPP_ENUM_TRAITS to
9940 generate traits needed to support wrap for an enum type (used in
9941 RProtoBuf)
9942
9943 * R/Rcpp.package.skeleton.R: correctly handle the example_code
9944 argument
9945
9946 2010-04-26 Romain Francois <[email protected]>
9947
9948 * inst/include/Rcpp/DataFrame_*.h: new class Rcpp::DataFrame
9949
9950 * inst/include/Rcpp/preprocessor.h: added RCPP_XP_FIELD macro
9951
9952 * inst/include/Rcpp/preprocessor_generated.h: added the set of macros
9953 RCPP_WRAPPER_0, ..., RCPP_WRAPPER_65 to help wrapping existing
9954 C functions into .Call callables functions
9955
9956 2010-04-16 Dirk Eddelbuettel <[email protected]>
9957
9958 * DESCRIPTION: Release 0.7.12
9959
9960 * debian/*: Similarly updated for new release to Debian
9961
9962 * RcppLdpath.R: Remove shQuote() from trying to protect spaces in
9963 Windows pathnames as it breaks backticks expansion usage
9964
9965 2010-04-06 Romain Francois <[email protected]>
9966
9967 * inst/include/Rcpp/traits/*.h: added support for long
9968
9969 2010-04-04 Romain Francois <[email protected]>
9970
9971 * inst/include/* : headers are moved to inst/include so that they are
9972 are not duplicated on multi arch platforms
9973
9974 * R/RcppLdPath.R: RcppCxxFlags is updated to reflect the above change
9975
9976 * src/Makevars: simplified as the headers don't need to be copied to each
9977 arch lib directory anymore
9978
9979 * src/Makevars.win: same
9980
9981 * inst/include/Rcpp/Vector.h : Vector<> gains a templated assignment
9982 operator
9983
9984 2010-04-02 Romain Francois <[email protected]>
9985
9986 * src/Rcpp/Formula.h: new Rcpp::Formula class
9987 * inst/unitTests/runit.Formula.R: unit test for Rcpp::Formula
9988
9989 2010-03-26 Dirk Eddelbuettel <[email protected]>
9990
9991 * DESCRIPTION: Release 0.7.11
9992
9993 * debian/*: Similarly updated for new release to Debian
9994
9995 * inst/examples/FastLM: Updated to use new create() method
9996
9997 * inst/unitTests/runit.Matrix.R: New unit test new Matrix constructors
9998
9999 2010-03-26 Romain Francois <[email protected]>
10000
10001 * src/Rcpp/Vector.h: Fixed bug in diag()
10002
10003 2010-03-23 Dirk Eddelbuettel <[email protected]>
10004
10005 * inst/unitTests/runit.CharacterVector.R: New unit test for bug found by Doug
10006
10007 2010-03-23 Romain Francois <[email protected]>
10008
10009 * src/Rcpp/Vector.h: fixed critical bug. Vector did not have copy constructor
10010 and assignement operators
10011
10012 * src/exceptions.cpp: added the demangle helper function to help debugging
10013
10014 * src/RcppCommon.h: added the DEMANGLE macro and the RCPP_DEBUG macro to help
10015 debugging.
10016
10017 2010-03-20 Romain Francois <[email protected]>
10018
10019 * src/Rcpp/Vector.h : Vector gains a templated fill method to fill all
10020 elements of a vector with the same value
10021
10022 2010-03-19 Romain Francois <[email protected]>
10023
10024 * src/Rcpp/Vector.h : Matrix gains a diag method to create diagonal
10025 matrices
10026
10027 * src/Rcpp/Named.h: Named is no longer a class, but a templated function.
10028 This preserves all the existing interface, but also allows Named to be used
10029 in making simple vectors, e.g through the Vector::create factory functions
10030
10031 * src/Rcpp/Vector.h: Vector gains the "create" factory methods taking up
10032 to 20 arguments that can be named (using the Argument class or the _
10033 placeholder)
10034
10035 * src/Rcpp/make_list.h: removed since Vector::create does the job more generically
10036 and more efficently
10037
10038 2010-03-19 Dirk Eddelbuettel <[email protected]>
10039
10040 * src/Rcpp/Vector.h: Matrix now also accepts a single int in the
10041 constructor to create matrices of square sizes
10042
10043 * src/RcppFrame.h: Patch by Alistair Gee to make ColDatum more robust
10044 src/RcppFrame.h: Idem
10045 * inst/unitTests/runit.RcppFrame.R: New unit test for RcppFrame
10046
10047 2010-03-16 Romain Francois <[email protected]>
10048
10049 * src/Rcpp/make_list.h: set of helper factories make_list to facilitate
10050 production of named generic vectors.
10051
10052 * src/Rcpp/Named.h: new class Rcpp::Argument similar to Named but does not
10053 contain the object, just the name. The templated Argument::operator= makes
10054 a Named. This allows an application to define a set of arguments that it uses
10055 in order to have a nicer construct. see the runit.Argument.R file for an example
10056
10057 2010-03-15 Dirk Eddelbuettel <[email protected]>
10058
10059 * DESCRIPTION: Release 0.7.10
10060
10061 * debian/*: Similarly updated for new release to Debian
10062
10063 * RcppLdpath.R: Use shQuote() to protect spaces in Windows pathnames
10064
10065 2010-03-15 Romain Francois <[email protected]>
10066
10067 * inst/codebloat/codebloat.R: script to generate code (creating a
10068 pairlist with up to n arguments).
10069
10070 * src/Rcpp/Function.h : Function gains a body method to retrieve
10071 the body of the function (using the BODY macro from Rinternals.h)
10072
10073 2010-03-14 Romain Francois <[email protected]>
10074
10075 * src/Rcpp/S4.h : Rcpp::S4 gains a new constructor taking a string
10076 reference and building a new S4 object of that type. This throws an
10077 exception if the object is not successfully created (e.g the class
10078 is not a known S4 class)
10079
10080 2010-03-13 Romain Francois <[email protected]>
10081
10082 * src/Rcpp/S4.h : new class Rcpp::S4
10083
10084 2010-03-12 Dirk Eddelbuettel <[email protected]>
10085
10086 * DESCRIPTION: Release 0.7.9
10087
10088 * debian/*: Similarly updated for new release to Debian
10089
10090 2010-03-12 Romain Francois <[email protected]>
10091
10092 * inst/unitTests/runit.environments.R: mac os has a different locale
10093
10094 * src/Rcpp/traits/is_convertible.h: the detection is now performed without
10095 the help of cxx0x or tr1 which makes it compatible with gcc 4.2
10096
10097 * src/Rcpp/traits/is_same.h: new traits is_same to help detect if two types
10098 are the same (not currently used)
10099
10100 * src/Rcpp/traits/wrap_type_traits.h: use "unsigned int" instead of "size_t"
10101 in the template specializations (64 bit compatibility)
10102
10103 2010-03-10 Dirk Eddelbuettel <[email protected]>
10104
10105 * R/RcppLdPath.R: More specific about quote-protection of path on Windows
10106
10107 * inst/doc/Rcpp-introduction.Rnw: Applied several fixes kindly suggested
10108 by Matt Kraai
10109
10110 2010-03-09 Dirk Eddelbuettel <[email protected]>
10111
10112 * DESCRIPTION: Release 0.7.8
10113
10114 * debian/*: Similarly updated for new release to Debian
10115
10116 2010-03-09 Romain Francois <[email protected]>
10117
10118 * man/Rcpp.package.skeleton.Rd: some more documentation
10119
10120 2010-03-07 Dirk Eddelbuettel <[email protected]>
10121
10122 * inst/doc/Rcpp-introduction.Rnw: Added vignette based on a recent paper
10123
10124 2010-03-07 Romain Francois <[email protected]>
10125
10126 * src/Rcpp/StringTransformer.h: new class template StringTransformer
10127 that allows using a character by character function to modify
10128 elements of a string vector (example available in package RcppExamples)
10129
10130 * src/Rcpp/Vector.h: string_proxy::iterator is made const char* because
10131 R uses a global cache for the CHARSXP
10132
10133 2010-03-05 Romain Francois <[email protected]>
10134
10135 * src/Rcpp/Vector.h: string_proxy gains begin(), end(),
10136 size(), and operator[] for iterating over characters of the CHARSXP
10137
10138 2010-03-02 Romain Francois <[email protected]>
10139
10140 * src/Rcpp/Vector.h: Vector gains a nested r_type type that is an
10141 integral_constant<int,RTYPE> to facilitate TMP
10142 * src/RcppCommon.{h,cpp}: added RCPP_CALL_VECTOR and RCPP_CALL_MATRIX
10143 macros to facilitate calling a function templated by T = Vector<RTYPE>
10144 the macro hides the boiler-plate switch( TYPEOF(x) ){ case INTSXP : ... }
10145
10146 2010-03-01 Romain Francois <[email protected]>
10147
10148 * src/Rcpp/Vector.h: more typedef : CharacterMatrix, StringMatrix,
10149 GenericMatrix, ExpressionMatrix, ListMatrix
10150
10151 * src/ExpressionVector.cpp : replaced by templates in Vector.h
10152 * src/Rcpp/Vector.h: use templates to cover ExpressionVector additional
10153 methods : eval() and eval(const Environment& )
10154
10155 2010-02-28 Romain Francois <[email protected]>
10156
10157 * src/Rcpp/Vector.h : more generic code for vectors. All vector
10158 types are now generated from the template Rcpp::Vector<int RTYPE>
10159 where RTYPE is one of INTSXP, LGLSXP, REALSXP, RAWSXP, STRSXP,
10160 VECSXP or EXPRSXP.
10161
10162 2010-02-24 Romain Francois <[email protected]>
10163
10164 * src/Rcpp/exceptions.h: some exception classes factored out
10165
10166 * src/Rcpp/VectorBase.h: now a template, using the
10167 Curiously recurring template pattern (the type parameter is
10168 the derived class)
10169
10170 * src/Rcpp/SEXP_Vector.h: the intermediate class
10171 SEXP_Vector_Base is removed, reverting the change on
10172 2010-02-09. This will facilitate the introduction of the
10173 Curiously recurring template pattern on vectors
10174
10175 * src/Rcpp/MatrixRow.h : Row has been factored out of SimpleVector
10176 into a separate template class Rcpp::MatrixRow
10177
10178 * src/Rcpp/SimpleVector.h: gains a row method that returns
10179 a SimpleVector::Row, aka MatrixRow<SimpleVector>
10180
10181 * src/Rcpp/CharacterVector.h : gains a row method that returns
10182 a CharacterVector::Row, aka MatrixRow<CharacterVector>
10183
10184 * src/Rcpp/SEXP_Vector.h : gains a row method that returns
10185 a SEXP_Vector::Row aka MatrixRow<SEXP_Vector>
10186
10187 * src/Rcpp/MatrixColumn.h : Column class to access elements of a
10188 matrix column
10189
10190 2010-02-23 Romain Francois <[email protected]>
10191
10192 * src/Rcpp/SimpleVector.h: added the class SimpleVector::Row
10193 to support STL algorithms working on a row of a matrix.
10194
10195 * src/Rcpp/internal/ListInitialization.h: new class that
10196 supports use of operator, (inspired from blitz) giving this
10197 notation: IntegerVector x(3); x = 0, 1, 2 ;
10198
10199 2010-02-21 Romain Francois <[email protected]>
10200
10201 * src/Rcpp/as.h: more generic as implementation. primitive
10202 types are handled through templates which for example makes
10203 it possible to as<GPB::int64> in RProtoBuf. std::deque<T>
10204 and std::list<T> become as'able when T is a primitive type
10205 as indicated by the Rcpp::traits::r_type_traits
10206
10207 * src/as.cpp: removed since as is now fully implemented via
10208 templates
10209
10210 2010-02-19 Romain Francois <[email protected]>
10211
10212 * src/Rcpp/as.h: as now delegates to a template class
10213 Exporter since partial specialization was not possible with
10214 the interface of as. It is possible to partially specialize
10215 Exporter. std::vector<T> when T is a primitive type is
10216 now handled through Exporter. Some support Exporter have been
10217 added and used in RcppArmadillo
10218
10219 * src/Rcpp/internal/wrap.h: support for std::complex<double>
10220 and std::complex<float> (needed for RcppArmadillo)
10221
10222 * src/Rcpp/traits/wrap_type_traits.h : The Importer concept
10223 has been introduced to support wrap() of more types. If a
10224 class has a typedef "r_import_type" then the following interface
10225 is assumed and used. The corresponding class must have methods
10226 int size() and r_import_type get(int). As usual further dispatch
10227 is performed based on r_import_type (primitive, etc ...).
10228 RcppArmadillo has an example of this for wrapping arma::field<T>
10229 objects using the FieldImporter<T> class.
10230
10231 2010-02-18 Romain Francois <[email protected]>
10232
10233 * src/Rcpp/Language.h: added fixed_call to support STL algorithms
10234 similar to generate.
10235
10236 * inst/unitTests/runit.Language.R: unit test for fixed_call
10237
10238 * src/Rcpp/Environment.h: Environment gains a find method
10239 which searches for a binding in the associated environment
10240 but also in all its parents, as opposed to get which just
10241 looks in the environment.
10242
10243 2010-02-17 Dirk Eddelbuettel <[email protected]>
10244
10245 * src/Makevars: Simplified as RcppExample.cpp is shipped off
10246 * src/Makevars.win: Simplified as RcppExample.cpp is shipped off
10247
10248 2010-02-17 Romain Francois <[email protected]>
10249
10250 * src/Rcpp/SEXP_Vector.h : The lhs use of operator[](string) has
10251 been improved so that if the name does not exist in the vector,
10252 the vector grows.
10253
10254 * inst/unitTests/runit.GenericVector.R: new unit test
10255 test.List.implicit.push.back about the new operator[](string)
10256
10257 * src/Rcpp/SimpleVector.h : new template class SimpleMatrix<int>
10258 that derives from SimpleVector<int>, with typedefs NumericMatrix
10259 IntegerMatrix, LogicalMatrix, RawMatrix, ComplexMatrix. The actual
10260 functionality comes from SimpleVector but SimpleMatrix has
10261 constructors and assignment operators that behave slighlty
10262 differently : they check that their input is a matrix
10263
10264 * src/Rcpp/traits/wrap_type_traits: added support for float
10265
10266 * src/Rcpp/Rcpp.h: now including RObject here instead of in
10267 RcppCommon.h because RObject is a client of implicit converters
10268 (attr) and so we need to leave a hook for third party code, e.g.
10269 RcppArmadillo
10270
10271 2010-02-16 Dirk Eddelbuettel <[email protected]>
10272
10273 * src/Makevars.wim: Applied improved version kindly supplied by Brian Ripley
10274
10275 * R/RcppExample.R, man/RcppExample.Rd: Moved to RcppExamples package
10276 * man/RcppDate.Rd, man/RcppParams.Rd, man/RcppResultSet.Rd, RcppVector.Rd,
10277 src/RcppExample.cpp: Idem
10278
10279 * inst/examples/FastLM: Slightly reworked, actual code factored out
10280 and used in a per-library demo/test script and a joint benchmark.r
10281
10282 2010-02-15 Dirk Eddelbuettel <[email protected]>
10283
10284 * inst/examples/FastLM: New example directory with two 'fast lm'
10285 implementations using, respectively, GNU GSL (in C) and Armadillo
10286 (in C++); Armadillo is seen as faster for lack of extra copying
10287
10288 2010-02-14 Romain Francois <[email protected]>
10289
10290 * src/Rcpp/Language.h: accepting Function in unary_call and
10291 binary_call to support STL algorithms using R functions.
10292
10293 2010-02-14 Dirk Eddelbuettel <[email protected]>
10294
10295 * DESCRIPTION: Release 0.7.7
10296
10297 * debian/*: Similarly updated for new release to Debian
10298
10299 2010-02-14 Romain Francois <[email protected]>
10300
10301 * src/Rcpp/Language.h: fixing serious bug. The 'code bloat'
10302 constructors taking a std::string did not explicitely
10303 create a symbol, so the created calls were wrong.
10304
10305 * src/Rcpp/Language.h: new template classes Rcpp::unary_call
10306 and Rcpp::binary_call to allow use of Language objects
10307 in STL algorithms.
10308
10309 * inst/unitTests/runit.Language.R: unit test and example
10310 of using unary_call and binary_call
10311
10312 2010-02-12 Dirk Eddelbuettel <[email protected]>
10313
10314 * DESCRIPTION: Release 0.7.6
10315
10316 * NEWS: Updated
10317
10318 * debian/*: Similarly updated for new release to Debian
10319
10320 2010-02-12 Romain Francois <[email protected]>
10321
10322 * src/Rcpp/Environment.h: Environment gains a default
10323 constructor. This is needed for RInside.
10324
10325 2010-02-10 Romain Francois <[email protected]>
10326
10327 * src/Rcpp/SEXP_Vector.h: SEXP_Vector (and therefore
10328 ExpressionVector and GenericVector, a.k.a List) gain
10329 methods push_front, push_back and insert that are templated and
10330 use the 'implicit wrap idiom' to add an element to the front
10331 or, the back or an arbitrary (valid) position of the list,
10332 pushing other elements. Internally the SEXP is actually copied.
10333
10334 * src/Rcpp/SEXP_Vector.h: SEXP_Vector gains an erase method
10335 modelled after std::vector<>::erase to remove elements from
10336 a list. erase has a single iterator (or int) form that removes
10337 one element, and a range based version
10338 erase(iterator first, iterator last) that erases all elements
10339 between first and last.
10340
10341 * src/Rcpp/VectorBase.h: VectorBase gains a version of
10342 offset to support retrieving the offset of a given name of a
10343 vector: offset( const std::string& name)
10344
10345 * src/Rcpp/SimpleVector.h : uses the new offset to perform
10346 names based indexing (FR #808)
10347 * src/Rcpp/SEXP_Vector.h: same
10348 * src/Rcpp/CharacterVector.h: same
10349
10350 * inst/unitTests/runit.GenericVector.R: unit tests for names
10351 based indexing
10352 * inst/unitTests/runit.IntegerVector.R: same
10353 * inst/unitTests/runit.CharacterVector.R: same
10354
10355 2010-02-09 Dirk Eddelbuettel <[email protected]>
10356
10357 * inst/skeleton/Makevars: Use $R_HOME/bin indirection
10358 * inst/skeleton/Makevars.win: Idem
10359
10360 2010-02-09 Romain Francois <[email protected]>
10361
10362 * src/Rcpp/SEXP_Vector.h: The functionality of SEXP_Vector
10363 that was independent of the template parameter was factored out
10364 into a new base class SEXP_Vector_Base. This follows the advice
10365 of item 44 of Effective C++.
10366
10367 * src/Rcpp/SEXP_Vector.h: SEXP_Vector_Base::iterator is introduced
10368 as well as methods begin() and end() to support use of stl
10369 algorithms on lists.
10370
10371 * inst/unitTests/runit.GenericVector.R: new unit test for
10372 testing SEXP_Vector_Base::iterator and illustrating a c++
10373 version of lapply using std::transform
10374
10375 * src/Rcpp/CharacterVector.h: CharacterVector gains a random
10376 access iterator, begin() and end() to support STL algorithms.
10377 The iterator dereferences to a StringProxy
10378
10379 * src/Rcpp/RObject.h: remove RObject::asFoo methods which were
10380 deprecated in Rcpp 0.7.5. The alternative is to use Rcpp::as<Foo>
10381
10382 2010-02-08 Dirk Eddelbuettel <[email protected]>
10383
10384 * DESCRIPTION: Release 0.7.5
10385
10386 * debian/*: Similarly updated for new release to Debian
10387
10388 2010-02-07 Romain Francois <[email protected]>
10389
10390 * src/RcppSexp.h: class RcppSexp removed (was deprecated)
10391
10392 * src/Rcpp/*.h: defaults copy constructors and assignment
10393 operators have been added for all classes extending RObject.
10394 Otherwise the compiler generates default versions that circumvent
10395 the garbage collection management
10396
10397 2010-02-06 Dirk Eddelbuettel <[email protected]>
10398
10399 * inst/examples/functionCallback/newApiExamples.r: Added simpler
10400 version using the new API
10401 * inst/examples/functionCallback/newApiExamples.r: Updated
10402
10403 * inst/unitTests/runit.RcppVector.R: added test for NA/NaN
10404 * inst/unitTests/runit.RcppMatrix.R: idem
10405
10406 2010-02-06 Romain Francois <[email protected]>
10407
10408 * src/Rcpp/RObject.h : asFoo methods are deprecated.
10409
10410 * src/Rcpp/DottedPair.h : using R_len_t instead of int
10411 to anticipate future changes in R
10412 * src/Rcpp/VectorBase.h: idem
10413 * src/DottedPair.cpp: idem
10414 * src/VectorBase.cpp: idem
10415 * src/as.cpp: idem
10416
10417 * src/Rcpp/SimpleVector.h: SimpleVector is now only parameterized
10418 by the SEXP type. The c type is automatically retrieved using
10419 the storage_type trait class.
10420
10421 2010-02-05 Dirk Eddelbuettel <[email protected]>
10422
10423 * inst/THANKS: Added in order to show our appreciation
10424
10425 2010-02-04 Romain Francois <[email protected]>
10426
10427 * src/Rcpp/DottedPair.h: code bloat to allow creation of
10428 DottedPair containing up to 5 objects without variadic templates
10429 RInside for example needs this.
10430 * src/Rcpp/Language.h: same
10431 * src/Rcpp/Pairlist.h: same
10432 * src/Rcpp/grow.h: same
10433
10434 * src/Rcpp/internal/wrap.h : one more level of dispatch to
10435 identify if there needs a cast between the primitive
10436 iterated over and the target storage type. For example
10437 size_t needs a cast to be stored in an integer vector. This
10438 will be useful for the RProtoBuf package with e.g. types like
10439 google::protobuf::int64 which needs to be cast to double.
10440 Consequently the special handling of bool has been withdrawn
10441 as bool can now be assimilated to a primitive type that does
10442 require casting (to int)
10443
10444 2010-02-03 Romain Francois <[email protected]>
10445
10446 * src/Rcpp/VectorBase.h: VectorBase gains a names method that
10447 uses the proxy pattern to get or set the names of a vector
10448
10449 * src/Rcpp/DottedPair.h: DottedPair gains a << operator to
10450 add an object to the queue of the list. this is much useful
10451 when variadic templates are not available
10452
10453 * src/Rcpp/RObject.h: support for slot assignment. The slot
10454 method now uses the proxy pattern.
10455
10456 * inst/unitTests/runit.S4.R: unit test for slot assignment
10457
10458 2010-02-02 Romain Francois <[email protected]>
10459
10460 * src/internal/r_coerce.h : coercion is now handled by a templated
10461 function r_coerce<int,int>, for example r_coerce<INTSXP,REALSXP>
10462 takes an int, performs coercion and returns a double
10463
10464 * src/traits/has_iterator.h : introduce a trait that uses the
10465 SFINAE idiom to check if a class T has a nested type called
10466 "iterator". This helps wrap dispatch which now uses the
10467 range based wrap implementation in that case
10468
10469 * src/Rcpp/wrap.h: The range based wrap function is exposed
10470 at the Rcpp:: level. The interface is
10471 wrap( InputIterator first, InputIterator last )
10472 and dispatch is performed internally using iterator traits
10473
10474 2010-02-01 Romain Francois <[email protected]>
10475
10476 * src/traits/wrap_type_traits.h: new namespace Rcpp::traits::
10477 to host Rcpp type traits used by the template meta programming
10478 dispatching of wrap
10479
10480 2010-01-31 Dirk Eddelbuettel <[email protected]>
10481
10482 * doxyfile: several updates plus improvements related to examples/
10483 * src/RcppDoxygenExamples.h: A phony empty file needed mainly to
10484 define a few \example tags for Doxygen
10485
10486 2010-01-31 Romain Francois <[email protected]>
10487
10488 * src/Rcpp/internal/wrap.h: more wrap for stl templates are
10489 candidate for wrap (when T can be wrapped)
10490 std::list<T> -> vector or list
10491 std::multiset<T> -> vector or list
10492 std::map<std::string,T> -> named vector or named list
10493 std::multimap<std::string,T> -> named vector or named list
10494 std::tr1::unordered_map<std::string,T> -> named vector or named list
10495 std::tr1::unordered_set<T> -> vector or list
10496 std::tr1::unordered_multiset<T> -> vector or list
10497
10498 * inst/unitTests/runit.wrap.R : unit tests for the new
10499 wrappable types
10500
10501 2010-01-30 Dirk Eddelbuettel <[email protected]>
10502
10503 * DESCRIPTION: Release 0.7.4
10504
10505 * debian/*: Similarly updated for new release to Debian
10506
10507 * inst/unitTests/runit.RcppMatrix.R: also test STL return
10508 * inst/unitTests/runit.RcppVector.R: added
10509
10510 2010-01-30 Romain Francois <[email protected]>
10511
10512 * src/Rcpp/internal/wrap.h: rework wrap using traits and
10513 template meta programming. wrap is now really a template
10514 and has many generated specializations. This file is
10515 a private header and should only be included by RcppCommon.h
10516
10517 * src/Rcpp/Language.h: Language gains Function aware constructors
10518 and eval methods
10519
10520 2010-01-28 Romain Francois <[email protected]>
10521
10522 * src/Rcpp/DottedPair.h: DottedPair::Proxy are no more lazy, i.e
10523 traversal of the pair list happens at construction time, so
10524 that the proxy can be created once and used many times more
10525 efficiently.
10526
10527 * src/Rcpp/DottedPair.h: Pairlist and Language are now derived
10528 from the new virtual class DottedPair since both class were
10529 almost identical
10530
10531 * src/Rcpp/SimpleVector.h: simple vectors gain a range
10532 based assign method and a range based assign constructor
10533 * inst/unitTests/runit.IntegerVector.R: new unit test
10534 test.IntegerVector.range.constructors
10535
10536 * src/Rcpp/Dimension.h: new class Rcpp::Dimension to support
10537 creation of vectors with dimensions
10538
10539 * src/Rcpp/*Vector.h: using Rcpp::Dimension
10540
10541 * src/Rcpp/SimpleVector.h: data is initialized with 0 when
10542 the object is constructed from size or Dimension constructor
10543
10544 * inst/unitTestsrunit.CharacterVector.R: new unit test to test
10545 constructors using Dimension
10546 * inst/unitTests/runit.IntegerVector.R: idem
10547 * inst/unitTests/runit.GenericVector.R: idem
10548
10549 * R/unit.tests.R: new unexported function "test" to trigger
10550 unit tests using installed test cases
10551
10552 * src/Rcpp/CharacterVector.h: minor bug fix in assign
10553
10554 * inst/unitTest/runit.RcppResultSet.R: compare time using
10555 as.numeric to avoid timezone problems
10556
10557 2010-01-27 Dirk Eddelbuettel <[email protected]>
10558
10559 * inst/unitTests/runit.RcppMatrix.R: added
10560 * inst/unitTests/runit.RcppMatrixView.R: added
10561 * inst/unitTests/runit.RcppVector.R: added
10562 * inst/unitTests/runit.RcppVectorView.R: added
10563
10564 2010-01-27 Romain Francois <[email protected]>
10565
10566 * src/Rcpp/CharacterVector.h: CharacterVector gains a default
10567 constructor
10568
10569 * src/Rcpp/CharacterVector.h: CharacterVector gains range
10570 constructors and range based assign methods facilitating
10571 construction from iterators
10572
10573 * inst/unitTests/runit.CharacterVector.R: unit tests for assign
10574 and range based constructors
10575
10576 * src/Rcpp/CharacterVector.h: CharacterVector::StringProxy
10577 gets a printing operator <<(std::ostream& )
10578
10579 * src/Rcpp/Environment.h: removed the static
10580 Environment::RCPP_NAMESPACE which caused problems when
10581 embedding R
10582
10583 * src/Rcpp/RObject.h: RObject::AttributeProxy::operator RObject
10584 replaced by templated implicit conversion operator, delegating the
10585 actual work to as<>.
10586
10587 * src/Environment.h: Binding::operator RObject is removed since
10588 it can be automatically generated by the templated implicit
10589 conversion operator
10590
10591 * man/RcpUnitTests.Rd: fix html rendering
10592
10593 * inst/doc/Makefile: clean the index.html file before copying it
10594
10595 2010-01-26 Dirk Eddelbuettel <[email protected]>
10596
10597 * src/RcppDatetime.cpp: New SEXP-based constructor
10598 * src/RcppDatetime.h: idem, bug fix for operator-
10599
10600 * src/RcppDate.h: new accessor getJulian() [relative to epoch
10601 just like R's julian()] to complement getJDN()
10602
10603 * inst/unitTests/runit.RcppDatetime.R: added
10604
10605 2010-01-26 Romain Francois <[email protected]>
10606
10607 * src/Rcpp/clone.h: explicit cloning of RObjects. The clone
10608 template function creates a new object of the same class
10609 as the object it is passed in, encapsulating a duplicate
10610 of the SEXP contained by the input RObject.
10611
10612 * src/Rcpp/r_cast.h: new template function to handle casts
10613 from one SEXP to another. This is mostly useful internally
10614
10615 * src/Rcpp/VectorBase.h: VectorBase gains a offset method
10616 that is responsible to calculate the correct offset based
10617 on variable number of size_t arguments. currently the number
10618 of arguments can be 1 (vector indexing) and 2 (matrix indexing)
10619 but arbitrary number of arguments will be added later
10620 for arbitrary array-like indexing.
10621
10622 * src/Rcpp/SimpleVector.h: outsourcing offset calculation
10623 to VectorBase::offset
10624
10625 * src/Rcpp/CharacterVector.h: use offset to implement matrix-like
10626 indexing for matrices of strings
10627
10628 * inst/unitTests/runit.CharacterVector.R: unit test for matrix
10629 indexing (test.CharacterVector.matrix.indexing)
10630
10631 * inst/Rcpp/SEXP_Vector.h: use offset to implement matrix like
10632 indexing on lists
10633
10634 * inst/unitTests/runit.GenericVector.R: unit test for matrix
10635 indexing (test.List.matrix.indexing)
10636
10637 2010-01-26 Dirk Eddelbuettel <[email protected]>
10638
10639 * inst/unitTests/runit.RcppDate.R: added
10640
10641 2010-01-25 Romain Francois <[email protected]>
10642
10643 * src/Rcpp/wrap.h: wrap is back at being a template. The
10644 template parameter T is first converted to SEXP implicitely
10645 and the wrap(SEXP) method is used. This allows clients to only have to
10646 implement an implicit conversion to SEXP operator for their class
10647 and have wrap for free.
10648
10649 * src/Rcpp/SEXP_Vector.h: factored out ExpressionVector and
10650 GenericVector into a templated SEXP_Vector class parameterized
10651 by the SEXP type (VECSXP or EXPRSXP). GenericVector and
10652 ExpressionVector now are generated from the template. This will
10653 ease adding features to both classes.
10654
10655 * src/as.cpp: also use coercion for as<bool>, as<int>, as<double>
10656 as<Rbyte> (FR #768)
10657
10658 * src/Rcpp/as.h: smarter template as<T>, now the template
10659 attempts to create an object by passing the SEXP as the first
10660 parameter, so any class that has a constructor taking a SEXP
10661 can be as<>'ed. see item below for how this can be useful
10662
10663 * src/Rcpp/Environment.h: lhs use of Environment::Binding is now
10664 a bit smarter and uses as<> to implicitely convert the SEXP
10665 to the requested type, so that if as<Foo> makes sense, this
10666 works: Foo foo = env["x"] ;
10667
10668 * src/Rcpp/Environment.h: Environment::assign gains a templated
10669 form so that we can assign anything that can be wrapped to
10670 a name in an environment.
10671
10672 * inst/unitTests/runit.environments.R: new unit test
10673 'test.environment.assign.templated' to test the templated assign
10674
10675 * src/Makevars(.win?): listen to the RCPP_CXX0X environment variable
10676 and if set to "yes" attempt to add c++0x support if possible
10677
10678 2010-01-24 Dirk Eddelbuettel <[email protected]>
10679
10680 * configure.in: Withdrawn as OS X universal binaries are only built
10681 when there is src/Makevars and neither src/Makefile nor configure
10682 * configure: idem
10683 * src/Makevars: Again a static file, content copied from Makevars.in,
10684 -std=c++0x selection back to simply unabling a comment
10685
10686 2010-01-24 Romain Francois <[email protected]>
10687
10688 * src/SimpleVector.h : new template to replace simple vector
10689 classes. now NumericVector, IntegerVector, LogicalVector,
10690 ComplexVector and RawVector are all generated from the same
10691 template class. A first attempt at matrix indexing is added
10692 as part of this.
10693
10694 * inst/unitTests/runit.NumericVector.R: new unit tests about
10695 matrix indexing
10696
10697 * src/Rcpp/VectorBase.h: added the exception not_a_matrix
10698 that is thrown when attempting to perform matrix indexing on
10699 a vector that is not a matrix.
10700
10701 2010-01-23 Dirk Eddelbuettel <[email protected]>
10702
10703 * inst/unitTests/runit.RcppParams.R: added
10704 * inst/unitTests/runit.RcppResultSet.R: added
10705
10706 2010-01-23 Romain Francois <[email protected]>
10707
10708 * src/wrap.cpp: s/copy/std::copy/
10709
10710 * src/RcppDateTime.h: explicitely include <time.h> (win64 warning)
10711
10712 2010-01-22 Romain Francois <[email protected]>
10713
10714 * src/Makevars.win: disable c++0x entirely (for now)
10715
10716 * src/Rcpp/Environment.h: make sure what() is const. (suncc finding)
10717
10718 * src/RcppCommon.h: pre declare classes, as an attempt to
10719 deal with the suncc warning "RObject may not have a type qualifier."
10720
10721 * src/Rcpp/*.h: make sure RcppCommon.h is the first included header
10722
10723 * src/*cpp: make sure foo.cpp only include Rcpp/foo.h
10724
10725 * src/Environment.cpp: use Evaluator instead of R_ToplevelExec
10726
10727 * src/RcppFunction.{h,cpp}: listen to some suncc warnings
10728
10729 * src/RcppFrame.cpp: listen to some suncc warnings
10730
10731 * src/as.cpp: use transform instead of assign, which should
10732 make the code more portable (particularly suncc) and also
10733 deal with coercion
10734
10735 2010-01-21 Dirk Eddelbuettel <[email protected]>
10736
10737 * DESCRIPTION: Release 0.7.3
10738
10739 * debian/*: Similarly updated for new release to Debian
10740
10741 * INDEX: updated
10742
10743 * configure.in: Some more small cleanups
10744
10745 * inst/skeleton/Makevars.win: Add missing default file
10746
10747 2010-01-21 Romain Francois <[email protected]>
10748
10749 * configure.in: Some small cleanups, add RCPP_CXX0X env var
10750
10751 2010-01-20 Romain Francois <[email protected]>
10752
10753 * src/*: make update private virtual in RObject and couple it with
10754 setSEXP so that it gets called automatically, instead of manually
10755 * src/*: move more code depending on c++0x from cpp files to header
10756 files
10757
10758 2010-01-20 Dirk Eddelbuettel <[email protected]>
10759
10760 * configure.in: Detect C++ capabilties (via g++ major/minor) via
10761 small C++ program embedded in autoconf macro
10762
10763 2010-01-19 Romain Francois <[email protected]>
10764
10765 * configure.in: use the cxx0x.R script to discover if the
10766 compiler being used is c++0x capable
10767 * configure: regenerated from updated configure.in
10768
10769 * src/Makevars.in: using CLINK_CPPFLAGS variable
10770
10771 * src/Makevars.win: using CLINK_CPPFLAGS variable with the
10772 cxx0x.R discovery script
10773
10774 2010-01-18 Dirk Eddelbuettel <[email protected]>
10775
10776 * R/RcppLdpath.R: Rewrote logic for LdFlags() to decide when linking
10777 is static: default now is everywhere but Linux, and choices can be
10778 overriden as before
10779
10780 2010-01-18 Romain Francois <[email protected]>
10781
10782 * inst/discovery/cxx0x.R: replaces the cxx0x.c file to take
10783 care of compiling, etc...
10784
10785 2010-01-17 Romain Francois <[email protected]>
10786
10787 * src/exceptions.cpp: slightly less dumb exception logic
10788 on non GCC compilers. exceptions will now trigger an R error
10789 with a default message (we don't attempt to get the
10790 exception class or message because we don't know how to)
10791
10792 * src/Rcpp/Pairlist.h: Pairlist lacked a default constructor
10793 which is needed when the variadic templates are not
10794 available
10795
10796 * inst/unitTests/*: add -std=c++0x in inline when necessary
10797
10798 * R/RcppLdPath.R : new script RcppCxx0xFlags() and Cxx0xFlags()
10799 that compile, load and call a simple C file in order to check
10800 the compiler version and add the -std=c++0x flag
10801
10802 * inst/discovery/cxx0x.c: discovery script. simple C script that
10803 returns "-std=c++0x" if it is compiled with GCC >= 4.3 and
10804 "" otherwise
10805
10806 2010-01-16 Dirk Eddelbuettel <[email protected]>
10807
10808 * src/Rcpp/*h: call Rf_length() etc as ::Rf_length() to ensure we get
10809 the one from the top-level namespace
10810
10811 2010-01-16 Romain Francois <[email protected]>
10812
10813 * src/Rcpp/Environment.h: Environment gains a new_child method
10814 to create an environment enclosed by this
10815 * inst/unitTests/runit.environments.R: unit test for new_child
10816
10817 * src/Rcpp/ExpressionVector.h: ExpressionVector gains a
10818 convenience methods eval to evaluate itself
10819 * inst/unitTests/runit.ExpressionVector.R: added unit tests
10820 for ExpressionVector::eval
10821
10822 * src/Rcpp/ExpressionVector.h: ExpressionVector gains a
10823 constructor ExpressionVector( const std::string& ) that
10824 parses the string as R code
10825 * inst/unitTests/runit.ExpressionVector.R: added unit tests
10826 to cover the new constructor
10827
10828 * src/Rcpp/Environment.h : the Rcpp namespace is cached because
10829 we use it in many places and retrieving it is an "expensive"
10830 operation that requires a round trip to the R side
10831 * src/Evaluator.cpp: use the cached Rcpp namespace
10832
10833 * R/Rcpp.package.skeleton: now generating example C++ and R
10834 code that uses Rcpp, also the generated Makevars contains
10835 a hack so that the generated package can pass check (after
10836 edition of Rd files, NAMESPACE, etc ...)
10837 * inst/skeleton: added example code used by the skeleton
10838 generator
10839
10840 2010-01-15 Romain Francois <[email protected]>
10841
10842 * src/Rcpp/NumericVector.h: cache the start of the array to
10843 improve performance of operator[]
10844 * src/NumericVector.cpp: idem
10845
10846 * src/Rcpp/IntegerVector.h:
10847 * src/Rcpp/RawVector.h:
10848 * src/Rcpp/ComplexVector.h:
10849 * src/Rcpp/LogicalVector.h: idem
10850
10851 * src/IntegerVector.cpp:
10852 * src/RawVector.cpp:
10853 * src/ComplexVector.cpp:
10854 * src/LogicalVector.cpp: idem
10855
10856 2010-01-13 Romain Francois <[email protected]>
10857
10858 * R/cpp.package.skeleton.R: new function cpp.package.skeleton
10859 to extend the code generation performed by package.skeleton
10860 to Rcpp features
10861
10862 * man/cpp.package.skeleton.Rd: documentation for cpp.package.skeleton
10863
10864 * src/Rcpp/VectorBase.h: new virtual class Rcpp::VectorBase
10865 to manage common things of all vectors (length, names, etc ...)
10866 all Vector classes now derive from VectorBase
10867
10868 * src/Rcpp/Environment.h: Environment::Binding gains a templated
10869 conversion operator, to facilitate distance 2 implicit conversion
10870 making this possible:
10871 Environment env("package:stats") ;
10872 Function f = env["rnorm"] ;
10873
10874 * src/Rcpp/GenericVector.h: GenericVector::Proxy gains an
10875 assignement operator to deal with Environment::Binding. This is
10876 to work around distance 1 implicit conversion restrictions
10877
10878 * src/Rcpp/NumericVector.h: operator[], begin and end are
10879 promoted to inline member functions
10880 * src/Rcpp/IntegerVector.h: idem
10881 * src/Rcpp/RawVector.h: idem
10882 * src/Rcpp/LogicalVector.h: idem
10883
10884 2010-01-12 Dirk Eddelbuettel <[email protected]>
10885
10886 * DESCRIPTION: Release 0.7.2
10887
10888 * debian/*: Similarly updated for new release to Debian
10889
10890 * .Rbuildignore: Add 'inst/doc/{html,latex,man} as we no
10891 longer ship the voluminous doxygen-generated content
10892
10893 * inst/doc/examples/ConvolveBenchmarks/convolve2*: Added simple
10894 benchmark on the well-known vector convolution example from
10895 'Writing R Extensions' to compare C and C++ implementations
10896 * inst/doc/examples/ConvolveBenchmarks/buildAndRun.sh: idem
10897 inst/doc/examples/ConvolveBenchmarks/exampleRCode.r: idem
10898
10899 2010-01-12 Romain Francois <[email protected]>
10900
10901 * inst/doc/examples/ConvolveBenchmarks/convolve2*: Added additional
10902 C++ examples to convolution benchmark highlighting performance gains
10903
10904 2010-01-11 Romain Francois <[email protected]>
10905
10906 * src/Rcpp/CharacterVector.h: StringProxy gains operator+=
10907 * src/CharacterVector.cpp: implementation
10908
10909 * src/Rcpp/*Vector.h: operator[] now throws index out of bounds
10910 exception when needed (FR#770)
10911 * src/*Vector.cpp: same
10912
10913 * src/Rcpp/Environment.h: operator[](string) for environment
10914 allowing to get/set values of a binding in this environment.
10915 The Environment::Binding class has been created to act as
10916 a proxy.
10917 * src/Environment.cpp: idem
10918 * inst/unitTests/runit.environments.R: unit tests for the above
10919
10920 2010-01-10 Romain Francois <[email protected]>
10921
10922 * src/Rcpp/Pairlist.h: operator[] for pairlist using proxies
10923 * src/Pairlist.cpp : idem
10924 * inst/unitTests/runit.Pairlist.R: new unit tests
10925
10926 * src/Rcpp/Language.h: same for Language
10927 * src/Language.cpp : idem
10928 * inst/unitTests/runit.Language.R: new unit tests
10929
10930 * inst/unitTests/runit.Function.R: added unit test for function
10931 throwing exceptions
10932
10933 * src/Function.cpp: grab the condition message and not the call
10934
10935 2010-01-09 Romain Francois <[email protected]>
10936
10937 * src/Rcpp/RObject.h: attr can now be used to get or set the
10938 attribute (used to be read only). This is another manifestation
10939 of the proxy pattern. The rhs can be anything wrap can handle
10940
10941 * inst/unitTests/runit.RObject.R: added test.RObject.attr.set
10942 unit test (setting attribute).
10943
10944 * src/Rcpp/Function.h: Function::operator() now throws an
10945 exception if an R error occurs.
10946
10947 2010-01-08 Dirk Eddelbuettel <[email protected]>
10948
10949 * configure.in: provide basic support for c++ compiler version detection
10950 at build-time so that we can add -std=c++0x when applicable;
10951 provide defaults in case we do not use g++
10952 * src/Makevars.in: copied from Makevars, set C++ flags from configure
10953 * configure.win: simply log what g++ version is being used
10954
10955 2010-01-08 Romain Francois <[email protected]>
10956
10957 * src/Rcpp/wrap.h: added wrap( size_t ) to disambiguate it
10958
10959 * int/unitTests/runit.XPTr.R: forgot to set the finalizer on the
10960 external pointer
10961
10962 * src/Rcpp/Pairlist.h: Pairlist gains a push_back, replace,
10963 length, size, remove and insert methods
10964
10965 * src/Rcpp/Language.h: idem for Language
10966
10967 2010-01-07 Romain Francois <[email protected]>
10968
10969 * src/Rcpp/Pairlist.h: gains a push_front method
10970
10971 * src/Rcpp/wrap.h : now the result type of the various wrap
10972 functions depends on the parameters. wrap( bool ) makes a
10973 LogicalVector, etc ... wrap(SEXP) dispatches to the
10974 appropriate Rcpp:: class depending on TYPEOF
10975
10976 * src/Rcpp/RObject.h: added methods "isS4", "slot"
10977 and "hasSlot" to deal with S4 objects
10978 * inst/unitTests/runit.S4.R: unit tests
10979
10980 * src/Rcpp/ComplexVector.h: new class Rcpp::ComplexVector
10981 to manage ... complex vectors (CPLXSXP)
10982 * src/ComplexVector.cpp: implementation
10983 * inst/unitTests/runit.ComplexVector.R: unit tests
10984
10985 * src/Rcpp/Promise.h: new class Rcpp::Promise to manage
10986 promises (PROMSXP). only read access so far (no way to force
10987 the promise)
10988 * src/Promise.cpp: implementation
10989
10990 * src/Rcpp/RObject.h: the result of attr is now an RObject
10991 rather than a SEXP. This does not change previous behavior
10992 because of the implicit conversion
10993
10994 * src/Rcpp/ExpressionVector.h: new class Rcpp::ExpressionVector
10995 which shares a lot with GenericVector.
10996 * src/ExpressionVector.cpp: implementation
10997 * inst/unitTests/runit.ExpressionVector.R: unit tests
10998
10999 * src/Rcpp/CharacterVector.h: new class Rcpp::CharacterVector
11000 to manage character vectors (STRSXP). StringVector is a
11001 convenience typedef equivalent to CharacterVector
11002 * src/CharacterVector.cpp: implementation
11003 * inst/unitTests/runit.CharacterVector.R: unit tests
11004
11005 * src/Rcpp/WeakReference.h: new class Rcpp::WeakReference
11006 to wrap WEAKREFSXP with accessors to the key and value
11007 * src/WeakReference.cpp: implementation
11008
11009 * src/Rcpp/Rcpp_Rinternals.h: borrowed from Rinternals so that
11010 we can use VECTOR_PTR (which R forbids unless we define
11011 USE_RINTERNALS, but defining it disables NO_R_REMAP)
11012
11013 * src/Rcpp/GenericVector.h : added begin and end to allow
11014 stl type iteration over generic vectors. Now using the
11015 Proxy pattern (from Item 30 of More Effective C++) to
11016 allow getting and setting the elements of the list through
11017 the operator[].
11018
11019 * int/unitTests/runit.GenericVector.R: examples are reworked
11020 using [] where set and get were used.
11021
11022 2010-01-06 Dirk Eddelbuettel <[email protected]>
11023
11024 * src/RcppCommon.h: Protect definition of logTxt by #ifndef
11025 * inst/doc/Rcpp-unitTests.Rnw: Minor LaTeX tweak
11026
11027 2010-01-06 Romain Francois <[email protected]>
11028
11029 * src/Rcpp/wrap.h : wrap can now use initializer lists (available
11030 on on GCC >= 4.4).
11031 * src/wrap.cpp: implementation
11032 * int/unitTests/runit.wrap.R: unit tests
11033
11034 * src/RObject.cpp : make methods RObject::asFoo
11035 calling Rcpp::as<Foo> to avoid code duplication
11036
11037 2010-01-05 Romain Francois <[email protected]>
11038
11039 * src/Rcpp/GenericVector.h : new class Rcpp::GenericVector
11040 and an alias Rcpp::List to handle lists (VECSXP), aka generic
11041 vectors
11042 * src/GenericVector.cpp : implementation
11043 * inst/unitTests/runit.GenericVector.R: unit tests
11044
11045 * src/Rcpp/IntegerVector.h : new class Rcpp::IntegerVector
11046 to manage integer vector (INTSXP). IntegerVector can be
11047 constructed from SEXP of appropriate type, from an int which
11048 simply allocates a vector that big, or using an
11049 initialization list (the last is GCC >= 4.4 only).
11050 Additionally IntegerVector defines begin() and end() so that
11051 they can be used in STL algorithms
11052 * src/IntegerVector.cpp : implementation
11053 * inst/unitTests/runit.IntegerVector.R: unit tests
11054
11055 * src/Rcpp/NumericVector.h : same as above, but for numeric
11056 vectors (REALSXP)
11057 * src/NumericVector.cpp : implementation
11058 * inst/unitTests/runit.NumericVector.R: unit tests
11059
11060 * src/Rcpp/RawVector.h : same as above, but for numeric
11061 vectors (RAWSXP)
11062 * src/RawVector.cpp : implementation
11063 * inst/unitTests/runit.RawVector.R: unit tests
11064
11065 * src/Rcpp/LogicalVector.h : same as above, but for numeric
11066 vectors (RAWSXP)
11067 * src/LogicalVector.cpp : implementation
11068 * inst/unitTests/runit.LogicalVector.R: unit tests
11069
11070 * src/RcppCommon.h: improve the conditional compiling logic
11071 with macros HAS_VARIADIC_TEMPLATES and HAS_INIT_LISTS instead
11072 of CXX0X. This ensures the package can be compiled with
11073 older GCC, with lower functionality
11074
11075 * src/RcppCommon.{h,cpp}: added a capabilities function that
11076 can be used to bring the result of the two above macros to R
11077
11078 * R/RcppLdPaths.R: added unexported function RcppCapabilities
11079 to call the internal capabilities. capabilities is an alias
11080 to RcppCapabilities so that we can call Rcpp::capabilities()
11081
11082 2010-01-04 Romain Francois <[email protected]>
11083
11084 * src/Rcpp/Function.h: new class Rcpp::Function to manage functions
11085 (closures, primitives and builtins) all share the Function class
11086 (at least for now). This is implemented as a functor taking
11087 variable number of arguments, so it looks pretty similar to the
11088 R function
11089
11090 * src/Function.cpp: implementation
11091
11092 * inst/unitTests/runit.Function.R: unit tests
11093
11094 * src/Rcpp/Pairlist.h: new class Rcpp::Pairlist to manage dotted
11095 pair lists (LISTSXP). unsurprisingly this shares a lot of
11096 similarities with Language class
11097
11098 * src/Pairlist.cpp: implementation
11099
11100 * inst/unitTests/runit.Pairlist.R: unit tests for Rcpp::Pairlist
11101
11102 * src/Rcpp/wrap.h: wrap no more a template. this was not a good
11103 idea as it prevented implicit conversion to SEXP behavior when
11104 wrap'ing a RObject.
11105
11106 * src/Rcpp/Environment.h: added the remove method
11107
11108 * src/unitTests/runit.environments.R: remove unit test
11109
11110 * src/unitTests/runit.Language.R: remove verbose=TRUE in cfunction
11111 call (generated noise)
11112
11113 * src/wrap.cpp: added a few missing PROTECT
11114
11115 2010-01-04 Dirk Eddelbuettel <[email protected]>
11116
11117 * src/excections.cpp: Get rid of another unused variable
11118 * src/RcppCommon.cpp: Idem
11119
11120 2010-01-03 Romain Francois <[email protected]>
11121
11122 * src/Rcpp/Environment.h: Environment gains the parent
11123 method that returns the parent environment
11124
11125 * src/Rcpp/as.h: template as<> to convert SEXP to classic
11126 C++ types, factored out of RObject
11127
11128 * src/as.cpp: specific implementations. as<int>, as<bool>
11129 as<string>, ...
11130
11131 * inst/unitTests/runit.as.R: unit tests
11132
11133 * src/Rcpp/wrap.h : factored out from RObject. there is now a
11134 template wrap in addition to the specific implementations. The
11135 template generates a warning and return NULL
11136
11137 * src/wrap.cpp: specific implementations of the wrap template
11138 (factored out of RObject)
11139
11140 * src/Rcpp/pairlist.h : variadic templates to
11141 recursively generate a pairlist
11142 (CAR and CDR) from any number of "wrap("'able objects.
11143 (factored out of Language)
11144
11145 * src/pairlist.cpp: end of recursion for the above
11146
11147 * src/Rcpp/grow.h : grow a pairlist with any wrappable
11148 object. Used in pairlist
11149
11150 * src/grow.cpp : specific implementation for Named object
11151 to allow tagging the head of the pairlist.
11152
11153 * src/Rcpp/Named.h : new class Named that is used to specify
11154 named elements in a pairlist.
11155
11156 * src/Named.cpp: implementation
11157
11158 * src/Rcpp/RObject.h: added wrap(const char* const) RObject factory
11159 method
11160
11161 * src/Rcpp/RObject.h: rework the garbage collection mechanism so that
11162 it is automatic and hidden. methods preserve and release are now
11163 private to the RObject class and the SEXP may only be changed using
11164 the protected setSEXP member function. isPreserved and forgetPreserve
11165 are defunct.
11166
11167 * src/Rcpp/RObject.h: RObject gains assignment operators and copy constructors
11168
11169 * src/RcppCommon.h: added the CXX0X define that controls whether
11170 we can use C++0x features offered by the gcc. currently the define
11171 is hardcoded, but this will eventually be a configure guess. The
11172 canUseCXX0X function can be called to bring this back to R
11173
11174 * R/RcppLdPath.R: added the canUseCXX0X R function to query
11175 the internal canUseCXX0X function, use this in RcppCxxFlags so that
11176 code linking against Rcpp (inline code or packages) can take
11177 advantage of it
11178
11179 * src/Rcpp/Language.h : new class Rcpp::Language to manage calls
11180 (LANGSXP SEXP)
11181
11182 * src/Language.cpp : implementation
11183
11184 * inst/unitTests/runit.Language.R: unit tests
11185
11186 * src/Rcpp/Environment.h : added constructors and made the SEXP based
11187 constructor smarter (using as.environment)
11188
11189 * inst/unitTests/runit.environments.R: more unit tests
11190
11191 * src/Rcpp/Symbol.h: new class Rcpp::Symbol to encapsulate
11192 symbols. This allows to use Symbol("rnorm") instead of the most cryptic
11193 Rf_install("rnorm")
11194
11195 * src/Symbol.cpp: implementation
11196
11197 * inst/unitTests/runit.Symbol.R: unit tests
11198
11199 2010-01-03 Dirk Eddelbuettel <[email protected]>
11200
11201 * doxyfile: updated to current doxygen standard using -u
11202
11203 2010-01-02 Dirk Eddelbuettel <[email protected]>
11204
11205 * DESCRIPTION: Release 0.7.1
11206
11207 * debian/*: Similarly updated for new release to Debian
11208
11209 2010-01-02 Romain Francois <[email protected]>
11210
11211 * pkg/src/RcppSexp.h: Added to preserve existing interface,
11212 implementation use the redesigned class src/RObject.h
11213
11214 2010-01-01 Romain Francois <[email protected]>
11215
11216 * pkg/src/Rcpp/RObject.h: RObject::RObject constructors are
11217 replaced by the Rcpp::wrap set of functions. Currently the wrap
11218 functions make a RObject object but it is likely that as new
11219 classes become available in the new API, wrap will return
11220 instances of classes that extend RObject.
11221
11222 * pkg/src/Rcpp/RObject.h: s/protect/preserve/, added methods
11223 isPreserved and forgetPreserve
11224
11225 * ** : adapted examples, code, and unit tests to reflect both
11226 above items
11227
11228 2009-12-31 Romain Francois <[email protected]>
11229
11230 * src/Rcpp/Evaluator.h : new class Rcpp::Evaluator that eases
11231 evaluation of R expression with error capture. so that we can for example
11232 throw C++ exceptions
11233
11234 * src/Evaluator.cpp : implementation of Rcpp::Evaluator
11235
11236 * inst/unitTests/runit.evaluator: unit tests of Rcpp::Evaluator
11237
11238 * inst/Rcpp/RObject.h: RObject::RObject(SEXP) now initializes isProtected
11239
11240 * inst/src/Environment.cpp: use of exceptions
11241
11242 2009-12-30 Romain Francois <[email protected]>
11243
11244 * src/Rcpp/Environment.h : added support for environment through the
11245 Rcpp::Environment class
11246
11247 * src/Environment.cpp: idem
11248
11249 * inst/unitTests/runit.environments.R: testing the above
11250
11251 * src/RcppCommon.h: now includes <R_ext/Callbacks.h>, needed for the
11252 environment support
11253
11254 2009-12-30 Romain Francois <[email protected]>
11255
11256 * src/Makevars* : adapt for allowong copy of the Rcpp directory
11257
11258 * src/Rcpp_RObject.h: replace by src/Rcpp/RObject.h
11259
11260 * src/Rcpp_XPtr.h: replaced by src/Rcpp/XPtr.h
11261
11262 * src/*.cpp: adapt to the Rcpp directory
11263
11264 * cleanup: idem
11265
11266 2009-12-30 Romain Francois <[email protected]>
11267
11268 * inst/unitTests/runit.RObject.R: new unit tests
11269
11270 * inst/unitTests/runit.exceptions.R: idem
11271
11272 * inst/unitTests/runit.XPtr.R: idem
11273
11274 * man/RcppUnitTests.Rd: shows and link unit test reports generated at
11275 build time
11276
11277 2009-12-29 Romain Francois <[email protected]>
11278
11279 * src/Rcpp_RObject.{h,cpp}: new namespace Rcpp and new class
11280 Rcpp::RObject to replace RcppSexp with the same functionality.
11281
11282 * src/Rcpp_XPtr.h: replaces RcppXPtr.h and the class is now
11283 Rcpp::XPtr<> and extends Rcpp::RObject
11284
11285 * inst/examples/RcppInline/external_pointer.r: use the new namespace
11286
11287 * inst/examples/RcppInline/RcppInlineWithLibsExamples.r: idem
11288
11289 * inst/examples/RcppInline/RcppSexpTests.r: idem
11290
11291 * DESCRIPTION: marked as version 0.7.0.5
11292
11293 * inst/doc/*: fake (empty) vignette and unit test trigger
11294
11295 * inst/unitTests/*: prepare the space for unit tests
11296
11297 * tests/doRUnit.R : added the usual RUnit tests trigger
11298
11299 2009-12-29 Romain Francois <[email protected]>
11300
11301 * src/RcppXPtr.h: now RcppXPtr extends RcppSexp and RcppSexp manages
11302 garbarge collection, attributes, etc ...
11303
11304 * src/exceptions.cpp: replaces src/exception_handling.cpp
11305
11306 * DESCRIPTION: now suggesting RUnit.
11307
11308 2009-12-29 Romain Francois <[email protected]>
11309
11310 * src/RcppXPtr.h: added operator SEXP() to class
11311 RcppXPtr to ease implicit conversion from RcppXPtr to SEXP.
11312 This means we can directly return the RcppXPtr object to R when the
11313 return type of the function is SEXP. (no need to explicitely call
11314 asSexp anymore)
11315
11316 * src/RcppSexp.{h,cpp} : idem
11317
11318 2009-12-29 Romain Francois <[email protected]>
11319
11320 * src/RcppXPtr.h: new smart external pointer wrapper. The RcppXPtr
11321 template can be used to wrap a external pointer (SEXP) so that it
11322 looks like the dumb pointer it is wrapping (as far as the * and ->
11323 operator are concerned). The template parameter controls the type
11324 of object that is wrapped by the pointer.
11325
11326 * src/Rcpp.h: importing the RcppXPtr.h header
11327
11328 * src/RcppExample.cpp: added an example of RcppXPtr usage
11329
11330 * inst/examples/RcppInline/external_pointer.r: added example using
11331 the RcppXPtr template
11332
11333 * DESCRIPTION: marking this as 0.7.0.4
11334
11335 2009-12-28 Romain Francois <[email protected]>
11336
11337 * R/exceptions.R: s/uncaught_cpp_exception/cpp_exception/ and added a
11338 'class' argument to hold the class name of the C++ exception
11339 (range_error, etc ...)
11340
11341 * inst/examples/RcppInline/UncaughtExceptions.r: extend examples to
11342 show how to grab details of the C++ exception
11343
11344 * src/exception_handling.cpp: factored out from RcppCommon.cpp, now
11345 able to grab the class name of the exception and its message.
11346
11347 2009-12-27 Dirk Eddelbuettel <[email protected]>
11348
11349 * R/RcppInline.R: Removed as we now use cfunction() from inline (>= 0.3.4)
11350 * man/{RcppInline,internals}.Rd: idem
11351
11352 * NAMESPACE: removed entries related to cfunction and methods
11353
11354 * DESCRIPTION: Added 'Suggests: inline (>= 0.3.4)
11355
11356 * inst/examples/RcppInline/*R: Add library(inline) or require(inline)
11357
11358 2009-12-27 Romain Francois <[email protected]>
11359
11360 * src/RcppCommon.{h,cpp} : added experimental uncaught exception
11361 management
11362
11363 * R/zzz.R : added .onAttach, used to register the uncaught exception
11364 management on package attach
11365
11366 * R/exceptions.R : added R side of the exception management, unexported
11367 as it is only used by internal C++ code
11368
11369 * inst/examples/RcppInline/UncaughtExceptions.r: demo of the
11370 uncaught exception system
11371
11372 * src/RcppSexp.{h,cpp} : added method isNULL to test if the
11373 underlying SEXP is NULL
11374
11375 * src/RcppSexp.{h,cpp} : added some methods to deal with attributes
11376 attributeNames : the names of the attributes as a vector<string>
11377 hasAttribute : test whether the SEXP has the given attribute
11378 attr : extract the attribute (might return NULL)
11379
11380 * src/RcppSexp.{h,cpp} : added RcppSexp(bool), RcppSexp(vector<bool>)
11381 constructors and RcppSexp.asBool(), RcppSexp.asStdVectorBool() methods
11382
11383 * inst/examples/RcppInline/RcppSexpTests.r: examples/tests of the
11384 above items
11385
11386 2009-12-26 Romain Francois <[email protected]>
11387
11388 * src/RcppSexp.{h,cpp} : added std::set<{int,double,Rbyte,string}> as
11389 accepted input type for the RcppSexp class (needed by RProtoBuf)
11390
11391 * inst/examples/RcppInline/RcppSexpTests.r: examples/tests of the above
11392
11393 2009-12-21 Romain Francois <[email protected]>
11394
11395 * src/RcppSexp.{h,cpp} : support for raw vector added into RcppSexp
11396
11397 * inst/examples/RcppInline/RcppSexpTests.r: examples of raw vector
11398 support
11399
11400 2009-12-20 Dirk Eddelbuettel <[email protected]>
11401
11402 * inst/examples/RcppInline/RcppInlineWithLibsExamples.r: Minor
11403 simplifications using new RcppSexp types, added third example
11404
11405 2009-12-19 Dirk Eddelbuettel <[email protected]>
11406
11407 * DESCRIPTION: Release 0.7.0
11408
11409 * DESCRIPTION: Descrition fields reworded and expanded to explicitly
11410 mention 'inlining' ability as well as simple SEXP support.
11411
11412 * src/RcppSexp.{h,cpp}: Switch to R_PreserveObject and R_ReleaseObject
11413 with a big thanks to Romain for the most appropriate suggestion
11414 * src/RcppSexp.{h,cpp}: Added converters for vectors of
11415 int, double, and std::string vectors
11416 * src/RcppResultsSetp.{h,cpp}: Added simple single SEXP return
11417 * src/RcppCommon.{h,cpp}: Adding simple logging facility
11418 * inst/examples/RcppInline/RcppSexpTests.r: expanded for new types
11419
11420 2009-12-18 Dirk Eddelbuettel <[email protected]>
11421
11422 * R/RcppInline.R: Another improvement for Rcpp use
11423 * inst/examples/RcppInline/RcppSimpleExamples.r: Another simple case
11424
11425 2009-12-17 Dirk Eddelbuettel <[email protected]>
11426
11427 * R/RcppInline.R: Improved / simplified in light of getting it to
11428 work on Windoze too so switched to setting env var explicitly;
11429 also split into three args for CPPFLAGS, CXXFLAGS and LIBS
11430 * man/RcppInline.Rd: Updated accordingly to reflect new args
11431 * inst/examples/RcppInline/RcppInlineWithLibsExamples.r: Idem
11432
11433 2009-12-16 Dirk Eddelbuettel <[email protected]>
11434
11435 * src/RcppSexp.{h,cpp}: Added simple RcppSexp class for simple
11436 conversion from and to single-element SEXPs -- currently limited
11437 to int, double, std::string
11438 * inst/examples/RcppInline/RcppSexpTests.r: Simple tests for this
11439
11440 2009-12-15 Dirk Eddelbuettel <[email protected]>
11441
11442 * DESCRIPTION: License changed to 'GPL (>= 2)'
11443 * COPYING: Changed from LGPL 2.1 to GPL 2 (or later)
11444 * src/*.{h,cpp}: Relicensed under GPL 2 (or later)
11445
11446 2009-12-13 Dirk Eddelbuettel <[email protected]>
11447
11448 * R/RcppInline.R: Extended to for additional header and library
11449 arguments so that we can work with arbitrary other projects
11450 * man/RcppInline.Rd: Added documentation for these arguments
11451 * inst/examples/RcppInline/RcppInlineWithLibsExamples.r: New
11452 examples using GNU GSL to show how to compile + link via inline
11453
11454 2009-12-11 Dirk Eddelbuettel <[email protected]>
11455
11456 * R/RcppInline.R: Imported function 'cfunction' from the inline
11457 package, along with small patch to directly support Rcpp. The
11458 inclusion may be temporary -- if our patch is integrated into
11459 inline we may just depend on that package
11460 * man/RcppInline.Rd: Imported from inline, plus change for Rcpp
11461 * inst/examples/RcppInline/RcppInlineExample.r: Small example
11462 taken from the 'Intro to HPC with R' tutorials
11463
11464 * R/RcppVersion.R: Removed as unused as redundant given read.dcf() in R
11465 * man/RcppVersion.R: idem
11466 * NAMESPACE: updated accordingly
11467 * INDEX: idem
11468
11469 2009-11-18 Dirk Eddelbuettel <[email protected]>
11470
11471 * DESCRIPTION: Add Dominick back into Authors per his new request
11472 reversing his requests to be removed from last December
11473
11474 2009-11-17 Dirk Eddelbuettel <[email protected]>
11475
11476 * man/RcppParams.Rd: applied patch by Frank S. Thomas to fix example
11477
11478 2009-11-15 Dirk Eddelbuettel <[email protected]>
11479
11480 * src/RcppDateVector.{cpp,h}: Moved out of Rcpp.{h,cpp}
11481 * src/RcppDatetimeVector.{cpp,h}: idem
11482 * src/RcppFunction.{cpp,h}: idem
11483 * src/RcppMatrix.{cpp,h}: idem
11484 * src/RcppMatrixView.{cpp,h}: idem
11485 * src/RcppNumList.{cpp,h}: idem
11486 * src/RcppResultSet.{cpp,h}: idem
11487 * src/RcppStringVector.{cpp,h}: idem
11488 * src/RcppStringVectorView.{cpp,h}: idem
11489 * src/RcppVector.{cpp,h}: idem
11490 * src/RcppVectorView.{cpp,h}: idem
11491 * src/RcppCommon.cpp: takes remaining utility function from Rcpp.cpp
11492
11493 2009-11-09 Dirk Eddelbuettel <[email protected]>
11494
11495 * DESCRIPTION: Release 0.6.8
11496
11497 * src/RcppParams.{cpp,h}: Code reorginsation, moved out of Rcpp.{h,cpp}
11498 * src/RcppDate.{cpp,h}: idem
11499 * src/RcppDatetime.{cpp,h}: idem
11500 * src/RcppCommon.h: New header file for common defines and includes
11501 * src/Makevars{,.win}: Updated and generalised to reflect new files
11502
11503 2009-11-08 Dirk Eddelbuettel <[email protected]>
11504
11505 * DESCRIPTION: Release 0.6.7
11506
11507 * man/RcppVector.Rd: Remove erraneous use of \R in \title{} section
11508 noticed by the Rd parser in R-devel (with thanks to Kurt Hornik)
11509
11510 2009-11-06 Dirk Eddelbuettel <[email protected]>
11511
11512 * src/RcppList.{h,cpp}: Added a simple class to accept list()
11513 objects in order to cope with non-rectangular data-types -- this
11514 comes from the RProtoBuf code currently only on r-forge where
11515 we need accept lists that are potentially nested.
11516 The API for RcppList is not fully fleshed out and needs a few
11517 more append() member functions. Also length is currently fixed.
11518
11519 * cleanup: Change header file removal to Rcpp*.h
11520
11521 * inst/README: Added short README about history and status
11522
11523 * inst/doc/: Updated doxygen documentation
11524
11525 2009-09-29 Dirk Eddelbuettel <[email protected]>
11526
11527 * inst/examples/functionCallback/*: Added simple C++ / R example of
11528 defining an R function that is passed to and called from C++
11529
11530 2009-08-03 Dirk Eddelbuettel <[email protected]>
11531
11532 * DESCRIPTION: Release 0.6.6
11533
11534 * src/Rcpp.{h,cpp}: Added exists() method for RcppParams to test
11535 for existence of a named parameter.
11536
11537 * inst/doc/: Updated doxygen documentation
11538
11539 2009-04-01 Dirk Eddelbuettel <[email protected]>
11540
11541 * DESCRIPTION: Release 0.6.5
11542
11543 * COPYING: Added
11544
11545 2009-03-30 Dirk Eddelbuettel <[email protected]>
11546
11547 * src/Makevars: Add $(R_ARCH) to target directory path when copying
11548 the header file as an OS X user reported not finding it with
11549 default settings.
11550
11551 2009-03-01 Dirk Eddelbuettel <[email protected]>
11552
11553 * DESCRIPTION: Release 0.6.4
11554
11555 * .Rbuildignore: Added to exclude debian/ from source tarball
11556
11557 2009-02-25 Dirk Eddelbuettel <[email protected]>
11558
11559 * src/Makevars.win: Renamed from Makefile.win, added missing mkdir
11560 * cleanup: Remove a few more Windows files
11561
11562 2009-02-24 Dirk Eddelbuettel <[email protected]>
11563
11564 * inst/doc/{html,latex,man}: Added new documentation of the C++ classes
11565 * doxyfile: Added Doxygen configuration file for doc generation
11566
11567 2009-02-22 Dirk Eddelbuettel <[email protected]>
11568
11569 * src/Rcpp.{h,cpp}: cleaner use of namespace 'std' by formal prefix
11570 rather than via 'using namespace std'
11571 * src/Rcpp.h: define R_NO_MAP and use Rf_* form of R API functions
11572
11573 2009-02-18 Dirk Eddelbuettel <[email protected]>
11574
11575 * src/Rcpp.{h,cpp}: Added a few explicit casts, and removed unused
11576 loop variable; all to make 'g++ -Wall' happy
11577
11578 2009-02-10 Dirk Eddelbuettel <[email protected]>
11579
11580 * src/Rcpp.{cpp,h}: Expanded a few of the throw() messages
11581
11582 2009-01-09 Dirk Eddelbuettel <[email protected]>
11583
11584 * DESCRIPTION: Release 0.6.3
11585
11586 * R/RcppLdpath.R: Also defined shorter functions CxxFlags() and
11587 LdFlags() which cat() the longer forms RcppCxxFlags() and
11588 RcppLdFlags() to further simplify use via litter or Rscript in
11589 Makefile or Makevars
11590
11591 * man/Rcpp-package.Rd: Mention short form CxxFlags() and LdFlags()
11592
11593 * src/Makevars: Applied another build correction for OS X suggested
11594 by Simon Urbanek
11595
11596 * src/Rcpp.{cpp,h}: Added 'view-only' classes RcppVectorView,
11597 RcppMatrixView and RcppStringVectorView contributed by David Reiss
11598
11599 2008-12-02 Dirk Eddelbuettel <[email protected]>
11600
11601 * DESCRIPTION: Release 0.6.2
11602
11603 * R/RcppLdPath.R: Correct output for the default Linux case
11604
11605 2008-11-30 Dirk Eddelbuettel <[email protected]>
11606
11607 * DESCRIPTION: Release 0.6.1
11608
11609 * src/Makevars: Added, replacing src/Makefile: thanks to Simon for a
11610 rewrite that provides OS X support
11611 * src/Makefile: Retired
11612 * src/Makefile.win: Now build libRcpp.a instead of Rcpp.a
11613
11614 * src/Rcpp.{cpp,h}: Removed #ifdef statements related to QuantLib and
11615 Date ops as we no longer need to split this off -- one build for all
11616 uses; also added another date offset for the difference between the
11617 Unix epoch of Jan 1, 1970 and what certain spreadsheets use (which is
11618 what QuantLib) follows. With this change, Rcpp is completely
11619 decoupled from QuantLib headers, yet can be used from QuantLib 0.2.10
11620 or later. However, this also removes data conversion from R/Rcpp to
11621 QL as Rcpp no longer 'knows' QL.
11622
11623 * R/RcppLdPath.R: Adds new functions RcppLdPath() to return lib/
11624 directory path, and RcppLdFlags() to return arguments, including the
11625 optional rpath settings on Linux
11626
11627 * R/RcppExample.R: Added new example 'RcppVectorExample()', extended
11628 default print method for examples
11629
11630 * man/Rcpp-package.Rd: Expanded / updated documentation of package
11631 use when building other packages
11632
11633 * cleanup: Removing static libraries too but do not remove src/Makevars
11634
11635 2008-11-05 Dirk Eddelbuettel <[email protected]>
11636
11637 * Release 0.6.0
11638
11639 * New maintainer
11640
11641 * src/Makefile{,.win}: New files, including functionality from both
11642 configure and RcppSrc/Makefile; we now build two libraries, one for
11643 use by the package which also runs the example, and one for users to
11644 link against
11645 * src/Makevars.in: Removed
11646 * src/Rcpp.{cpp,h}: moved in from ../RcppSrc
11647
11648 * src/Rcpp.{cpp,h}: Add new type RcppDatetime corresponding to
11649 POSIXct in with full support for microsecond time resolution
11650 between R and C++
11651
11652 * man/*: Several new manual pages added
11653
11654 * configure{,.in,.win}: Removed as src/Makefile* can handle this more
11655 easily
11656
11657 * DESCRIPTION: Minor cleanup and reformatting, Date: now uses
11658 svn:keyword Date property
11659
11660 * NAMESPACE: Renamed RcppTemplateVersion to RcppVersion,
11661 deleted RcppDemo
11662
11663 * demo/ directory removed as vignette("RcppAPI") is easier and more
11664 reliable to show vignette documentation
11665
11666 * R/zzz.R: RcppTemplateDemo() removed, vignette("RcppAPI") is easier
11667 * man/RcppTemplateDemo.Rd removed as well
11668
11669 * R/RcppExample.R: reindented, rewritten to set default arguments
11670
11671 * R/RcppTemplateVersion.R: renamed to RcppVersion.R
11672 * man/RcppTemplateVersion.Rd: renamed to RcppVersion.Rd
11673
11674 * RcppSrc/Rcpp.{cpp,h}: moved to src/ directory
11675 * RcppSrc/Makefile{,.win}: removed
11676
11677 * inst/doc/RcppAPI.{Rnw,pdf}: Added footnote onto titlepage about how
11678 this document has not (yet) been updated along with the channges made