12021-07-06 Dirk Eddelbuettel <edd@debian.org> 2 3 * DESCRIPTION (Date, Version): Release 1.0.7 4 5 * inst/include/Rcpp/config.h: Idem 6 * inst/NEWS.Rd: Idem 7 * vignettes/rmd/Rcpp.bib: Idem 8 * inst/bib/Rcpp.bib: Idem 9 * vignettes/pdf/*: Rebuilt 10 112021-07-05 Iñaki Ucar <iucar@fedoraproject.org> 12 13 * src/barrier.cpp (Rcpp_precious_remove): Protect from call with 14 wrong token when unloading modules compiled under earlier version 15 162021-07-02 Dirk Eddelbuettel <edd@debian.org> 17 18 * inst/include/Rcpp/r/headers.h: Update notice as January 2022 19 release will remove protection for STRICT_R_HEADERS making it default 20 212021-05-27 Dirk Eddelbuettel <edd@debian.org> 22 23 * inst/tinytest/cpp/rcppversion.cpp (checkVersion): Allow for more 24 than four components of a development version number 25 * inst/tinytest/test_packageversion.R: Idem 26 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Clarify in comment 27 282021-05-13 Dirk Eddelbuettel <edd@debian.org> 29 30 * DESCRIPTION (Version, Date): Roll minor version 31 * inst/include/Rcpp/config.h: Idem 32 332021-05-09 Dirk Eddelbuettel <edd@debian.org> 34 35 * inst/include/RcppCommon.h: Add cfloat header 36 372021-04-09 Dirk Eddelbuettel <edd@debian.org> 38 39 * inst/include/Rcpp/hash/IndexHash.h: Silence one comparison, update 40 use of unsigned int to uint32_t throughout 41 422021-03-22 Dirk Eddelbuettel <edd@debian.org> 43 44 * DESCRIPTION (Version, Date): Roll minor version 45 * inst/include/Rcpp/config.h: Idem 46 472021-03-21 Dirk Eddelbuettel <edd@debian.org> 48 49 * inst/include/Rcpp/api/meat/message.h: Add wrapper for base::message 50 * inst/include/Rcpp/api/meat/meat.h: Include new file 51 * inst/tinytest/test_misc.R: Simple test 52 * inst/tinytest/cpp/misc.cpp (messageWrapper): Test support 53 542021-02-23 Dirk Eddelbuettel <edd@debian.org> 55 56 * Contributing.md: Update unit test link to tinytest 57 582021-02-08 Dirk Eddelbuettel <edd@debian.org> 59 60 * DESCRIPTION (Author): Add Inaki to the team 61 622021-02-01 Dirk Eddelbuettel <edd@debian.org> 63 64 * DESCRIPTION (Version, Date): Roll minor version 65 * inst/include/Rcpp/config.h: Idem 66 67 * README.md: Mention the Rcpp drap repo and its release candidates in 68 installation section 69 702021-01-30 Iñaki Ucar <iucar@fedoraproject.org> 71 72 * inst/include/test_global_rostream.R: Added test new (optionally) 73 global Rcout and Rcerr objects 74 752021-01-28 Iñaki Ucar <iucar@fedoraproject.org> 76 77 * inst/include/Rcpp/iostream/Rstreambuf.h: Support for global 78 Rcout/Rcerr by defining `-DRCPP_USE_GLOBAL_ROSTREAM`; this mimics 79 std::cout/cerr; initialization code is automatically generated. 80 * inst/include/Rcpp/routines.h: Ditto 81 * src/api.cpp: Ditto 82 * src/attributes.cpp: Ditto 83 * src/rcpp_init.cpp: Ditto 84 852021-01-21 Dirk Eddelbuettel <edd@debian.org> 86 87 * DESCRIPTION (Version, Date): Roll minor version 88 * inst/include/Rcpp/config.h: Idem 89 90 * inst/include/Rcpp/DataFrame.h: Remove unused variable 91 92 * R/Attributes.R (sourceCpp): Support argument echo to be passed to 93 source() to silence optional R evaluation 94 952021-01-19 Dirk Eddelbuettel <edd@debian.org> 96 97 * DESCRIPTION (Version, Date): Roll minor version 98 * inst/include/Rcpp/config.h: Idem 99 100 * inst/include/RcppCommon.h: Preverse existing API and offer new 101 token-based API alongside via Rcpp_Precious{Preserve,Release} 102 * inst/include/Rcpp/String.h: Use Rcpp_Precious{Preserve,Release} 103 * inst/include/Rcpp/storage/PreserveStorage.h: Ditto 104 1052021-01-17 Iñaki Ucar <iucar@fedoraproject.org> 106 107 * inst/include/Rcpp/String.h: Use Rcpp_{Preserve,Release}Object 108 throughout which connects to Rcpp_precious_* routines 109 * inst/include/Rcpp/exceptions.h: Use Rcpp_ReleaseObject 110 * inst/include/Rcpp/routines.h: Several corrections and refinements 111 * inst/include/Rcpp/storage/PreserveStorage.h: Ditto 112 * inst/include/Rcpp/traits/named_object.h: Ditto 113 * inst/include/Rcpp/unwuindProtect.h: Ditto 114 * inst/include/RcppCommon.h: Ditto 115 * src/barrier.cpp: Ditto 116 1172021-01-17 Dirk Eddelbuettel <edd@debian.org> 118 119 * DESCRIPTION (Version, Date): Roll minor version 120 * inst/include/Rcpp/config.h: Idem 121 122 [ these were originally committed 17 May 2020 and have been rebased ] 123 * src/barrier.cpp: Implement Rcpp_precious_{init,teardown,preserve,remove} 124 * src/rcpp_init.c: Register cpp_precious_{init,teardown,preserve,remove} 125 and call from R_{init,unload}_Rcpp 126 * inst/include/Rcpp/routines.h: Declare Rcpp_precious_{init,teardown, 127 preserve,remove} 128 * inst/include/Rcpp/exceptions.h: Use Rcpp_precious_remove 129 * inst/include/Rcpp/traits/named_object.h: Use 130 Rcpp_precious_{preserve,remove} 131 * inst/include/Rcpp/unwuindProtect.h: Use Rcpp_precious_preserve 132 * inst/include/RcppCommon.h: Use Rcpp_precious_{preserve,remove} 133 1342021-01-16 Dirk Eddelbuettel <edd@debian.org> 135 136 * DESCRIPTION (Version, Date): Roll minor version 137 * inst/include/Rcpp/config.h: Idem 138 139 * tests/tinytest.R: Test for CODECOV when deciding to run extensive 140 tests or just a subset, and set CI=true to enable run full set 141 142 * .github/workflows/stale.yaml: Run weekly instead of daily 143 144 * src/attributes.cpp: Additional #nocov tag(s) 145 * R/Attributes.R: Idem 146 * R/Module.R: Idem 147 * R/Rcpp.package.skeleton.R: Idem 148 * R/RcppClass.R: Idem 149 * R/RcppLdpath.R: Idem 150 151 * src/attributes.cpp: Support include files with dots in package name 152 1532021-01-14 Dirk Eddelbuettel <edd@debian.org> 154 155 * DESCRIPTION (Date, Version): Release 1.0.6 156 157 * inst/include/Rcpp/config.h: Idem 158 * inst/NEWS.Rd: Idem 159 * vignettes/rmd/Rcpp.bib: Idem 160 * inst/bib/Rcpp.bib: Idem 161 1622021-01-13 Dirk Eddelbuettel <edd@debian.org> 163 164 * vignettes/rmd/Rcpp.bib: Updated package versions 165 * inst/bib/Rcpp.bib: Idem 166 1672021-01-02 Dirk Eddelbuettel <edd@debian.org> 168 169 * R/Rcpp.package.skeleton.R: Wrap any() around grepl() 170 1712020-12-22 Dirk Eddelbuettel <edd@debian.org> 172 173 * .github/workflows/stale.yaml: Adding a staleness monitor labeling 174 and ultimately closing issues and PRs after suitably long windows 175 1762020-12-16 Dirk Eddelbuettel <edd@debian.org> 177 178 * inst/NEWS.Rd: Updated for recent activity 179 180 * .github/workflows/ci.yaml: Add container-based CI runner 181 * README.md: Add new badge 182 1832020-11-06 Dirk Eddelbuettel <edd@debian.org> 184 185 * DESCRIPTION: More URL updates, e.g. http -> https 186 * README.md: Ditto 187 * inst/CITATION: Ditto 188 * man/Rcpp-package.Rd: Ditto 189 190 * inst/CITATION: Change from PeerJ Preprint to TAS 191 1922020-10-25 Dirk Eddelbuettel <edd@debian.org> 193 194 * DESCRIPTION (Version, Date): Roll minor version 195 * inst/include/Rcpp/config.h: Idem 196 197 * inst/include/Rcpp/generated/InternalFunction__ctors.h: Switch XPtr 198 finalizer argument from false to true 199 2002020-10-22 Dirk Eddelbuettel <edd@debian.org> 201 202 * inst/include/Rcpp/lang.h: Remove spurious whitespace 203 204 * vignettes/.gitignore: Refined to no longer ignore pdf files 205 * vignettes/pdf/*: Added 206 207 * inst/NEWS.Rd: Updated for two PRs 208 2092020-10-21 Dirk Eddelbuettel <edd@debian.org> 210 211 * DESCRIPTION (Version, Date): Roll minor version 212 * inst/include/Rcpp/config.h: Idem 213 2142020-10-19 Benjamin Christoffersen <boennecd@gmail.com> 215 216 * src/attributes.cpp: Initialize two private bool variable in default 217 constructor to avoid santizer warning 218 2192020-08-20 Mattias Ellert <mattias.ellert@physics.uu.se> 220 221 * inst/include/Rcpp/lang.h: Remove obsolete and confusing comment 222 2232020-08-05 Dirk Eddelbuettel <edd@debian.org> 224 225 * DESCRIPTION (Version, Date): Roll minor version 226 * inst/include/Rcpp/config.h: Idem 227 2282020-07-09 Walter Somerville <waltersom@gmail.com> 229 230 * inst/include/Rcpp/DataFrame.h: Warn when data.frame has varying 231 length 232 * inst/tinyTest/cpp/DataFrame.cpp: Test added 233 * inst/tinyTest/test_dataframe.R: Idem 234 2352020-07-07 Walter Somerville <waltersom@gmail.com> 236 237 * inst/include/Rcpp/DataFrame.h: Implement explict push_back and 238 push_front for DataFrame, which takes care to set the class and 239 row.names attributes. 240 * inst/tinyTest/test_dataframe.R: Add in tests for 241 push_back/push_front 242 * inst/tinyTest/cpp/DataFrame.cpp: Idem 243 2442020-07-06 Dirk Eddelbuettel <edd@debian.org> 245 246 * DESCRIPTION (Version, Date): Roll minor version 247 * inst/include/Rcpp/config.h: Idem 248 2492020-07-06 Kevin Ushey <kevinushey@gmail.com> 250 251 * inst/include/Rcpp/module/class.h: EXTPTR_PTR -> R_ExternalPtrAddr 252 * src/api.cpp: Idem 253 * src/module.cpp: Idem 254 2552020-07-01 Dirk Eddelbuettel <edd@debian.org> 256 257 * DESCRIPTION (Date, Version): Release 1.0.5 258 259 * inst/include/Rcpp/config.h: Idem 260 * inst/NEWS.Rd: Idem 261 * vignettes/rmd/Rcpp.bib: Idem 262 * inst/bib/Rcpp.bib: Idem 263 2642020-06-27 Dirk Eddelbuettel <edd@debian.org> 265 266 * docker/ci/Dockerfile: Revert back to standard r-base container 267 * docker/plus/Dockerfile: Also install bit64 268 2692020-06-19 Dirk Eddelbuettel <edd@debian.org> 270 271 * .travis.yml: Determine package name and version from DESCRIPTION, 272 switch to bionic 273 2742020-06-14 Dirk Eddelbuettel <edd@debian.org> 275 276 * inst/bib/Rcpp.bib: Add John's new 'S, R, and Data Science' article 277 * vignettes/rmd/Rcpp.bib: Idem 278 2792020-06-07 Dirk Eddelbuettel <edd@debian.org> 280 281 * .travis.yml (jobs): Replace R 3.4.3 with R 3.6.3 in matrix 282 2832020-06-05 Dirk Eddelbuettel <edd@debian.org> 284 285 * DESCRIPTION (Version, Date): Roll minor version 286 * inst/include/Rcpp/config.h: Idem 287 288 * R/Rcpp.package.skeleton.R: Remove a remaining NAMESPACE entry for 289 a temporary function symbol; ensure an exportPattern is set 290 2912020-05-18 Dirk Eddelbuettel <edd@debian.org> 292 293 * DESCRIPTION (Version, Date): Roll minor version 294 * inst/include/Rcpp/config.h: Idem 295 2962020-05-17 Kevin Ushey <kevinushey@gmail.com> 297 298 * inst/include/Rcpp/String.h: Don't preserve returned SEXP in wrap 299 * inst/include/RcppCommon.h: Simplify 300 3012020-04-30 Dirk Eddelbuettel <edd@debian.org> 302 303 * DESCRIPTION (Version, Date): Roll minor version 304 * inst/include/Rcpp/config.h: Idem 305 306 * vignettes/rmd/Rcpp-libraries.Rmd: Add new vignette source 307 * vignettes/rmd/Rcpp.bib: Complete references 308 * inst/bib/Rcpp.bib: Idem 309 3102020-04-26 Dirk Eddelbuettel <edd@debian.org> 311 312 * DESCRIPTION (Version, Date): Roll minor version 313 * inst/include/Rcpp/config.h: Idem 314 3152020-04-25 Dirk Eddelbuettel <edd@debian.org> 316 317 * inst/include/Rcpp/sugar/functions/sample.h: Replace R_alloc() with 318 a standard vector allocation to reduce memory consumption in sample 319 320 * docker/ci/Dockerfile: Update for R 4.0.0 (with a temporary 321 diversion to rocker/r-base:4.0.0, and all-source installations) 322 323 * vignettes/rmd/Makefile: Add bibtex call to JSS 2011 paper builds 324 3252020-04-16 Dirk Eddelbuettel <edd@debian.org> 326 327 * DESCRIPTION (Version, Date): Roll minor version 328 * inst/include/Rcpp/config.h: Idem 329 3302020-04-15 Kevin Ushey <kevinushey@gmail.com> 331 332 * inst/include/Rcpp/String.h: Avoid 'debug' namespace collisions 333 * inst/include/Rcpp/macros/debug.h: Idem 334 * inst/include/Rcpp/macros/macros.h: Idem 335 3362020-04-15 Uwe Korn <mail@uwekorn.com> 337 338 * inst/include/Rcpp/DataFrame.h: Explicit call to scalar std::abs 339 3402020-04-11 Dirk Eddelbuettel <edd@debian.org> 341 342 * DESCRIPTION (Version, Date): Roll minor version 343 * inst/include/Rcpp/config.h: Idem 344 3452020-04-10 Kevin Ushey <kevinushey@gmail.com> 346 347 * inst/include/Rcpp/macros/macros.h: Safer definition of short_file_name 348 * inst/include/Rcpp/String.h: Idem 349 * inst/include/Rcpp/macros/debug.h: Idem 350 * src/api.cpp: Idem 351 3522020-04-10 Dirk Eddelbuettel <edd@debian.org> 353 354 * inst/tinytest/test_exceptions.R: Skip parts of file if on Solaris 355 3562020-04-02 Dirk Eddelbuettel <edd@debian.org> 357 358 * inst/NEWS.rd: Mark as patch release 1.0.4.6 359 360 * inst/tinytest/test_exceptions.R: If running skip remainder of file 361 on Windows to not trigger failed test 362 3632020-04-01 Dirk Eddelbuettel <edd@debian.org> 364 365 * DESCRIPTION (Version, Date): Roll minor version 366 * inst/include/Rcpp/config.h: Idem 367 3682020-03-31 Dirk Eddelbuettel <edd@debian.org> 369 370 * docker/ci-dev/Dockerfile: Also install the 'codetools' package 371 3722020-03-31 Kevin Ushey <kevin@rstudio.com> 373 374 * R/Attributes.R: Fix for sourceCpp() on Windows w/R-devel 375 3762020-03-28 Dirk Eddelbuettel <edd@debian.org> 377 378 * inst/examples/RcppGibbs/RcppGibbs_Updated.R: Updated example 379 3802020-03-24 Dirk Eddelbuettel <edd@debian.org> 381 382 * DESCRIPTION (Version, Date): Roll minor version 383 * inst/include/Rcpp/config.h: Idem 384 385 * inst/include/Rcpp/Environment.h: Added two Shield<SEXP> wrappers 386 around Rf_langX calls 387 3882020-03-23 Dirk Eddelbuettel <edd@debian.org> 389 390 * .travis.yml (script): Run coverage as parallel step 391 3922020-03-22 Dirk Eddelbuettel <edd@debian.org> 393 394 * DESCRIPTION (Version, Date): Roll minor version 395 * inst/include/Rcpp/config.h: Idem 396 397 * docker/ci-3.4/Dockerfile: Added 398 * docker/ci-3.5/Dockerfile: Idem 399 * docker/ci-dev/Dockerfile: Idem 400 401 * .travis.yml (jobs): Expand to matrix 402 4032020-03-22 Mattias Ellert <mattias.ellert@physics.uu.se> 404 405 * inst/include/Rcpp/exceptions_impl.h: Add include guard, 406 Make sure RCPP_DEMANGLER_ENABLED is always defined, 407 Add missing inline qualifier 408 4092020-03-18 Dirk Eddelbuettel <edd@debian.org> 410 411 * DESCRIPTION (Version, Date): Roll minor version 412 * inst/include/Rcpp/config.h: Idem 413 414 * inst/include/Rcpp/lang.h: Define Rcpp_list{2,3,4,5} in the Rcpp 415 namespace 416 417 * DESCRIPTION: Remove versioned depends on R (>= 3.0.0) from 2013 418 4192020-03-17 Davis Vaughan <davis@rstudio.com> 420 421 * inst/include/Rcpp/lang.h: Inline Rcpp_list6() to support R 3.3. 422 4232020-03-17 Dirk Eddelbuettel <edd@debian.org> 424 425 * DESCRIPTION (Version, Date): Roll minor version (twice) 426 * inst/include/Rcpp/config.h: Idem 427 428 * inst/NEWS.Rd: Updated 429 4302020-03-15 Kevin Ushey <kevinushey@gmail.com> 431 432 * inst/include/Rcpp/exceptions_impl.h: Ensure <execinfo.h> is included 433 into global namespace; refactor detection of demangler support 434 4352020-03-13 Dirk Eddelbuettel <edd@debian.org> 436 437 * DESCRIPTION (Date, Version): Release 1.0.4 438 439 * inst/include/Rcpp/config.h: Idem 440 * inst/NEWS.Rd: Idem 441 * vignettes/rmd/Rcpp.bib: Idem 442 * inst/bib/Rcpp.bib: Idem 443 4442020-03-12 Dirk Eddelbuettel <edd@debian.org> 445 446 * vignettes/rmd/Rcpp.bib: Updated to current package versions 447 * inst/bib/Rcpp.bib: Idem 448 4492020-02-24 Dirk Eddelbuettel <edd@debian.org> 450 451 * inst/include/Rcpp/exceptions_impl.h: Remove spurious semicolon 452 4532020-02-23 Dirk Eddelbuettel <edd@debian.org> 454 455 * inst/include/Rcpp/generated/Vector__create.h: Added #nocov tags 456 * inst/include/Rcpp/exceptions_impl.h: Idem 457 * src/api.cpp: Idem plus some whitespace realignment 458 4592020-02-13 Dirk Eddelbuettel <edd@debian.org> 460 461 * README.md: Add a Debian badge 462 4632020-02-12 Dirk Eddelbuettel <edd@debian.org> 464 465 * DESCRIPTION (Version, Date): Roll minor version 466 * inst/include/Rcpp/config.h: Idem 467 468 * README.md: Added indirect CRAN use badge 469 4702020-02-09 Joshua Pritikin <jpritikin@pobox.com> 471 472 * inst/include/Rcpp.h: Include exceptions_impl.h 473 * inst/include/Rcpp/exceptions.h: Make thread-safe 474 * inst/include/Rcpp/exceptions_impl.h: New home for code moved 475 from src/api.cpp 476 4772020-01-05 Dirk Eddelbuettel <edd@debian.org> 478 479 * inst/include/Rcpp/exceptions.h: A few more #nocov tags 480 * inst/include/Rcpp/generated/Vector__create.h: Idem, plus whitespace 481 4822020-01-04 Dirk Eddelbuettel <edd@debian.org> 483 484 * R/Attributes.R: A few more #nocov tags 485 4862020-01-01 Dirk Eddelbuettel <edd@debian.org> 487 488 * inst/include/Rcpp/module/Module.h: A few more #nocov tags 489 * inst/include/Rcpp/XPtr.h: Idem 490 * inst/include/Rcpp/vector/Vector.h: Idem 491 4922019-12-31 Dirk Eddelbuettel <edd@debian.org> 493 494 * DESCRIPTION (Version, Date): Roll minor version 495 * inst/include/Rcpp/config.h: Idem 496 4972019-12-29 Qiang Kou <qkou@qkou.info> 498 499 * inst/include/Rcpp/vector/Matrix.h: Ensure scalar OP matrix do not 500 change right-hand side in operation 501 * inst/tinytest/test_matrix.R: New tests 502 * inst/tinytest/cpp/Matrix.cpp: Idem 503 5042019-12-20 Dirk Eddelbuettel <edd@debian.org> 505 506 * DESCRIPTION (Version, Date): Roll minor version 507 * inst/include/Rcpp/config.h: Idem 508 5092019-12-18 Dirk Eddelbuettel <edd@debian.org> 510 511 * inst/include/Rcpp/XPtr.h: Additional null check, refactored 512 5132019-12-17 Kirill Müller <krlmlr@mailbox.org> 514 515 * inst/include/Rcpp/XPtr.h: Clear external pointer before finalizer 516 5172019-12-17 Dirk Eddelbuettel <edd@debian.org> 518 519 * R/Attributes.R (sourceCpp): Very minor cosmetic changes 520 5212019-12-15 Dirk Eddelbuettel <edd@debian.org> 522 523 * DESCRIPTION (Version, Date): Roll minor version 524 * inst/include/Rcpp/config.h: Idem 525 5262019-12-14 Dirk Eddelbuettel <edd@debian.org> 527 528 * R/Attributes.R (sourceCpp): Support new argument windowsDebugDLL to 529 create a debug DLL, supported on Windows only 530 * man/sourceCpp.Rd: Document it 531 532 * src/date.cpp: A few more #nocov tage 533 5342019-12-13 Dirk Eddelbuettel <edd@debian.org> 535 536 * src/api.cpp: A few more #nocov tags 537 * src/attributes.cpp: Idem 538 * src/barrier.cpp: Idem 539 5402019-12-08 Dirk Eddelbuettel <edd@debian.org> 541 542 * tests/tinytest.R: Turn verbose tests on in dev and on Travis 543 544 * inst/tinytest/test_client_package.R: Finer-grained skip messages 545 * inst/tinytest/test_module_client_package.R: Idem 546 * inst/tinytest/test_expose_class.R: Idem 547 * inst/tinytest/test_interface.R: Idem 548 * inst/tinytest/test_rcpp_package_skeleton.R: Idem 549 * inst/tinytest/test_reference.R: Idem 550 551 * inst/tinytest/test_*.R: Streamlined initial test and sourceCpp call 552 553 * src/attributes.cpp: Remove dangling '#nocov end' 554 5552019-12-07 Dirk Eddelbuettel <edd@debian.org> 556 557 * DESCRIPTION (Version, Date): Roll minor version 558 * inst/include/Rcpp/config.h: Idem 559 560 * inst/tinytest/test_binary_package.R: Finer-grained skip messages 561 562 * inst/tinytest/test_misc.R: Add commented-out test that fails 563 * tests/tinytest.R: Minor edit 564 565 * docker/ci/Dockerfile: Add curl and ssl -dev packages needed for covr 566 5672019-12-05 Dirk Eddelbuettel <edd@debian.org> 568 569 * vignettes/rmd/Rcpp-FAQ.Rmd (Rcpp): Add entry about "'dataptr' (or 570 'enterRNGScope') not provided by Rcpp" recommending proper importFrom 571 5722019-12-03 Dirk Eddelbuettel <edd@debian.org> 573 574 * docker/ci/Dockerfile: Lighter builds as fewer Suggests: 575 * docker/plus/Dockerfile: Take packages moved from ci/Dockerfile 576 5772019-12-01 Dirk Eddelbuettel <edd@debian.org> 578 579 * DESCRIPTION (Version, Date): Roll minor version 580 * inst/include/Rcpp/config.h: Idem 581 582 * DESCRIPTION (Suggests): Remove knitr, rmarkdown, pinp 583 * DESCRIPTION (VignetteBuilder): Remove knitr 584 5852019-11-26 Dirk Eddelbuettel <edd@debian.org> 586 587 * inst/tinytest/test_embedded_r.R: Use sink to suppress noisy output, 588 reenable tests (still conditional on usual environment variable) 589 5902019-11-25 Dirk Eddelbuettel <edd@debian.org> 591 592 * inst/tinytest/cpp/Vector.cpp (no_op): Suppress compiler warning 593 5942019-11-24 Dirk Eddelbuettel <edd@debian.org> 595 596 * DESCRIPTION (Suggests): Add tinytest, remove RUnit 597 598 * tests/doRUnit.R: Removed 599 * tests/tinytest.R: Added 600 601 * tests/tinytest.R: Converted from RUnit to tinytest 602 * inst/tinytest/test_algorithm.R: Idem 603 * inst/tinytest/test_as.R: Idem 604 * inst/tinytest/test_binary_package.R: Idem (but inactive for now) 605 * inst/tinytest/test_client_package.R: Idem (but inactive for now) 606 * inst/tinytest/test_dataframe.R: Idem 607 * inst/tinytest/test_date.R: Idem (but condition two test sets on TZ) 608 * inst/tinytest/test_dispatch.R: Idem 609 * inst/tinytest/test_embedded.R: Idem 610 * inst/tinytest/test_environments.R: Idem 611 * inst/tinytest/test_exceptions.R: Idem 612 * inst/tinytest/test_exceptions_nocall.R: Idem 613 * inst/tinytest/test_expose_class.R: Idem 614 * inst/tinytest/test_function.R: Idem 615 * inst/tinytest/test_interface.R: Idem (but inactive for now) 616 * inst/tinytest/test_internal_function.R: Idem 617 * inst/tinytest/test_internal_function_cpp11.R: Idem 618 * inst/tinytest/test_language.R: Idem 619 * inst/tinytest/test_listof.R: Idem 620 * inst/tinytest/test_matrix.R: Idem 621 * inst/tinytest/test_misc.R: Idem 622 * inst/tinytest/test_modref.R: Idem 623 * inst/tinytest/test_module.R: Idem 624 * inst/tinytest/test_module_client_package.R: Idem 625 * inst/tinytest/test_na.R: Idem 626 * inst/tinytest/test_quickanddirty.R: Idem 627 * inst/tinytest/test_rcpp_package_skeleton.R: Idem 628 * inst/tinytest/test_reference.R: Idem 629 * inst/tinytest/test_rmath.R: Idem 630 * inst/tinytest/test_robject.R: Idem 631 * inst/tinytest/test_s4.R: Idem 632 * inst/tinytest/test_stack.R: Idem 633 * inst/tinytest/test_stats.R: Idem 634 * inst/tinytest/test_string.R: Idem 635 * inst/tinytest/test_subset.R: Idem 636 * inst/tinytest/test_sugar.R: Idem 637 * inst/tinytest/test_sugar_var.R: Idem 638 * inst/tinytest/test_support.R: Idem 639 * inst/tinytest/test_system.R: Idem 640 * inst/tinytest/test_table.R: Idem 641 * inst/tinytest/test_vector.R: Idem 642 * inst/tinytest/test_vector_old.R: Idem 643 * inst/tinytest/test_wrap.R: Idem 644 * inst/tinytest/test_wstring.R: Idem 645 * inst/tinytest/test_xptr.R: Idem 646 647 * inst/tinytest/cpp/*: C++ support files for tests 648 * inst/tinytest/*: Other support files and directories from unitTests 649 650 * R/unitTests.R: Removed as tied to RUnit setuo 651 652 * inst/tinytest/test_attributes.R: Added test for error with 653 non-existing package in cppFunction 654 6552019-11-23 Dirk Eddelbuettel <edd@debian.org> 656 657 * docker/ci/Dockerfile: Add tinytest to ci Docker image 658 6592019-11-20 Dirk Eddelbuettel <edd@debian.org> 660 661 * R/Attributes.R: Test for and report unavailable 'LinkingTo' package 662 6632019-11-19 Dirk Eddelbuettel <edd@debian.org> 664 665 * DESCRIPTION (Version, Date): Roll minor version 666 * inst/include/Rcpp/config.h: Idem 667 6682019-11-18 Kun Ren <mail@renkun.me> 669 670 * src/attributes.cpp: Add invisible param to export attribute (#1024) 671 * vignettes/rmd/Rcpp-attributes.Rmd: Add an section of Returning 672 invisible object 673 6742019-11-13 Dirk Eddelbuettel <edd@debian.org> 675 676 * .github/ISSUE_TEMPLATE.md: Another small edit 677 * .github/PULL_REQUEST_TEMPLATE.md: Idem 678 6792019-11-13 Stephen Wade <stephematician@gmail.com> 680 681 * inst/include/Rcpp/XPtr.h: Delete delegating ctor (follow-up #1012) 682 * inst/unitTests/runit.XPTr.R: Reinsert self-tag test on Windows 683 6842019-11-11 Dirk Eddelbuettel <edd@debian.org> 685 686 * inst/unitTests/runit.packageversion.R: New test 687 * inst/unitTests/cpp/rcppversion.cpp: Cpp portion of test 688 6892019-11-10 Dirk Eddelbuettel <edd@debian.org> 690 691 * .github/: Add files CONTRIBUTING.md, FUNDING.yml, ISSUE_TEMPLATE.md 692 and PULL_REQUEST_TEMPLATE.md 693 694 * inst/include/Rcpp/config.h: Correct RCPP_VERSION and 695 RCPP_DEV_VERSION to 1.0.3 696 6972019-11-09 Dirk Eddelbuettel <edd@debian.org> 698 699 * DESCRIPTION (Version, Date): Roll minor version 700 7012019-11-09 TJ McKinley <t.mckinley@exeter.ac.uk> 702 703 * R/Attributes.R: Correct how cppFunction() deals with multiple 704 depends arguments 705 7062019-11-08 Romain Francois <romain@rstudio.com> 707 708 * inst/include/Rcpp/lang.h: Safer Rcpp_list* and Rcpp_lang* 709 * inst/include/Rcpp/Function.h: Add Function.invoke() for operator() 710 * inst/include/Rcpp/generated/Function__operator.h: Safer 711 Function.operator() using Function.invoke() 712 7132019-11-08 Dirk Eddelbuettel <edd@debian.org> 714 715 * DESCRIPTION (Date, Version): Release 1.0.3 716 717 * inst/include/Rcpp/config.h: Idem 718 * inst/NEWS.Rd: Idem 719 * inst/bib/Rcpp.bib: Idem 720 * vignettes/Rcpp.bib: Idem 721 7222019-11-06 Dirk Eddelbuettel <edd@debian.org> 723 724 * DESCRIPTION (Version, Date): Roll minor version 725 726 * inst/include/Rcpp/XPtr.h: Provided fallback for old constructor 727 when C++11 is not available (follow-up to #1003) 728 * inst/unitTests/runit.XPTr.R (test.XPtr): On Windows (as a proxy for 729 old compilers) do not test new feature 730 731 * tests/doRUnit.R: Protect printing to /tmp from Windows use 732 733 * vignettes/rmd/Rcpp.bib: Updated 734 * inst/bib/Rcpp.bib: Idem 735 7362019-11-02 Dirk Eddelbuettel <edd@debian.org> 737 738 * DESCRIPTION (Version, Date): Roll minor version 739 740 * inst/include/Rcpp/Reference.h: Shield Rf_mkstring inside Rf_lang2 741 * inst/include/Rcpp/Environment.h: Idem (inside Rf_lang4) 742 * inst/include/Rcpp/proxy/FieldProxy.h: Idem (inside Rf_lang3 and 4) 743 7442019-10-31 Romain Francois <romain@rstudio.com> 745 746 * inst/include/Rcpp/DataFrame.h: Protect temporaries from gc 747 * inst/include/Rcpp/Environment.h: Idem 748 * inst/include/Rcpp/r_cast.h: Idem 749 7502019-10-27 Dirk Eddelbuettel <edd@debian.org> 751 752 * DESCRIPTION (Version, Date): Roll minor version 753 754 * inst/unitTests/runit.exposeClass.R: Updated to pass with r-devel 755 756 * vignettes/rmd/Rcpp-FAQ.Rmd: Two new short section on speedier 757 compilation and lack of exceptions / stop() across shared libraries 758 7592019-10-26 Dirk Eddelbuettel <edd@debian.org> 760 761 * vignettes/Rcpp-package.Rnw: Another wrapper 762 * vignettes/Rcpp-jss-2011.Rnw: Idem 763 764 * vignettes/Makefile: Refinements 765 * vignettes/rmd/Makefile: Idem 766 767 * cleanup: Removed bashism, added invocation of make clean 768 7692019-10-23 Dirk Eddelbuettel <edd@debian.org> 770 771 * vignettes/Rcpp-*.Rnw: Wrappers around pdf/*pdf 772 * vignettes/Makefile: Added 773 7742019-10-21 Dirk Eddelbuettel <edd@debian.org> 775 776 * vignettes/rmd/*: Moved from parent directory 777 * vignettes/pdf/*: New target directory 778 7792019-10-20 Dirk Eddelbuettel <edd@debian.org> 780 781 * DESCRIPTION (Version, Date): Roll minor version 782 783 * vignettes/Rcpp-FAQ.Rmd: Turn off knitr cache 784 * vignettes/Rcpp-introduction.Rmd: Idem 785 786 * vignettes/Makefile: Add simple Makefile 787 * .Rbuildignore: Exclude vignettes/Makefile 788 7892019-10-19 Stephen Wade <stephematician@gmail.com> 790 791 * inst/include/Rcpp/XPtr.h: XPtr constructor split up, a single 792 argument does not modify tags and protected data of the external pointer 793 * inst/unitTests/cpp/Xptr.cpp: Added test 794 * inst/unitTests/runit.XPtr.R: Idem 795 7962019-10-14 Dirk Eddelbuettel <edd@debian.org> 797 798 * README.md: Added CRAN + BioConductor badges for reverse depends, 799 8002019-10-11 Dirk Eddelbuettel <edd@debian.org> 801 802 * inst/include/Rcpp/exceptions.h: Condition use of typeid() on 803 absence of RCPP_NO_RTTI in two places 804 * inst/include/Rcpp/r/headers.h: RCPP_NO_RTTI implies RCPP_NO_MODULES 805 8062019-10-04 Dirk Eddelbuettel <edd@debian.org> 807 808 * vignettes/Rcpp-attributes.Rmd: Correct two unevaluated knitr C++ 809 chunks to mode 'Rcpp' rather than the (unregistered) C++ mode 810 * vignettes/Rcpp-extending.Rmd: Minor white-space tweak to avoid 811 paragraph-spacing warnings from latex and its mdframed style 812 * vignettes/Rcpp-modules.Rmd: Idem 813 * vignettes/Rcpp-sugar.Rmd: Idem 814 8152019-10-01 Dirk Eddelbuettel <edd@debian.org> 816 817 * DESCRIPTION (Version, Date): Roll minor version 818 8192019-09-30 Kevin Ushey <kevinushey@gmail.com> 820 821 * inst/include/Rcpp.h: add RCPP_NO_MODULES 822 * inst/include/Rcpp/api/meat/is.h: Idem 823 * inst/include/Rcpp/api/meat/meat.h: Idem 824 8252019-09-28 Dirk Eddelbuettel <edd@debian.org> 826 827 * README.md: Add a stackoverflow tag to indicate where to ask questions, 828 also updated package counts on CRAN and BioC for Rcpp users 829 8302019-08-06 Riccardo Porreca <riccardo.porreca@mirai-solutions.com> 831 832 * vignettes/Rcpp-modules.Rmd: Extensive review and edit improving the 833 Modules vignette 834 8352019-08-04 Dirk Eddelbuettel <edd@debian.org> 836 837 * README.md: Add thre doi badges 838 839 * inst/NEWS.Rd: Two minor edits 840 8412019-07-21 Dirk Eddelbuettel <edd@debian.org> 842 843 * DESCRIPTION (Version, Date): Roll minor version 844 8452019-07-21 Riccardo Porreca <riccardo.porreca@mirai-solutions.com> 846 847 * R/Module.R: Use an explicit Rcpp:: in the initalize method for C++ 848 classes wrapped inside modules to ensure proper initialization 849 8502019-07-20 Dirk Eddelbuettel <edd@debian.org> 851 852 * DESCRIPTION: Release 1.0.2 853 854 * inst/include/Rcpp/config.h: Idem 855 * inst/NEWS.Rd: Idem 856 * inst/bib/Rcpp.bib: Idem 857 * vignettes/Rcpp.bib: Idem 858 8592019-07-18 Pierrick Roger <pk.roger@icloud.com> 860 861 * src/attributes.cpp: Correct parsing of default function values 862 * inst/unitTests/cpp/attributes.cpp: Added tests 863 * inst/unitTests/runit.attributes.R: Idem 864 8652019-07-16 Dirk Eddelbuettel <edd@debian.org> 866 867 * debian/: Removed, see https://salsa.debian.org/edd/r-base/ instead 868 8692019-07-04 Dirk Eddelbuettel <edd@debian.org> 870 871 * vignettes/Rcpp.bib: Updated 872 * inst/bib/Rcpp.bib: Idem 873 8742019-05-05 Dirk Eddelbuettel <edd@debian.org> 875 876 * .Rbuildignore: Small tweak 877 8782019-04-27 Dirk Eddelbuettel <edd@debian.org> 879 880 * R/Rcpp.package.skeleton.R (Rcpp.package.skeleton): Use getRcppVersion() 881 8822019-04-26 Dirk Eddelbuettel <edd@debian.org> 883 884 * DESCRIPTION (Version, Date): Roll minor version 885 886 * R/tools.R (getRcppVersion): More idiomatic code 887 8882019-04-25 Dirk Eddelbuettel <edd@debian.org> 889 890 * R/tools.R (getRcppVersion): Export R (and dev) package version 891 * man/getRcppVersion.Rd: Documentation for new function 892 893 * inst/include/Rcpp/config.h (RCPP_VERSION_STRING): New version 894 and development version string #define 895 * src/api.cpp (getRcppVersionStrings): Expose new versions strings 896 * src/internal.h: Register new version string exporter 897 * src/rcpp_init.cpp (callEntries[]): Idem 898 899 * inst/unitTests/runit.misc.R (test.getRcppVersion): test new function 900 9012019-03-23 Ralf Stubner <ralf.stubner@daqana.com> 902 903 * vignettes/Rcpp-modules.Rmd: Describe RCPP_EXPOSED_* macros 904 * vignettes/Rcpp-extending.Rmd: Reference Modules extensions 905 9062019-03-23 Dirk Eddelbuettel <edd@debian.org> 907 908 * DESCRIPTION (Version, Date): Roll minor version 909 910 * inst/NEWS.Rd: Updated 911 9122019-03-20 James J Balamuta <balamut2@illinois.edu> 913 914 * inst/include/Rcpp/sugar/functions/unique.h: Added decreasing 915 parameter to control sort. 916 * inst/unitTests/runit.sugar.R: Added sort_unique() tests 917 * inst/unitTests/cpp/sugar.cpp: Ditto 918 9192019-03-20 Dirk Eddelbuettel <edd@debian.org> 920 921 * src/date.cpp: Renamed from Date.cpp 922 * src/module.cpp: Renamed from Module.cpp 923 * src/rcpp_init.cpp: Renamed from Rcpp_init.cpp 924 9252019-03-19 Dirk Eddelbuettel <edd@debian.org> 926 927 * DESCRIPTION (Version, Date): Roll minor version 928 929 * tests/doRUnit.R: On Travis always set RunAllRcppTests 930 931 * docker/ci/Dockerfile: Set environment variables container-wide 932 9332019-03-18 Dirk Eddelbuettel <edd@debian.org> 934 935 * inst/include/Rcpp/macros/macros.h (END_RCPP_RETURN_ERROR): Add 936 UNPROTECT to reference nprot, also check for stop_sym 937 9382019-03-17 Dirk Eddelbuettel <edd@debian.org> 939 940 * DESCRIPTION: Release 1.0.1 941 942 * inst/include/Rcpp/config.h: Idem 943 * inst/NEWS.Rd: Idem 944 * inst/bib/Rcpp.bib: Idem 945 * vignettes/Rcpp.bib: Idem 946 9472019-03-16 Dirk Eddelbuettel <edd@debian.org> 948 949 * DESCRIPTION (Version, Date): Roll minor version 950 951 * inst/unitTests/runit.sugar.R: Set the sample() behaviour to R 3.5.0 952 as R 3.6.0 has a breaking change (for the better) 953 9542019-03-13 Romain François <romain@purrple.cat> 955 956 * inst/include/Rcpp/macros/macros.h: Add UNPROTECT to please rchk 957 9582019-03-12 Romain François <romain@purrple.cat> 959 960 * inst/include/Rcpp/api/meat/proxy.h: AttributeProxy::set() with 961 Shield<> and a few related uses of Shield<> to please rchk 962 * inst/include/Rcpp/clone.h: Idem 963 * inst/include/Rcpp/proxy/AttributeProxy.h: Idem 964 * inst/include/Rcpp/proxy/NamesProxy.h: Idem 965 * inst/include/Rcpp/vector/Matrix.h: Idem 966 * inst/include/Rcpp/vector/Vector.h: Idem 967 9682019-02-25 Dirk Eddelbuettel <edd@debian.org> 969 970 * .travis.yml (after_success): Setting CODECOV_TOKEN to reenable 971 codecov.io coverage as detailed by Ralf in GitHub issue #941 972 9732019-02-16 Dirk Eddelbuettel <edd@debian.org> 974 975 * inst/include/Rcpp/sugar/functions/cbind.h: Converted CRLF to CR 976 9772019-02-15 Dirk Eddelbuettel <edd@debian.org> 978 979 * inst/README: Moved stale file to local/ 980 * inst/THANKS: Idem 981 9822019-02-13 Dirk Eddelbuettel <edd@debian.org> 983 984 * DESCRIPTION (Version, Date): New minor version 985 9862019-02-11 Kevin Ushey <kevinushey@gmail.com> 987 988 * R/Attributes.R: better handle pre-existing RcppExports.cpp, 989 RcppExports.R when calling compileAttributes() 990 9912019-02-09 Ralf Stubner <ralf.stubner@daqana.com> 992 993 * Rcpp-modules.Rmd: Added example for .factory 994 9952019-01-31 Dirk Eddelbuettel <edd@debian.org> 996 997 * inst/include/Rcpp/protection/Shelter.h (Rcpp): Only increase 998 nprotected count if object is not NULL (suggested by Stepan Sindelar) 999 10002018-12-26 Zhuoer Dong <dongzhuoer@mail.nankai.edu.cn> 1001 1002 * vignettes/Rcpp-quickref.Rmd: Fix three bugs: use `Named()`, define 1003 `glob`, `glob.ls(TRUE)`. 1004 10052018-12-01 Dirk Eddelbuettel <edd@debian.org> 1006 1007 * R/Attributes.R: Added new 'c++2a' plugin for '-std=c++2a' 1008 compilation standard supported by g++ 8 or later 1009 10102018-11-11 Dirk Eddelbuettel <edd@debian.org> 1011 1012 * inst/include/Rcpp/vector/Subsetter.h (check_indices): More 1013 informative error message as suggested by KK 1014 10152018-11-09 William Nolan <will@landale.net> 1016 1017 * inst/include/Rcpp/vector/Subsetter.h: Fixed to use R_xlen_t instead 1018 of int for indexing and added warning when indexing by IntegerVector 1019 (only for large enough vectors) 1020 10212018-11-05 Dirk Eddelbuettel <edd@debian.org> 1022 1023 * DESCRIPTION (Date, Version): Version 1.0, and happy 10th birthday! 1024 1025 * inst/include/Rcpp/config.h: Idem 1026 * inst/NEWS.Rd: Idem 1027 * inst/bib/Rcpp.bib: Idem 1028 * vignettes/Rcpp.bib: Idem 1029 10302018-11-04 Dirk Eddelbuettel <edd@debian.org> 1031 1032 * DESCRIPTION (Date, Version): Roll minor version 1033 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem 1034 1035 * README.md: Updated stated package and test numbers 1036 10372018-10-25 Kevin Ushey <kevinushey@gmail.com> 1038 1039 * inst/include/Rcpp/String.h: Use Rf_mkCharLenCE() as appropriate 1040 * inst/unitTests/cpp/String.cpp: Add unit tests 1041 * inst/unitTests/runit.String.R: Add unit tests 1042 10432018-10-12 Dirk Eddelbuettel <edd@debian.org> 1044 1045 * DESCRIPTION (Date, Version): Roll minor version 1046 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem 1047 1048 * tests/doRUnit.R: Simplified to something similar to what 1049 RcppArmadillo (and other packages) had for a while now 1050 1051 * vignettes/Rcpp-unitTests.Rnw: Removed as less useful now 1052 10532018-10-08 JJ Allaire <jj@rstudio.com> 1054 1055 * R/Attributes.R: Sort the files scanned for attributes in the C locale 1056 for stable output across systems. 1057 10582018-10-07 Ralf Stubner <ralf.stubner@daqana.com> 1059 1060 * vignettes/Rcpp-extending.Rmd: Correct EXPORT to EXPOSED in displays 1061 of the corresponding macro, and remove two spurious semicolons 1062 10632018-10-02 Dirk Eddelbuettel <edd@debian.org> 1064 1065 * DESCRIPTION (Date, Version): Roll minor version 1066 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem 1067 10682018-10-02 Romain Francois <romain@rstudio.com> 1069 1070 * inst/include/Rcpp/vector/Matrix.h: Init nrow in Matrix(no_init) ctor 1071 * inst/unitTests/runit.Matrix.R: New test 1072 * inst/unitTests/cpp/Matrix.cpp: Idem 1073 10742018-09-30 Dirk Eddelbuettel <edd@debian.org> 1075 1076 * man/RcppUnitTests.Rd: Remove \details{} with conditional code which 1077 R-devel (as of Sep 28) warns about as empty 1078 10792018-09-28 Dirk Eddelbuettel <edd@debian.org> 1080 1081 * .travis.yml (env): Set distinct build and check options to skip 1082 tests of vignettes 1083 10842018-09-27 Dirk Eddelbuettel <edd@debian.org> 1085 1086 * DESCRIPTION (Version, Date): Roll minor version 1087 1088 * inst/include/Rcpp/date_datetime/Date.h: Remove the empty destructor 1089 to make g++-9 (prerelease) happy [CRAN request] 1090 1091 * inst/unitTests/runit.Matrix.R: Correct typo 1092 10932018-09-27 Romain Francois <romain@rstudio.com> 1094 1095 * inst/include/Rcpp/vector/Matrix.h: Fix Matrix(no_init(int,int)) 1096 constructor 1097 * inst/unitTests/runit.Matrix.R: test for above 1098 * inst/unitTests/cpp/Matrix.cpp: same 1099 11002018-09-26 Dirk Eddelbuettel <edd@debian.org> 1101 1102 * docker/ci/Dockerfile: Set env var RunAllRcppTests=yes 1103 * .travis.yml: Do not set env var here as needed in Docker 1104 11052018-09-21 Dirk Eddelbuettel <edd@debian.org> 1106 1107 * DESCRIPTION: Release 0.12.19 1108 * inst/NEWS.Rd: Idem 1109 * inst/bib/Rcpp.bib: Idem 1110 * vignettes/Rcpp.bib: Idem 1111 * inst/include/Rcpp/config.h: Idem 1112 1113 * R/RcppLdpath.R (RcppLdPath, RcppLdFlags, CxxFlags, RcppCxx0xFlags): 1114 After discussion with CRAN, do not mark as .Deprecated() as too many 1115 packages are involved. This will need to be phased in more slowly. 1116 11172018-09-20 Dirk Eddelbuettel <edd@debian.org> 1118 1119 * vignettes/Rcpp-FAQ.Rmd: Set 'eval=FALSE' on another 1120 RcppArmadillo example to not create a build-time dependency 1121 11222018-09-18 JJ Allaire <jj@rstudio.com> 1123 1124 * src/attributes.cpp: Add support for [[Rcpp::init]] attribute 1125 * vignettes/Rcpp-attributes.Rmd: Documentation for [[Rcpp::init]] 1126 attribute 1127 11282018-09-17 Dirk Eddelbuettel <edd@debian.org> 1129 1130 * inst/include/Rcpp/r/headers.h: Define STRICT_R_HEADERS, but until 1131 September 2019 protect by defining RCPP_NO_STRICT_HEADERS 1132 1133 * .travis.yml (env): Switch to rcpp/ci for ci use 1134 11352018-09-15 Dirk Eddelbuettel <edd@debian.org> 1136 1137 * docker/ci/Dockerfile: Move Dockerfile to docker/ci 1138 * docker/run/Dockerfile: Add deployment Dockerfile 1139 * docker/plus/Dockerfile: Add 'plus-sized' Dockerfile suitable for 1140 different add-on packages requiring Rcpp{Armadillo,Eigen,GSL} or BH 1141 11422018-09-02 Dirk Eddelbuettel <edd@debian.org> 1143 1144 * .travis.yml: Switch to rcpp/rcpp-testing container 1145 11462018-08-29 Dirk Eddelbuettel <edd@debian.org> 1147 1148 * .travis.yml: Use Dockerfile 1149 11502018-08-28 Dirk Eddelbuettel <edd@debian.org> 1151 1152 * docker/Dockerfile: Add Dockerfile for use by Travis CI 1153 11542018-08-27 Dirk Eddelbuettel <edd@debian.org> 1155 1156 * DESCRIPTION (Version, Date): Roll minor version 1157 * inst/include/Rcpp/config.h: Idem 1158 1159 * man/Rcpp-deprecated.Rd: Fix two-char typo/thinko in \link{} 1160 11612018-07-29 Dirk Eddelbuettel <edd@debian.org> 1162 1163 * README.md: Refreshed via some edits and updates 1164 1165 * DESCRIPTION (Version, Date): Roll minor version 1166 * inst/include/Rcpp/config.h: Idem 1167 11682018-07-28 Dirk Eddelbuettel <edd@debian.org> 1169 1170 * R/RcppLdpath.R (RcppLdPath, RcppLdFlags, CxxFlags, RcppLdFlags) 1171 (RcppCxx0xFlags): Marked as deprecated 1172 1173 * man/Rcpp-deprecated.Rd: Add exported functions LdFlags() and 1174 RcppLdFlags() as deprecated 1175 * man/RcppLdFlags.Rd: Idem 1176 11772018-07-27 Dirk Eddelbuettel <edd@debian.org> 1178 1179 * man/loadRcppModules-deprecated.Rd: Fix typo; was deprecated in 1180 0.12.5, not 0.16.5 which does not exist 1181 11822018-07-26 Dirk Eddelbuettel <edd@debian.org> 1183 1184 * vignettes/Rcpp-FAQ.Rmd: Use collapse: true 1185 * vignettes/Rcpp-introduction.Rmd: Idem 1186 11872018-07-25 Dirk Eddelbuettel <edd@debian.org> 1188 1189 * vignettes/Rcpp-extending.Rmd: Use collapse: true 1190 11912018-07-24 Martin Lysy <mlysy@uwaterloo.ca> 1192 1193 * R/loadRcppClass.R: Search in R module for 'Class' instead of 1194 'CppClass'. 1195 * R/exposeClass.R: Fixed 'rename' argument to work as expected. 1196 * inst/unitTests/runit.exposeClass.R: Added unit tests for the 1197 above. 1198 11992018-07-23 Dirk Eddelbuettel <edd@debian.org> 1200 1201 * inst/bib/Rcpp.bib: More updates 1202 * vignettes/Rcpp.bib: Idem 1203 12042018-07-21 Dirk Eddelbuettel <edd@debian.org> 1205 1206 * DESCRIPTION: Release 0.12.18 1207 * inst/NEWS.Rd: Idem 1208 * inst/bib/Rcpp.bib: Idem 1209 * vignettes/Rcpp.bib: Idem 1210 * inst/include/Rcpp/config.h: Idem 1211 1212 * vignettes/Rcpp.bib: Updated other references 1213 * inst/bib/Rcpp.bib: Idem 1214 1215 * inst/unitTests/runit.sugar.R: Additional min, max unit tests 1216 * inst/unitTests/cpp/sugar.cpp: Idem 1217 12182018-07-20 Dirk Eddelbuettel <edd@debian.org> 1219 1220 * inst/include/Rcpp/sugar/functions/max.h: Also consider case of an 1221 empty vector 1222 * inst/include/Rcpp/sugar/functions/min.h: Idem 1223 12242018-07-19 Jack Wasey <jack@jackwasey.com> 1225 1226 * inst/include/Rcpp/r_cast.h: Error and abort if debugging for STRSXP 12272018-07-24 Martin Lysy <mlysy@uwaterloo.ca> 1228 * R/loadRcppClass.R: Search in R module for 'Class' instead of 'CppClass'. 1229 * R/exposeClass.R: Fixed 'rename' argument to work as expected. 1230 * inst/unitTests/runit.exposeClass.R: Added unit tests for the above. 1231 12322018-07-12 Dirk Eddelbuettel <edd@debian.org> 1233 1234 * DESCRIPTION (Version, Date): Roll minor version 1235 * inst/include/Rcpp/config.h: Idem 1236 12372018-07-12 Jack Wasey <jack@jackwasey.com> 1238 1239 * R/Attributes.R: Use case-insensitive sort of filenames to make 1240 RcppExports more deterministic 1241 12422018-07-10 Lionel Henry <lionel@rstudio.com> 1243 1244 * inst/include/Rcpp/exceptions.h: Move LongjumpException from the 1245 Rcpp::internal namespace to the public Rcpp namespace. If you have a 1246 catch-all statement like `catch (...)`, be sure to catch and rethrow 1247 Rcpp::LongjumpException to prevent the R longjump from being ignored. 1248 * inst/include/Rcpp/macros/macros.h (VOID_END_RCPP): idem 1249 * src/attributes.cpp: idem 1250 12512018-07-09 Dirk Eddelbuettel <edd@debian.org> 1252 1253 * src/Date.cpp: Skip 'tm_gmtoff' on AIX as well (thanks to PR 876 1254 by @ayappanec) 1255 12562018-07-05 Lionel Henry <lionel@rstudio.com> 1257 1258 * inst/include/Rcpp/api/meat/Rcpp_eval.h: Rename `RCPP_PROTECTED_EVAL` 1259 to `RCPP_USE_UNWIND_PROTECT` because the new API is now more general 1260 than just evaluation of R code. 1261 * inst/NEWS.Rd: idem 1262 * inst/unitTests/runit.interface.R: idem 1263 * R/unit.tests.R (unitTestSetup): Pass extra arguments to sourceCpp() 1264 for easier debugging. 1265 1266 * R/Attributes.R (.plugins[["unwindProtect"]]): You can now add 1267 `[[Rcpp::plugins(unwindProtect)]]` in one of your source file to enable 1268 the new unwind-protect mechanism easily. It appends 1269 `-DRCPP_USE_UNWIND_PROTECT` to `PKG_CPPFLAGS`. 1270 1271 This is safer than using a `#define` because it ensures unwind-protect 1272 is enabled in all compilation units, including RcppExports.cpp. 1273 1274 * inst/unitTests/cpp/stack.cpp: Use new plugin to enable unwind-protect. 1275 12762018-06-22 Kevin Ushey <kevinushey@gmail.com> 1277 1278 * inst/include/Rcpp/api/meat/Rcpp_eval.h: Ensure R_BaseEnv is used 1279 12802018-06-21 Lionel Henry <lionel@rstudio.com> 1281 1282 * inst/include/Rcpp/api/meat/unwind.h: Extract unwind protection from 1283 Rcpp::Rcpp_fast_eval() into Rcpp::unwindProtect(). Use this function 1284 whenever you need to call a C function that might longjump, for instance 1285 a function from R's C API. Rcpp::unwindProtect() will protect your C++ 1286 stack and throw a Rcpp::internal::LongJump exception to ensure all 1287 destructors are called. The R longjump is then resumed once it is safe 1288 to do so. This function powers Rcpp_fast_eval(). 1289 1290 You can use Rcpp::unwindProtect() in two ways. First with a C-like 1291 callback interface that takes a `SEXP (*)(void* data)` function pointer 1292 and a `void*` data argument that is passed to the function. Second, if 1293 you have C++11 enabled, Rcpp::unwindProtect() implements an 1294 `std::function<SEXP(void)>` overload. You can pass any function object 1295 or lambda function with the right signature. 1296 * inst/include/Rcpp/api/meat/Rcpp_eval.h: Idem 1297 12982018-06-15 Dirk Eddelbuettel <edd@debian.org> 1299 1300 * DESCRIPTION (Version, Date): Roll minor version 1301 * inst/include/Rcpp/config.h: Idem 1302 13032018-06-13 Filip Schouwenaars <filip@datacamp.com> 1304 1305 * inst/unitTests/runit.embeddedR.R: Evaluate in environment derived 1306 of baseenv 1307 13082018-06-11 Romain Francois <romain@purrple.cat> 1309 1310 * inst/include/Rcpp/exceptions.h: Control call and stack display 1311 after exception / stop 1312 * inst/unitTests/cpp/Exceptions_nocall.cpp: new test 1313 * inst/unitTests/runit.Exceptions_nocall.R: idem 1314 13152018-06-09 Qiang Kou <qkou@umail.iu.edu> 1316 1317 * inst/include/Rcpp/DataFrame.h: Use Rcpp_fast_eval, not Rcpp_eval 1318 * inst/include/Rcpp/Environment.h: Idem 1319 * inst/include/Rcpp/Function.h: Idem 1320 * inst/include/Rcpp/Language.h: Idem 1321 * inst/include/Rcpp/Module.h: Idem 1322 * inst/include/Rcpp/Reference.h: Idem 1323 * inst/include/Rcpp/exceptions.h: Idem 1324 * inst/include/Rcpp/generated/Function__operator.h: Idem 1325 * inst/include/Rcpp/proxy/FieldProxy.h: Idem 1326 * inst/include/Rcpp/proxy/NamesProxy.h: Idem 1327 * inst/include/Rcpp/r_cast.h: Idem 1328 * inst/include/Rcpp/vector/Vector.h: Idem 1329 * inst/examples/SugarPerformance/sugarBenchmarks.R: Idem 1330 * inst/unitTests/cpp/language.c: Idem 1331 * inst/unitTests/cpp/misc.c: Idem 1332 * src/barrier.c: Idem 1333 13342018-06-09 Dirk Eddelbuettel <edd@debian.org> 1335 1336 * inst/unitTests/runit.embeddedR.R: Suspend test for now 1337 13382018-06-08 Dirk Eddelbuettel <edd@debian.org> 1339 1340 * DESCRIPTION (Version, Date): Roll minor version 1341 * inst/include/Rcpp/config.h: Idem 1342 1343 * Contributing.md: Minor update coding style 1344 13452018-06-07 Kevin Ushey <kevinushey@gmail.com> 1346 1347 * inst/include/Rcpp/config.h: bump dev version 1348 13492018-06-06 Kevin Ushey <kevinushey@gmail.com> 1350 1351 * inst/include/Rcpp/RNGScope.h: Allow suspension of RNG synchronization 1352 * inst/include/Rcpp/routines.h: Idem 1353 * src/Rcpp_init.cpp: Idem 1354 * src/api.cpp: Idem 1355 1356 * inst/include/Rcpp/api/meat/Rcpp_eval.h: Evaluate in base env 1357 13582018-06-05 Jack Wasey <jack@jackwasey.com> 1359 1360 * inst/include/Rcpp/r_cast.h: Error and abort if debugging 1361 13622018-06-02 Lionel Henry <lionel@rstudio.com> 1363 1364 * inst/unitTests/runit.interface.R: New test for the case where 1365 the client package was compiled without protected evaluation 1366 enabled. On R 3.5, longjump exceptions thrown from imported 1367 functions are still caught and dealt with properly by the client 1368 package. 1369 1370 * inst/unitTests/runit.interface.R: Test both Rcpp_eval() and 1371 Rcpp_fast_eval(). 1372 13732018-06-01 Lionel Henry <lionel@rstudio.com> 1374 1375 * inst/unitTests/runit.interface.R: New tests for interfaces and unwind. 1376 These tests build two packages, and that exports a function via 1377 Rcpp::interfaces(cpp) and the other that calls it. The attributes are 1378 regenerated and the packages rebuilt each time the tests are run. The 1379 tests check in particular that the C++ stack is properly unwound when a 1380 long jump occurs. 1381 13822018-06-01 Romain Francois <romain@purrple.cat> 1383 1384 * inst/include/Rcpp/Environment.h: Make Environment::new_child() const 1385 13862018-05-31 Lionel Henry <lionel@rstudio.com> 1387 1388 * inst/include/Rcpp/api/meat/Rcpp_eval.h: Fix protected evaluation. 1389 1390 Setting `RCPP_PROTECTED_EVAL` before including Rcpp.h enables a new R 1391 3.5 API for safe evaluation of R code. R longjumps are now correctly 1392 intercepted and rethrown. Thanks to this the C++ stack is now safely 1393 unwound when a longjump is detected while calling into R code. This 1394 includes the following cases: thrown errors, caught condition of any 1395 class, long return, restart invokation, debugger exit. Note that this is 1396 still experimental! 1397 1398 When `RCPP_PROTECTED_EVAL` is enabled, Rcpp_eval() uses the 1399 protect-unwind API under the hood in order to gain safety. It is fully 1400 backward-compatibile and still catches errors and interrupts to rethrow 1401 them as typed C++ exceptions. If you don't need to catch those, consider 1402 using Rcpp_fast_eval() instead to avoid the catching overhead. 1403 1404 Rcpp_fast_eval() is a wrapper around Rf_eval(). Unlike Rcpp_eval(), it 1405 does not evaluate R code within tryCatch() and thus avoids the overhead 1406 of wrapping and evaluating the expression in a tryCatch() call. When 1407 Rcpp is compiled with a lower version than R 3.5, Rcpp_fast_eval() falls 1408 back to Rf_eval() without any protection from long jumps, even when 1409 `RCPP_PROTECTED_EVAL` is set. Either add R 3.5 to your `Depends` or make 1410 sure the legacy Rcpp_eval() function is called instead of Rcpp_fast_eval() 1411 when your package is compiled with an older version of R. 1412 1413 Note that Rcpp_fast_eval() behaves a bit differently to Rcpp_eval(). The 1414 former has the semantics of the C function Rf_eval() whereas the latter 1415 behaves like the R function base::eval(). This has subtle implications 1416 for control flow. For instance evaluating a return() expression within a 1417 frame environment returns from that frame rather than from the 1418 Rcpp_eval() call. 1419 1420 * inst/include/Rcpp/macros/macros.h: Leave the try/catch scope before 1421 resuming jump to ensure proper destruction of the exception reference. 1422 1423 * inst/include/Rcpp/exceptions.h: Functions to create and check a 1424 longjump sentinel. This sentinel is used as return value in contexts 1425 where it is not safe to resume a jump (i.e. in the glue code of cpp 1426 interfaces). 1427 1428 * inst/include/Rcpp/macros/macros.h: Return a longjump sentinel in 1429 END_RCPP_RETURN_ERROR. 1430 1431 * src/attributes.cpp: Detect longjump sentinels and resume jump. 1432 14332018-05-27 Romain Francois <romain@purrple.cat> 1434 1435 * inst/include/Rcpp/vector/string_proxy.h: Make 1436 StringProxy::operator== const 1437 * inst/unitTests/cpp/Vector.cpp: New test 1438 * inst/unitTests/runit.Vector.R: Idem 1439 14402018-05-09 Filip Schouwenaars <filip@datacamp.com> 1441 1442 * R/Attributes.R: Set local environment in source() 1443 * inst/unitTests/cpp/embeddedR.cpp: New test 1444 * inst/unitTests/runit.embeddedR.R: Idem 1445 14462018-05-09 Dirk Eddelbuettel <edd@debian.org> 1447 1448 * DESCRIPTION: Release 0.12.17 1449 * inst/NEWS.Rd: Release 0.12.17 1450 * inst/bib/Rcpp.bib: Release 0.12.17 1451 * vignettes/Rcpp.bib: Release 0.12.17 1452 * inst/include/Rcpp/config.h: Release 0.12.17 1453 1454 * debian/*: Changes for Debian release of 0.12.16 1455 14562018-05-05 Dirk Eddelbuettel <edd@debian.org> 1457 1458 * vignettes/Rcpp-FAQ.Rmd: Also mention TAS paper 1459 * vignettes/Rcpp-introduction.Rmd: Idem 1460 * vignettes/Rcpp-jss-2011.Rnw: Idem 1461 14622018-05-04 Romain Francois <romain@purrple.cat> 1463 1464 * inst/include/Rcpp/String.h: Extend StoragePolicy support 1465 * inst/include/Rcpp/vector/00_forward_proxy.h: Idem 1466 * inst/include/Rcpp/vector/Vector.h: Idem 1467 * inst/include/Rcpp/vector/const_generic_proxy.h: Idem 1468 * inst/include/Rcpp/vector/const_string_proxy.h: Idem 1469 * inst/include/Rcpp/vector/generic_proxy.h: Idem 1470 * inst/include/Rcpp/vector/proxy.h: Idem 1471 * inst/include/Rcpp/vector/string_proxy.h: Idem 1472 * inst/include/Rcpp/vector/traits.h: Idem 1473 1474 * inst/unitTests/cpp/Vector.cpp: New test 1475 * inst/unitTests/runit.Vector.R: Idem 1476 14772018-04-25 Dirk Eddelbuettel <edd@debian.org> 1478 1479 * DESCRIPTION (Version, Date): Roll minor version 1480 14812018-04-25 Romain Francois <romain@purrple.cat> 1482 1483 * inst/include/Rcpp/Benchmark/Timer.h: If defined, undefine FALSE 1484 14852018-04-17 Ralf Stubner <ralf.stubner@daqana.com> 1486 1487 * vignettes/Rcpp-attributes.Rmd: Replace back-quote with straight quote 1488 * vignettes/Rcpp-modules.Rmd: Idem 1489 14902018-04-02 Dirk Eddelbuettel <edd@debian.org> 1491 1492 * .editorconfig: Added support for editorconfig.org 1493 * .clang_format: Removed 1494 * .dir-locals.el: Removed 1495 14962018-03-31 Dirk Eddelbuettel <edd@debian.org> 1497 1498 * inst/include/Rcpp/sprintf.h (Rcpp): Remove parens [gcc8 warning] 1499 1500 * vignettes/Rcpp-attributes.Rmd: Update link to JSS intro vignette 1501 * vignettes/Rcpp-modules.Rmd: Idem 1502 15032018-03-21 Dirk Eddelbuettel <edd@debian.org> 1504 1505 * DESCRIPTION (Version, Date): Roll minor version 1506 15072018-03-18 Kevin Ushey <kevinushey@gmail.com> 1508 1509 * inst/include/Rcpp/stats/random/random.h: No inheritance from RNGScope 1510 15112018-03-14 Dirk Eddelbuettel <edd@debian.org> 1512 1513 * vignettes/Rcpp-FAQ.Rmd: Correct a double-quote (thanks, Joris Meys) 1514 15152018-03-08 Peter Hickey <peter.hickey@gmail.com> 1516 1517 * vignettes/Rcpp-attributes.Rmd: Correct stray backslash 1518 15192018-03-08 Dirk Eddelbuettel <edd@debian.org> 1520 1521 * DESCRIPTION: Release 0.12.16 1522 * inst/NEWS.Rd: Release 0.12.16 1523 * inst/bib/Rcpp.bib: Release 0.12.16 1524 * vignettes/Rcpp.bib: Release 0.12.16 1525 * inst/include/Rcpp/config.h: Release 0.12.16 1526 1527 * debian/*: Changes for Debian release of 0.12.16 1528 15292018-02-07 Kevin Ushey <kevinushey@gmail.com> 1530 1531 * inst/include/Rcpp/longlong.h: Revised and more general logic for long 1532 long on 64bit Windows etc via C++11 and as int64_t alias where possible 1533 15342018-03-01 Dirk Eddelbuettel <edd@debian.org> 1535 1536 * inst/include/Rcpp/sugar/functions/complex.h (Rcpp): Remove RCPP_HYPOT 1537 macro and use ::hypot() throught as it is provided with C99 1538 1539 * inst/include/Rcpp/sugar/undoRmath.h: Also uncomment pythag here 1540 15412018-02-28 Dirk Eddelbuettel <edd@debian.org> 1542 1543 * inst/include/Rcpp/Rmath.h (R): Rf_pythag has been remove in R 2.14.0 1544 so comment-out the R::pythag wrapper (per request of Brian Ripley) 1545 15462018-02-26 Kevin Ushey <kevinushey@gmail.com> 1547 1548 * src/api.cpp: Always set / put RNG state when calling Rcpp function 1549 15502018-02-25 Dirk Eddelbuettel <edd@debian.org> 1551 1552 * vignettes/Rcpp.bib: Updated 1553 * inst/bib/Rcpp.bib: Idem 1554 1555 * vignettes/Rcpp-FAQ.Rmd (Note): Expand conda answer by adding link 1556 15572018-02-14 Dirk Eddelbuettel <edd@debian.org> 1558 1559 * DESCRIPTION (Version, Date): New minor version 1560 15612018-02-14 Kirill Müller <krlmlr@mailbox.org> 1562 1563 * R/Attributes.R: Code compiled with cppFunction() uses .Call instead 1564 of .Primitive(".Call"), #795 1565 15662018-02-07 Kevin Ushey <kevinushey@gmail.com> 1567 1568 * inst/include/Rcpp/longlong.h: Allow long long on 64bit Windows 1569 15702018-01-21 Dirk Eddelbuettel <edd@debian.org> 1571 1572 * README.md: Added new section 'Support' 1573 1574 * vignettes/Rcpp-FAQ.Rmd (vignette): Uppercase index to 'Rcpp-FAQ'; 1575 removed reference to Gmane which sadly is no more 1576 15772018-01-19 Dirk Eddelbuettel <edd@debian.org> 1578 1579 * vignettes/Rcpp-FAQ.Rmd (Note): Document the conda package 1580 `gxx_linux-64` as helpful in that environment 1581 15822018-01-16 Dirk Eddelbuettel <edd@debian.org> 1583 1584 * DESCRIPTION: Release 0.12.15 1585 * inst/NEWS.Rd: Release 0.12.15 1586 * inst/bib/Rcpp.bib: Release 0.12.15 1587 * vignettes/Rcpp.bib: Release 0.12.15 1588 * inst/include/Rcpp/config.h: Release 0.12.15 1589 1590 * debian/*: Changes for Debian release of 0.12.15 1591 15922018-01-15 Dirk Eddelbuettel <edd@debian.org> 1593 1594 * inst/include/RcppCommon.h: Check for new #define RCPP_USE_UNWIND_PROTECT 1595 and unset if defined, this is being be used to "park" code from #789 1596 * inst/include/Rcpp/Environment.h: Ifdef #789 via RCPP_USE_UNWIND_PROTECT 1597 * inst/include/Rcpp/Language.h: Idem 1598 * inst/include/Rcpp/api/meat/Rcpp_eval.h: Idem 1599 * inst/include/Rcpp/exceptions.h: Idem 1600 * inst/include/Rcpp/macros/macros.h: Idem 1601 1602 * inst/unitTests/runit.stack.R: Ensure test is not running 1603 16042018-01-14 Dirk Eddelbuettel <edd@debian.org> 1605 1606 * DESCRIPTION (Version, Date): New minor version 0.12.14.8 1607 1608 * inst/include/Rcpp/traits/is_na.h (Rcpp): Also speed up 1609 Rcpp::is_na<Rcomplex> 1610 16112018-01-14 Lionel Henry <lionel@rstudio.com> 1612 1613 * inst/unitTests/cpp/stack.cpp: Move stack unwinding tests from misc.cpp 1614 * inst/unitTests/runit.stack.R: Move stack unwinding tests from misc.R; 1615 disaggregate stack unwinding tests; also disable for now 1616 16172018-01-11 Kirill Müller <krlmlr@mailbox.org> 1618 1619 * inst/include/Rcpp/traits/is_na.h: Speed up Rcpp::is_na<double>() 1620 16212018-01-09 Iñaki Ucar <i.ucar86@gmail.com> 1622 1623 * inst/include/Rcpp/vector/proxy.h: Improve support for NVCC, the CUDA 1624 compiler, by making three more methods const 1625 16262018-01-06 Kendon Bell <kmb56@berkeley.edu> 1627 1628 * src/api.cpp: Allow for compilation on ANDROID 1629 16302017-12-21 Dirk Eddelbuettel <edd@debian.org> 1631 1632 * DESCRIPTION (Date, Version): Updated minor version and date 1633 16342017-12-21 Kirill Müller <krlmlr@mailbox.org> 1635 1636 * inst/include/Rcpp/internal/wrap.h: Appease gcc-7 with fall-through 1637 * inst/include/Rcpp/macros/unroll.h: Idem 1638 16392017-12-20 Kirill Müller <krlmlr@mailbox.org> 1640 1641 * inst/include/Rcpp/utils/tinyformat.h: Update to new upstream 1642 c42f/tinyformat@8f60162, simplify future updates by separating 1643 Rcpp-specific changes (issue #786). 1644 16452017-12-19 Kevin Ushey <kevinushey@gmail.com> 1646 1647 * inst/include/Rcpp/internal/na.h: Remove 'clever' NA / NaN checks 1648 16492017-12-16 Dirk Eddelbuettel <edd@debian.org> 1650 1651 * DESCRIPTION (Date, Version): Updated minor version and date 1652 16532017-12-13 Lionel Henry <lionel@rstudio.com> 1654 1655 * inst/include/Rcpp/api/meat/Rcpp_eval.h: Add Rcpp_fast_eval() for safe 1656 and fast evaluation of R code using the new protect-unwind API in R 3.5. 1657 [ This is however disabled for release 0.12.15. ] 1658 1659 * inst/include/Rcpp/exceptions.h: Add LongjumpException and 1660 resumeJump() to support Rcpp_fast_eval(). 1661 1662 * inst/include/Rcpp/macros/macros.h: Catch LongjumpException and call 1663 resumeJump(). If resumeJump() doesn't jump (on old R versions), throw an 1664 R error (this normally should not happen). 1665 1666 * inst/include/RcppCommon.h: Add Rcpp_fast_eval() to the public API and 1667 internal::Rcpp_eval_impl() to the private API. 1668 1669 * inst/include/Rcpp/Environment.h: Use safe evaluation 1670 * inst/include/Rcpp/Language.h: idem 1671 16722017-12-05 Kevin Ushey <kevinushey@gmail.com> 1673 1674 * inst/include/Rcpp/Environment.h: Use public R APIs 1675 * inst/include/Rcpp/api/meat/Environment.h: Idem 1676 16772017-12-04 Kevin Ushey <kevinushey@gmail.com> 1678 1679 * inst/include/Rcpp/RObject.h: Protect temporary wrapped SEXPs 1680 * inst/include/Rcpp/api/meat/DataFrame.h: Idem 1681 * inst/include/Rcpp/api/meat/Environment.h: Idem 1682 * inst/include/Rcpp/api/meat/proxy.h: Idem 1683 * inst/include/Rcpp/proxy/ProtectedProxy.h: Idem 1684 * inst/include/Rcpp/vector/generic_proxy.h: Idem 1685 16862017-12-03 Dirk Eddelbuettel <edd@debian.org> 1687 1688 * DESCRIPTION (Version, Date): New minor version 1689 1690 * inst/include/Rcpp/sugar/functions/is_na.h: Correct test for NA to work 1691 with new as well as old Date(time)Vectors 1692 1693 * inst/unitTests/cpp/dates.cpp (has_na): Added tests 1694 * inst/unitTests/runit.Date.R (test.NA): Idem 1695 16962017-11-30 James J Balamuta <balamut2@illinois.edu> 1697 1698 * src/attributes.cpp: Fixed missing Rcpp namespace in export interface 1699 generation 1700 17012017-11-25 Dirk Eddelbuettel <edd@debian.org> 1702 1703 * DESCRIPTION (Version, Date): Roll minor version 1704 1705 * inst/include/Rcpp/exceptions/cpp11/exceptions.h: Ensure Rf_format gets 1706 a format string 1707 * inst/include/Rcpp/exceptions/cpp98/exceptions.h (Rcpp): Ditto 1708 17092017-11-18 Dirk Eddelbuettel <edd@debian.org> 1710 1711 * DESCRIPTION (Version, Date): Roll minor version 1712 1713 * vignettes/Rcpp-FAQ.Rmd: Use Rcpp::Rcpp.plugin.maker(), not ':::' 1714 17152017-11-17 Dirk Eddelbuettel <edd@debian.org> 1716 1717 * DESCRIPTION: Release 0.12.14 1718 * inst/NEWS.Rd: Release 0.12.14 1719 * inst/bib/Rcpp.bib: Release 0.12.14 1720 * vignettes/Rcpp.bib: Release 0.12.14 1721 * inst/include/Rcpp/config.h: Release 0.12.14 1722 17232017-11-04 Dirk Eddelbuettel <edd@debian.org> 1724 1725 * vignettes/Rcpp-FAQ.Rmd: Add 'skip_final_break: true' toggle 1726 * vignettes/Rcpp-attributes.Rmd: Idem 1727 * vignettes/Rcpp-extending.Rmd: Idem 1728 * vignettes/Rcpp-modules.Rmd: Idem 1729 * vignettes/Rcpp-sugar.Rmd: Idem 1730 17312017-10-30 Dirk Eddelbuettel <edd@debian.org> 1732 1733 * inst/include/Rcpp.h: Unless RCPP_FORCE_OLD_DATE_DATETIME_VECTORS is 1734 defined, define RCPP_NEW_DATE_DATETIME_VECTORS to switch to new date and 1735 datetime vector as announced in release 0.12.8 one year ago 1736 17372017-10-03 Dirk Eddelbuettel <edd@debian.org> 1738 1739 * inst/include/Rcpp/iostream/Rstreambuf.h: White-space edits 1740 17412017-10-02 Kirill Müller <krlmlr@mailbox.org> 1742 1743 * inst/include/Rcpp/iostream/Rstreambuf.h: Embed buffer class instance 1744 in Rostream to not require run-time allocation, and please Coverity 1745 17462017-09-29 Dirk Eddelbuettel <edd@debian.org> 1747 1748 * DESCRIPTION (Version, Date): Roll minor version 1749 1750 * DESCRIPTION (Description): Add <doi:...> per suggestion by CRAN 1751 1752 * inst/CITATION: Add PeerJ article, add doi info, reindent 1753 17542017-09-26 Daniel C. Dillon <dcdillon@gmail.com> 1755 1756 * inst/include/Rcpp/vector/MatrixRow.h: Added cbegin() / cend() to 1757 MatrixRow, and fixing return types 1758 * inst/include/Rcpp/vector/VectorBase.h: Ditto 1759 17602017-09-24 Dirk Eddelbuettel <edd@debian.org> 1761 1762 * DESCRIPTION: Release 0.12.13 1763 * inst/NEWS.Rd: Release 0.12.13 1764 * inst/bib/Rcpp.bib: Release 0.12.13 1765 * inst/include/Rcpp/config.h: Release 0.12.13 1766 17672017-09-23 Dirk Eddelbuettel <edd@debian.org> 1768 1769 * inst/bib/Rcpp.bib: Updated references 1770 * viignettes/Rcpp.bib: Idem 1771 17722017-09-21 Dirk Eddelbuettel <edd@debian.org> 1773 1774 * DESCRIPTION (Version, Date): Roll minor version 1775 1776 * vignettes/Rcpp-FAQ.Rmd (Rcpp): Add entry for 'symbols not found' error 1777 requiring two runs of compileAttributes 1778 17792017-09-20 James J Balamuta <balamut2@illinois.edu> 1780 1781 * vignettes/rcpp-docs.cls: Removed 1782 17832017-09-20 Dirk Eddelbuettel <edd@debian.org> 1784 1785 * vignettes/Rcpp-FAQ.Rmd: Modified formatting and cleaned a bit more. 1786 * vignettes/Rcpp-sugar.Rmd: Idem 1787 * vignettes/Rcpp-introduction.Rmd: Added new PeerJ preprint 1788 17892017-09-19 James J Balamuta <balamut2@illinois.edu> 1790 1791 * vignettes/Rcpp-FAQ.Rmd: Formatted and cleaned up vignette. 1792 * vignettes/Rcpp-sugar.Rmd: Idem 1793 17942017-09-19 Dirk Eddelbuettel <edd@debian.org> 1795 1796 * vignettes/Rcpp-attributes.Rmd: Formatted and cleaned up vignette. 1797 * vignettes/Rcpp-extending.Rmd: Idem 1798 * vignettes/Rcpp-modules.Rmd: Idem 1799 * vignettes/Rcpp-package.Rmd: Idem 1800 * vignettes/Rcpp-quickref.Rmd: Idem 1801 18022017-09-18 James J Balamuta <balamut2@illinois.edu> 1803 1804 * DESCRIPTION (Suggests): Added rmarkdown, knitr, and pinp dependencies 1805 * .travis.yml: idem 1806 * vignettes/Rcpp-quickref.Rmd: Translated vignette from highlight/sweave 1807 to RMarkdown for use with the pinp template. 1808 * vignettes/Rcpp-sugar.Rmd: Idem 1809 * vignettes/Rcpp-package.Rmd: Idem 1810 * vignettes/Rcpp-modules.Rmd: Idem 1811 * vignettes/Rcpp-FAQ.Rmd: Idem 1812 * vignettes/Rcpp-extending.Rmd: Idem 1813 * vignettes/Rcpp-attributes.Rmd: Idem 1814 18152017-09-18 Daniel C. Dillon <dcdillon@gmail.com> 1816 1817 * inst/include/Rcpp/vector/MatrixRow.h: Added cbegin() and cend() to 1818 the class along with a framework for proper const-correctness in the 1819 future. 1820 18212017-09-03 Dirk Eddelbuettel <edd@debian.org> 1822 1823 * DESCRIPTION (Version, Date): Roll minor version 1824 18252017-09-02 James J Balamuta <balamut2@illinois.edu> 1826 1827 * inst/include/Rcpp/vector/VectorBase.h: Defined both iterator AND 1828 const_iterator for future considerations. Currently, as before, only 1829 const_iterator is available (though it used to be called iterator). 1830 Added cbegin() and cend() functions. We should revisit whether there 1831 should be a non-const iterator on VectorBase in the future. 1832 1833 * inst/include/Rcpp/vector/Matrix.h: Added cbegin() and cend() 1834 functions. Iterator defintions inherited from Vector are appropriate. 1835 1836 * inst/include/Rcpp/vector/MatrixColumn.h: Added cbegin() and cend() 1837 functions. Iterator definitions inherited from Vector are appropriate 1838 because Matrix is column-major. 1839 1840 * inst/include/Rcpp/vector/Vector.h: Added cbegin() and cend() 1841 functions. Iterators are appropriate minus the problem with the const 1842 proxy class of objects (which may or may not actually be const depending 1843 on which one). 1844 1845 * inst/include/Rcpp/vector/traits.h: Removed (accidentally) some some 1846 trailing whitespace on lines. 1847 18482017-09-02 Dirk Eddelbuettel <edd@debian.org> 1849 1850 * DESCRIPTION (Version): Roll minor version 1851 1852 * vignettes/Rcpp-jss-2011.Rnw: Renamed again from Rcpp-introduction-2011, 1853 added reference to new Rcpp-introduction 1854 1855 * inst/bib/Rcpp.bib: Merged bibliography from new vignette; also added 1856 PeerJ Preprint with new Rcpp Introduction 1857 18582017-09-01 Dirk Eddelbuettel <edd@debian.org> 1859 1860 * vignettes/Rcpp-introduction.Rnw: New introductory vignette from PeerJ 1861 preprints but typeset 'more nicely' 1862 1863 * vignettes/rcpp-docs.cls: New LaTeX style file derived from pnas-new 1864 and its supporting files 1865 1866 * vignettes/figures/: Three support figures for new vignette 1867 * vignettes/intro2Rcpp.bib: New bibliography 1868 1869 * vignettes/Rcpp-introduction-2011.Rnw: Renamed from from Rcpp-introduction 1870 18712017-08-26 Dirk Eddelbuettel <edd@debian.org> 1872 1873 * .travis.yml (before_install): Use https for curl fetch 1874 18752017-08-14 James J Balamuta <balamut2@illinois.edu> 1876 1877 * vignettes/Rcpp-FAQ.Rnw: Sunset macOS documentation dealing with 1878 toolchains by redirecting to the R Installation and Administration manual 1879 * vignettes/.gitignore: Added various LaTeX build artifacts to ignore. 1880 18812017-08-05 Dirk Eddelbuettel <edd@debian.org> 1882 1883 * DESCRIPTION (Version, Date): Roll minor version and date 1884 1885 * inst/include/Rcpp/XPtr.h: Whitespace only-changes 1886 18872017-08-04 Lei Yu <leiyu_1981@qq.com> 1888 1889 * inst/include/Rcpp/Module.h: Correct one closing parenthesis 1890 18912017-07-13 Dirk Eddelbuettel <edd@debian.org> 1892 1893 * DESCRIPTION: Release 0.12.12 1894 * inst/NEWS.Rd: Release 0.12.12 1895 * inst/bib/Rcpp.bib: Release 0.12.12 1896 * inst/include/Rcpp/config.h: Release 0.12.12 1897 1898 * README.md: Updated counts for dependents and tests 1899 1900 * debian/*: Changes for Debian release of 0.12.12 1901 19022017-07-10 Jeff Pollock <jeffpollock9@gmail.com> 1903 1904 * inst/include/Rcpp/Module.h: Avoid unused variable warning 1905 * inst/include/Rcpp/Module_generated_Constructor.h: Ditto 1906 19072017-07-09 Dirk Eddelbuettel <edd@debian.org> 1908 1909 * DESCRIPTION (Version, Date): Roll minor version 1910 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Ditto 1911 1912 * inst/NEWS.Rd: Added missing entries 1913 19142017-07-08 Kirill Müller <krlmlr@mailbox.org> 1915 1916 * inst/include/Rcpp/vector/no_init.h: Accept R_xlen_t instead of int 1917 1918 * inst/include/Rcpp/internal/wrap.h: Use R_xlen_t not int in loop unroll 1919 * inst/include/Rcpp/macros/unroll.h: Ditto 1920 * inst/include/Rcpp/vector/Vector.h: Ditto 1921 19222017-07-05 Dirk Eddelbuettel <edd@debian.org> 1923 1924 * DESCRIPTION (Version, Date): Roll minor version 1925 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Ditto 1926 19272017-07-02 JJ Allaire <jj@rstudio.com> 1928 1929 * src/attributes.cpp: Generate C++ native routines with underscore 1930 prefix to avoid export when standard exportPattern is used in NAMESPACE 1931 19322017-06-29 JJ Allaire <jj@rstudio.com> 1933 1934 * src/attributes.cpp: Replace dot (".") with underscore ("_") in package 1935 names when generating native routine registrations. 1936 19372017-06-27 Jeroen Ooms <jeroenooms@gmail.com> 1938 1939 * inst/include/RcppCommon.h: Support attribute_visible macro 1940 19412017-06-17 Kirill Müller <krlmlr@mailbox.org> 1942 1943 * inst/include/Rcpp/Dimension.h: Explicit cast to int 1944 1945 * inst/include/Rcpp/exceptions.h: Don't declare unused arguments 1946 * src/attributes.cpp: Ditto 1947 19482017-06-14 JJ Allaire <jj@rstudio.com> 1949 1950 * src/attributes.cpp: Add Shield around parameters in Rcpp::interfaces 1951 19522017-06-07 Dirk Eddelbuettel <edd@debian.org> 1953 1954 * README.md: Use alternates for img.shields.io GPL-2+ badges 1955 19562017-06-06 Yu Gong <armgong@yahoo.com> 1957 1958 * src/api.cpp: Also permit compilation under Haiku-OS 1959 19602017-06-04 Dirk Eddelbuettel <edd@debian.org> 1961 1962 * DESCRIPTION (Version, Date): Roll minor version 1963 1964 * man/Rcpp.plugin.maker.Rd: Update manual page to additional Imports 1965 argument 1966 19672017-06-02 JJ Allaire <jj@rstudio.com> 1968 1969 * src/attributes.cpp: Automatically register init functions for 1970 RcppModules 1971 * R/Rcpp.package.skeleton.R: compileAttributes only after all code is 1972 generated 1973 19742017-06-01 JJ Allaire <jj@rstudio.com> 1975 1976 * src/attributes.cpp: Fix registration for exports with name attribute. 1977 19782017-05-30 Dirk Eddelbuettel <edd@debian.org> 1979 1980 * inst/include/Rcpp/utils/tinyformat.h: Added missing newline 1981 19822017-05-23 JJ Allaire <jj@rstudio.com> 1983 1984 * R/Attributes.R: Execute tools::package_native_routine_registration_skeleton 1985 within package rather than current working directory. 1986 * src/attributes.cpp: Execute tools::package_native_routine_registration_skeleton 1987 within package rather than current working directory. 1988 19892017-05-22 Dirk Eddelbuettel <edd@debian.org> 1990 1991 * R/inline.R (Rcpp.plugin.maker): Whitespace changes 1992 19932017-05-20 Dirk Eddelbuettel <edd@debian.org> 1994 1995 * DESCRIPTION: Release 0.12.11 1996 * inst/NEWS.Rd: Release 0.12.11 1997 * inst/bib/Rcpp.bib: Release 0.12.11 1998 * inst/include/Rcpp/config.h: Release 0.12.11 1999 2000 * README.md: Updated counts for dependents and tests 2001 2002 * debian/*: Changes for Debian release of 0.12.10 2003 20042017-05-19 Dirk Eddelbuettel <edd@debian.org> 2005 2006 * inst/NEWS.Rd: Removed one duplicate entry 2007 * inst/include/Rcpp/api/meat/Rcpp_eval.h (Rcpp): Minor whitespace changes 2008 20092017-05-18 Dirk Eddelbuettel <edd@debian.org> 2010 2011 * DESCRIPTION (Version, Date): Roll Date and Version once more 2012 * inst/NEWS.Rd: Updated 2013 2014 * R/Attributes.R (.plugins[["openmp"]]): Fix typo in comment 2015 2016 * src/attributes.cpp (Rcpp): Use size_t (twice) to suppress nags from g++ 2017 20182017-05-16 JJ Allaire <jj@rstudio.com> 2019 2020 * R/Attributes.R: Automatically generate native routine registrations. 2021 * src/attributes.cpp: Automatically generate native routine registrations. 2022 * R/Rcpp.package.skeleton.R: Don't generate native routines when creating 2023 a package using attributes. 2024 20252017-05-09 Dirk Eddelbuettel <edd@debian.org> 2026 2027 * R/Rcpp.package.skeleton.R (Rcpp.package.skeleton): Under R 3.4.0, run 2028 tools::package_native_routine_registration_skeleton to create src/init.c 2029 20302017-05-07 Dirk Eddelbuettel <edd@debian.org> 2031 2032 * DESCRIPTION (Version, Date): Roll minor version again 2033 2034 * inst/include/Rcpp/module/Module_Property.h: Remove two typed exception 2035 specifications which upset g++ 7.1 or higher 2036 20372017-05-05 Kirill Müller <krlmlr@mailbox.org> 2038 2039 * inst/include/Rcpp/date_datetime/Date.h: Suppress -Wconversion warnings 2040 * inst/include/Rcpp/date_datetime/Datetime.h: Idem 2041 * inst/include/Rcpp/date_datetime/newDateVector.h: Idem 2042 * inst/include/Rcpp/date_datetime/newDatetimeVector.h: Idem 2043 * inst/include/Rcpp/sugar/functions/rowSums.h: Idem 2044 * inst/include/Rcpp/sugar/functions/sample.h: Idem 2045 * inst/include/Rcpp/sugar/functions/strings/trimws.h: Idem 2046 20472017-04-26 Dirk Eddelbuettel <edd@debian.org> 2048 2049 * inst/include/Rcpp/exceptions.h (string_to_try_error): Protect result 2050 from Rf_mkString 2051 20522017-04-25 Dirk Eddelbuettel <edd@debian.org> 2053 2054 * R/Attributes.R (.plugins[["cpp11"]]): If R 3.4.0 or newer is used, set 2055 USE_CXX11 (instead of the older USE_CXX1X); 2056 (.plugins[["cpp14"]]): similarly updated for C++14 2057 (.plugins[["cpp17"]]): similarly updated for C++17 2058 (.plugins[["cpp98"]]): added 2059 20602017-04-22 Nathan Russell <russell.nr2012@gmail.com> 2061 2062 * inst/include/Rcpp/sugar/functions/strings/trimws.h: Added sugar 2063 function trimws with unit tests 2064 * inst/include/Rcpp/sugar/functions/strings/strings.h: Idem 2065 * inst/unitTests/cpp/sugar.cpp: Idem 2066 * inst/unitTests/runit.sugar.R: Idem 2067 20682017-04-20 Dirk Eddelbuettel <edd@debian.org> 2069 2070 * DESCRIPTION (Version, Date): Roll minor version 2071 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Idem 2072 2073 * inst/include/Rcpp/exceptions/cpp98/exceptions.h 2074 (RCPP_ADVANCED_EXCEPTION_CLASS): Suppressing some warnings 2075 20762017-04-20 James J Balamuta <balamut2@illinois.edu> 2077 2078 * inst/include/Rcpp/api/meat/DottedPairImpl.h: Corrected format 2079 specifier from '%s' to '%i'. 2080 20812017-04-18 James J Balamuta <balamut2@illinois.edu> 2082 2083 * inst/include/Rcpp/vector/Matrix.h: Corrected exception throws from 2084 not_compatible to not_a_matrix. 2085 * inst/include/Rcpp/S4.h: Fixed documentation detailing exception class 2086 throw. 2087 * inst/include/Rcpp/Environment.h: Improved error handling messages 2088 * inst/include/Rcpp/Function.h: idem 2089 * inst/include/Rcpp/Promise.h: idem 2090 * inst/include/Rcpp/String.h: idem 2091 * inst/include/Rcpp/Symbol.h: idem 2092 * inst/include/Rcpp/XPtr.h: idem 2093 * inst/include/Rcpp/as.h: idem 2094 * inst/include/Rcpp/r_cast.h: idem 2095 * inst/include/Rcpp/api/meat/DottedPairImpl.h: idem 2096 * inst/include/Rcpp/internal/export.h: idem 2097 * inst/include/Rcpp/proxy/DottedPairProxy.h: idem 2098 * inst/include/Rcpp/proxy/SlotProxy.h: idem 2099 * inst/include/Rcpp/vector/MatrixColumn.h: idem 2100 * inst/include/Rcpp/vector/MatrixRow.h: idem 2101 * inst/include/Rcpp/vector/Vector.h: idem 2102 21032017-04-17 James J Balamuta <balamut2@illinois.edu> 2104 2105 * inst/include/Rcpp/Rcpp/exceptions/cpp11/exceptions.h: Removed 2106 semicolons from RCPP_ADVANCED_EXCEPTION_CLASS to quiet 'extra ;' 2107 -Wpedantic 2108 * inst/include/Rcpp/exceptions.h: Modified exceptions macros to support 2109 a default string and removed generated stop, warning from file. 2110 * inst/include/Rcpp/Rcpp/exceptions/cpp98/exceptions.h: Contains 2111 generated RCPP_ADVANCED_EXCEPTION_CLASS macro, stop & warning. 2112 * inst/include/Rcpp/Rcpp/exceptions/cpp11/exceptions.h: idem but 2113 for variadic versions. 2114 * inst/include/Rcpp/utils/tinyformat.h: Enabled ability to use variadic 2115 tinyformat function if c++11 is detected. 2116 21172017-04-14 James J Balamuta <balamut2@illinois.edu> 2118 2119 * inst/include/Rcpp/utils/tinyformat.h: Refreshed tinyformat.h against 2120 May 13, 2016 upstream, retained local mods. 2121 21222017-04-14 Kirill Müller <krlmlr@mailbox.org> 2123 2124 * inst/include/Rcpp/macros/macros.h: Remove unused variable warning in 2125 BEGIN_RCPP macro 2126 2127 * inst/include/Rcpp/DataFrame.h: Explicitly call parent constructor 2128 2129 * inst/include/Rcpp/sugar/functions/rep.h: Remove variable name in 2130 function declaration to suppress unused argument warning 2131 * src/Rcpp_init.cpp: Ditto 2132 * src/attributes.cpp: Ditto 2133 21342017-04-11 Dirk Eddelbuettel <edd@debian.org> 2135 2136 * inst/inst/unitTests/testRcppClass/src/init.c (R_init_testRcppClass): Call 2137 R_registerRoutines() and R_useDynamicSymbols(); also ensure 2138 _rcpp_module_boot_* is registered for each module 2139 * inst/unitTests/testRcppClass/NAMESPACE: Added registration 2140 2141 * inst/unitTests/testRcppClass/DESCRIPTION (Title): Title case 2142 2143 * inst/unitTests/testRcppClass/R/rcpp_hello_world.R (rcpp_hello_world): 2144 Call the renamed C++ function 2145 * inst/unitTests/testRcppClass/src/rcpp_hello_world.cpp (rcpp_hello_world_cpp): 2146 Renamed C++ function to be distinct from R function calling it 2147 * inst/unitTests/testRcppClass/src/rcpp_hello_world.h: Ditto 2148 * inst/unitTests/testRcppClass/man/rcpp_hello_world.Rd: Alias renamed 2149 C++ function 2150 21512017-04-09 Dirk Eddelbuettel <edd@debian.org> 2152 2153 * inst/unitTests/testRcppModule/src/init.c (R_init_testRcppModule): Call 2154 R_registerRoutines() and R_useDynamicSymbols(); also ensure 2155 _rcpp_module_boot_* is registered for each module 2156 * inst/unitTests/testRcppModule/NAMESPACE: Added registration 2157 2158 * inst/unitTests/testRcppModule/DESCRIPTION (Title): Title case 2159 2160 * inst/unitTests/testRcppModule/R/rcpp_hello_world.R (rcpp_hello_world): 2161 Call the renamed C++ function 2162 * inst/unitTests/testRcppModule/src/rcpp_hello_world.cpp (rcpp_hello_world_cpp): 2163 Renamed C++ function to be distinct from R function calling it 2164 * inst/unitTests/testRcppModule/src/rcpp_hello_world.h: Ditto 2165 * inst/unitTests/testRcppModule/man/rcpp_hello_world.Rd: Alias renamed 2166 C++ function 2167 2168 * inst/unitTests/testRcppModule/man/Rcpp_modules_examples.Rd: Alias 2169 renamed modules 2170 * inst/unitTests/testRcppModule/tests/modules.R: Call renamed module 2171 21722017-04-03 Jim Hester <james.f.hester@gmail.com> 2173 2174 * inst/include/Rcpp/exceptions.h: Added support for throwing 2175 exceptions without call stacks. 2176 * inst/include/Rcpp/macros/macros.h: Idem 2177 * inst/unitTests/cpp/exceptions.cpp: Idem 2178 * inst/unitTests/runit.exceptions.R: Idem 2179 21802017-03-28 James J Balamuta <balamut2@illinois.edu> 2181 2182 * inst/vignettes/Rcpp-FAQ.Rnw: Added "Known Issues" section to FAQ 2183 21842017-03-25 Dirk Eddelbuettel <edd@debian.org> 2185 2186 * LICENSE: Added 2187 * .Rbuildignore: Do not include LICENSE in package 2188 21892017-03-17 Dirk Eddelbuettel <edd@debian.org> 2190 2191 * DESCRIPTION: Release 0.12.10 2192 * inst/NEWS.Rd: Release 0.12.10 2193 * inst/bib/Rcpp.bib: Release 0.12.10 2194 * inst/include/Rcpp/config.h: Release 0.12.10 2195 2196 * README.md: Updated counts for dependents and tests 2197 2198 * debian/*: Changes for Debian release of 0.12.10 2199 22002017-03-15 Jeroen Ooms <jeroenooms@gmail.com> 2201 2202 * inst/include/Rcpp/XPtr.h: added finalizeOnExit parameter 2203 22042017-02-28 Dirk Eddelbuettel <edd@debian.org> 2205 2206 * src/Rcpp_init.cpp (R_init_Rcpp): Call R_useDynamicSymbols() 2207 2208 * DESCRIPTION (Version, Date): New minor version 2209 22102017-02-25 Dirk Eddelbuettel <edd@debian.org> 2211 2212 * vignettes/Rcpp-FAQ.Rnw: New subsection on C++11, C++14, C++17 2213 22142017-02-17 Dirk Eddelbuettel <edd@debian.org> 2215 2216 * R/tools.R: More #nocov 2217 * inst/include/Rcpp/internal/r_vector.h: Idem 2218 22192017-02-15 Dirk Eddelbuettel <edd@debian.org> 2220 2221 * DESCRIPTION (Version, Date): New minor version 2222 22232017-02-14 Iñaki Ucar <i.ucar86@gmail.com> 2224 2225 * inst/include/Rcpp/iostream/Rstreambuf.h: Fixed single-character handling 2226 (pull request #649, fixes issue #647) 2227 22282017-02-13 Dirk Eddelbuettel <edd@debian.org> 2229 2230 * R/Attributes.R (.plugins[["cpp17"]]): New plugin 2231 (.plugins[["cpp1z"]]): Idem 2232 22332017-02-04 Daniel C. Dillon <dcdillon@gmail.com> 2234 2235 * inst/include/Rcpp/algorithm.h: Improved setup for Intel's icc 2236 22372017-01-31 Dirk Eddelbuettel <edd@debian.org> 2238 2239 * DESCRIPTION (Date, Version): Roll minor version 2240 2241 * inst/include/Rcpp/algorithm.h: Allow algorithm.h to be compiler under 2242 Intel's compiler, add copyright header and include guard 2243 22442017-01-31 Nathan Russell <russell.nr2012@gmail.com> 2245 2246 * inst/include/Rcpp/sugar/matrix/upper_tri.h: Inherit from MatrixBase 2247 and use correct comparators in get() to fix segfault 2248 * inst/include/Rcpp/sugar/matrix/lower_tri.h: Idem 2249 * inst/unitTests/cpp/sugar.cpp: Added unit tests for upper_tri and 2250 lower_tri 2251 * inst/unitTests/runit.sugar.R: Idem 2252 22532017-01-23 James J Balamuta <balamut2@illinois.edu> 2254 2255 * inst/include/Rcpp/DataFrame.h: Corrected return type for column size. 2256 22572017-01-22 Dirk Eddelbuettel <edd@debian.org> 2258 2259 * inst/include/Rcpp/DataFrame.h: Simplified and removed deprecation language. 2260 22612017-01-21 James J Balamuta <balamut2@illinois.edu> 2262 2263 * inst/include/Rcpp/DataFrame.h: Added alias for column and row size 2264 * inst/unitTests/runit.DataFrame.R: Added unit tests for aliases 2265 * inst/unitTests/cpp/DataFrame.cpp: Idem 2266 22672017-01-17 Dirk Eddelbuettel <edd@debian.org> 2268 2269 * DESCRIPTION (Version, Date): Roll minor version and Date 2270 2271 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Roll minor 2272 2273 * src/Date.cpp (Rcpp): Do not access tm_gmtoff on Solaris 2274 22752017-01-14 Dirk Eddelbuettel <edd@debian.org> 2276 2277 * DESCRIPTION: Release 0.12.9 2278 * inst/NEWS.Rd: Release 0.12.9 2279 * inst/bib/Rcpp.bib: Release 0.12.9 2280 * inst/include/Rcpp/config.h: Release 0.12.9 2281 2282 * README.md: Updated counts for dependents and tests 2283 2284 * debian/*: Changes for Debian release of 0.12.9 2285 22862017-01-13 Dirk Eddelbuettel <edd@debian.org> 2287 2288 * inst/include/Rcpp/exceptions.h: Added more #nocov tags 2289 * inst/include/Rcpp/api/bones/wrap_extra_steps.h: Idem 2290 * inst/include/Rcpp/iostream/Rstreambuf.h: Idem 2291 * inst/include/Rcpp/traits/named_object.h: Idem 2292 * inst/include/Rcpp/r_cast.h: Idem 2293 * src/Module.cpp: Idem 2294 22952017-01-12 Dirk Eddelbuettel <edd@debian.org> 2296 2297 * inst/bib/Rcpp.bib: Moved from vignettes/ directory 2298 * R/bib.R (bib): Idem 2299 2300 * vignettes/Rcpp-FAQ.Rnw: Evaluate \Sexpr{Rcpp:::bib()} 2301 * vignettes/Rcpp-attributes.Rnw: Idem 2302 * vignettes/Rcpp-extending.Rnw: Idem 2303 * vignettes/Rcpp-introduction.Rnw: Idem 2304 * vignettes/Rcpp-modules.Rnw: Idem 2305 * vignettes/Rcpp-packages.Rnw: Idem 2306 * vignettes/Rcpp-sugar.Rnw: Idem 2307 2308 * inst/unitTests/runit.misc.R (test.bib): New test 2309 2310 * R/exceptions.R: Added #nocov 2311 23122017-01-11 Dirk Eddelbuettel <edd@debian.org> 2313 2314 * vignettes/Rcpp.bib: Updated references 2315 2316 * src/attributes.cpp (Rcpp): Correct typos in #nocov tags, added tags 2317 23182017-01-07 James J Balamuta <balamut2@illinois.edu> 2319 2320 * inst/include/Rcpp/sugar/functions/complex.h: Added Arg() function 2321 * inst/unitTests/runit.sugar.R: Added Arg() unit test to complex list 2322 * inst/unitTests/cpp/sugar.cpp: Idem 2323 23242017-01-06 Dirk Eddelbuettel <edd@debian.org> 2325 2326 * DESCRIPTION (Version, Date): Mark new minor version 2327 2328 * src/attributes.cpp: Additional nocov tags 2329 23302017-01-04 Dirk Eddelbuettel <edd@debian.org> 2331 2332 * src/Date.cpp (Rcpp): Protect assignment to tm_gmtoff to not being 2333 under MinGW; could potentially bite other too-limited systems 2334 2335 * inst/unitTests/runit.Date.R (test.Datetime.formating): Do not set TZ 2336 when running test, only set digits option 2337 23382017-01-01 Dirk Eddelbuettel <edd@debian.org> 2339 2340 * inst/unitTests/runit.Date.R (test.mktime, test.gmtime): New tests 2341 * inst/unitTests/cpp/dates.cpp (test_mktime, test_gmtime): Idem 2342 23432016-12-31 Dirk Eddelbuettel <edd@debian.org> 2344 2345 * inst/include/Rcpp/vector/Matrix.h: Minor simplification 2346 23472016-12-31 James J Balamuta <balamut2@illinois.edu> 2348 2349 * inst/include/Rcpp/vector/Matrix.h: Fixed non-symmetric case of matrix 2350 fills by switching to a loop based solution from iterator. 2351 * inst/unitTests/runit.Matrix.R: Added unit tests for diagonally 2352 filling matrices. 2353 * inst/unitTests/cpp/Matrix.cpp: Idem 2354 23552016-12-30 Dirk Eddelbuettel <edd@debian.org> 2356 2357 * src/Date.cpp: Synchronized internal code with R 2358 2359 * inst/unitTests/cpp/dates.cpp (gmtime_mktime): New test 2360 * inst/unitTests/runit.Date.R (test.mktime_gmtime): Idem 2361 23622016-12-26 Dirk Eddelbuettel <edd@debian.org> 2363 2364 * R/Attributes.R: Added #nocov markers 2365 * R/Module.R: Idem 2366 * R/exposeClass.R: Idem, added copyright header 2367 23682016-12-25 Dirk Eddelbuettel <edd@debian.org> 2369 2370 * DESCRIPTION (Date, Version): Roll minor version 2371 2372 * src/api.cpp: Added #nocov markers 2373 * src/Rcpp_init.cpp: Idem 2374 * src/Date.cpp: Date 2375 23762016-12-14 Nathan Russell <russell.nr2012@gmail.com> 2377 2378 * inst/include/Rcpp/sugar/functions/sample.h: Use vector instead of 2379 manual memory management. 2380 23812016-12-13 Nathan Russell <russell.nr2012@gmail.com> 2382 2383 * inst/include/Rcpp/sugar/functions/sample.h: Use malloc.h instead of 2384 alloca.h when building on Windows 2385 * inst/include/Rcpp/date_datetime/Date.h: Include time.h when building 2386 on Windows 2387 * inst/include/Rcpp/date_datetime/Datetime.h: Idem 2388 23892016-12-12 Dirk Eddelbuettel <edd@debian.org> 2390 2391 * inst/include/Rcpp/sugar/functions/sample.h: In case sample.h from the 2392 RcppArmadillo extensions was included, skip this file 2393 23942016-12-10 Nathan Russell <russell.nr2012@gmail.com> 2395 2396 * inst/include/Rcpp/sugar/functions/sample.h: New function 2397 sample() 2398 * inst/include/Rcpp/sugar/functions/functions.h: Idem 2399 * inst/unitTests/cpp/sugar.cpp: Unit tests for sample() 2400 * inst/unitTests/runit.sugar.R: Idem 2401 24022016-12-10 Dirk Eddelbuettel <edd@debian.org> 2403 2404 * R/loadRcppModules.R: Added #nocov tags 2405 * R/loadModule.R: Ditto 2406 2407 * R/unit.tests.R (test): Adjusted one #nocov tag 2408 24092016-12-09 Dirk Eddelbuettel <edd@debian.org> 2410 2411 * R/00_classes.R: Added #nocov tags 2412 * R/01_show.R: Ditto 2413 * R/02_completion.R: Ditto 2414 * R/03_prompt.R: Ditto 2415 24162016-12-07 Dirk Eddelbuettel <edd@debian.org> 2417 2418 * inst/include/Rcpp/vector/Matrix.h: Add 'using ...' to disambiguate size() 2419 24202016-12-04 Dirk Eddelbuettel <edd@debian.org> 2421 2422 * .codecov.yml (comment): Enable more verbose codecov.io reports 2423 24242016-12-03 Dirk Eddelbuettel <edd@debian.org> 2425 2426 * inst/unitTests/cpp/dates.cpp (Datetime_format): Additional ostream tests 2427 * inst/unitTests/runit.Date.R (test.Date.formating): Ditto 2428 2429 * inst/unitTests/runit.system.R (test.RcppCxx): New tests 2430 2431 * R/RcppLdpath.R (canUseCXX0X): Simplified as we can now rely on more 2432 modern compilers; underlying C++ code has not been present for a while 2433 2434 * R/compilerCheck.R (compilerCheck): Added some #nocov tags 2435 * R/unit.tests.R (test, gctortureRUnitTest): Ditto 2436 * R/zzz.R (.onLoad): Ditto 2437 24382016-11-29 Dirk Eddelbuettel <edd@debian.org> 2439 2440 * DESCRIPTION (Version, Date): Roll minor version to 0.12.8.2 2441 24422016-11-28 Dirk Eddelbuettel <edd@debian.org> 2443 2444 * inst/unitTests/cpp/dates.cpp (Date_format, Datetime_format): New tests 2445 * inst/unitTests/runit.Date.R (test.Date.formating): Ditto 2446 (test.Datetime.formating): Ditto 2447 2448 * inst/unitTests/runit.sugar.R (test.intersect): Added sort() around 2449 call to Sugar's intersect to ensure sorted output with g++-6.* 2450 24512016-11-27 Dirk Eddelbuettel <edd@debian.org> 2452 2453 * inst/include/Rcpp/date_datetime/Date.h (format, operator<<): Added 2454 * inst/include/Rcpp/date_datetime/Datetime.h (format, operator<<): Ditto 2455 * inst/include/Rcpp/date_datetime/newDateVector.h (operator<<): Ditto 2456 * inst/include/Rcpp/date_datetime/newDatetimeVector.h (operator<<): Ditto 2457 24582016-11-23 Dirk Eddelbuettel <edd@debian.org> 2459 2460 * inst/include/Rcpp/config.h (RCPP_DEV_VERSION): Set minor version 2461 24622016-11-22 Dirk Eddelbuettel <edd@debian.org> 2463 2464 * DESCRIPTION (Date, Version): Roll minor version 2465 2466 * inst/include/Rcpp/date_datetime/newDatetimeVector.h (Rcpp): Small 2467 correction concerning timezone attribute to ctor from RTYPE 2468 24692016-11-22 Jim Hester <james.f.hester@gmail.com> 2470 2471 * inst/src/api.cpp: Cleanup to stack message parseing 2472 * inst/unitTests/cpp/exceptions.cpp: Unit tests for cleanup 2473 * inst/unitTests/runit.exceptions.R: Ditto 2474 24752016-11-19 James J Balamuta <balamut2@illinois.edu> 2476 2477 * inst/unitTests/runit.environments.R: Added environment find unit tests 2478 as well as a symbol access test for environment get. 2479 * inst/unitTests/cpp/Environment.cpp: Idem 2480 24812016-11-18 James J Balamuta <balamut2@illinois.edu> 2482 2483 * vignettes/Rcpp-extending: Switched to attributes and 2484 added external class pointer macro notes by MathurinD 2485 24862016-11-16 Dirk Eddelbuettel <edd@debian.org> 2487 2488 * DESCRIPTION: Release 0.12.8 2489 * inst/NEWS.Rd: Release 0.12.8 2490 * vignettes/Rcpp.bib: Release 0.12.8 2491 * inst/include/Rcpp/config.h: Release 0.12.8 2492 2493 * README.md: Updated counts for dependents and tests 2494 2495 * debian/*: Changes for Debian release of 0.12.8 2496 24972016-11-15 Dirk Eddelbuettel <edd@debian.org> 2498 2499 * DESCRIPTION: Nathan Russell added to Authors 2500 25012016-11-14 Jim Hester <james.f.hester@gmail.com> 2502 2503 * inst/include/Rcpp/exceptions.h: Improved exception call stack 2504 * inst/include/Rcpp/routines.h: Ditto 2505 * inst/src/api.cpp: Ditto 2506 2507 * R/exections.R: Print and format method for stack straces 2508 2509 * inst/unitTests/runit.exceptions.R: Unit tests 2510 * inst/unitTests/cpp/exceptions.cpp: Ditto 2511 25122016-11-13 Dirk Eddelbuettel <edd@debian.org> 2513 2514 * R/Attributes.R (mergeIntoBuildEnv): Correct 'empty' return 2515 25162016-11-10 Dirk Eddelbuettel <edd@debian.org> 2517 2518 * inst/include/Rcpp/date_datetime/newDateVector.h: Added constructor 2519 using VectorBase<> 2520 25212016-11-05 Daniel C. Dillon <dcdillon@gmail.com> 2522 2523 * inst/include/Rcpp/date_datetime/newDatetimeVector.h: Added constructor 2524 to instantiate newDatetimeVector from VectorBase. 2525 25262016-11-04 Nathan Russell <russell.nr2012@gmail.com> 2527 2528 * inst/include/Rcpp/macros/dispatch.h: Modify variadic macros 2529 to not use GNU extensions 2530 * DESCRIPTION: roll minor version 2531 25322016-11-03 Nathan Russell <russell.nr2012@gmail.com> 2533 2534 * inst/include/Rcpp/hash/IndexHash.h: Add casts to eliminate 2535 signed / unsigned comparison warning 2536 * inst/include/Rcpp/hash/SelfHash.h: Idem 2537 * inst/unitTests/cpp/sugar.cpp: Added unit tests for sugar function 2538 unique() 2539 * inst/unitTests/runit.sugar.R: Idem 2540 25412016-10-30 Dirk Eddelbuettel <edd@debian.org> 2542 2543 * src/api.cpp: New capabilities field for new date(time) vectors 2544 * inst/unitTests/runit.Date.R (test.DatetimeVector.ctor): Differentiate 2545 in test as case of 'Inf' is handling differently by new and old datetime 2546 classes (and passed through as is by new ones which is better) 2547 * inst/unitTests/runit.InternalFunctionCPP11.R: Small cosmetic edit 2548 25492016-10-24 Qiang Kou <qkou@umail.iu.edu> 2550 2551 * inst/include/Rcpp/sugar/Range.h : fix range sugar ambiguity 2552 * inst/unitTests/cpp/sugar.cpp: range sugar unit test 2553 * inst/unitTests/runit.sugar.R: range sugar unit test 2554 25552016-10-24 Nathan Russell <russell.nr2012@gmail.com> 2556 2557 * inst/include/Rcpp/vector/MatrixBase.h: Change sugar 2558 functions eye(), ones(), and zeros() into static methods 2559 in MatrixBase 2560 * inst/include/Rcpp/traits/one_type.h: Idem 2561 * inst/include/Rcpp/traits/traits.h: Idem 2562 * inst/unitTests/cpp/Matrix.cpp: Idem 2563 * inst/unitTests/runit.Matrix.R: Idem 2564 25652016-10-24 Qiang Kou <qkou@umail.iu.edu> 2566 2567 * inst/include/Rcpp/sugar/Range.h: Range sugar uses R_xlen_t as start/end type 2568 25692016-10-23 Nathan Russell <russell.nr2012@gmail.com> 2570 2571 * inst/include/Rcpp/sugar/matrix/eye.h: New functions 2572 eye(), ones(), and zeros() 2573 * inst/include/Rcpp/sugar/matrix/matrix_functions.h: Idem 2574 * inst/unitTests/cpp/sugar.cpp: Unit tests for new functions 2575 * inst/unitTests/runit.sugar.R: Idem 2576 * inst/unitTests/runit.dispatch.R (test.ExpressionVector): Use 2577 expression rather than parse, correct typo 2578 25792016-10-22 Qiang Kou <qkou@umail.iu.edu> 2580 2581 * inst/include/Rcpp/hash/IndexHash.h: change hashing function to return unsigned int 2582 * inst/include/Rcpp/hash/SelfHash.h: Ditto 2583 25842016-10-21 Qiang Kou <qkou@umail.iu.edu> 2585 2586 * inst/include/Rcpp/barrier.h: Change string_elt/vector_elt to accept R_xlen_t 2587 * inst/include/Rcpp/routines.h: Ditto 2588 * src/barrier.cpp: Ditto 2589 25902016-10-19 Dirk Eddelbuettel <edd@debian.org> 2591 2592 * inst/include/Rcpp/date_datetime/Datetime.h (Rcpp): Additional 2593 operator+ for int argument 2594 25952016-10-18 Dirk Eddelbuettel <edd@debian.org> 2596 2597 * inst/include/Rcpp/date_datetime/Date.h (Rcpp): Add operator double() 2598 * inst/include/Rcpp/date_datetime/Datetime.h (Rcpp): Ditto 2599 26002016-10-17 Dirk Eddelbuettel <edd@debian.org> 2601 2602 * inst/include/Rcpp/date_datetime/newDatetimeVector.h (Rcpp): Allow 2603 setting of timezone attribute; default not-set leads to local as in R 2604 26052016-10-16 Dirk Eddelbuettel <edd@debian.org> 2606 2607 * inst/include/Rcpp.h (RCPP_NEW_DATE_DATETIME_VECTORS): Add a new 2608 compile-time #define to switch between 'old' (existing) and 'new' 2609 DateVector and DatimeVector classes. Currently uses 'new' for testing 2610 plan to switch to proper deprecation schedule. 2611 2612 * inst/include/Rcpp/date_datetime/date_datetime.h: New header file (and 2613 directory) regrouping all Date and Datetime headers, scalar and vector 2614 2615 * inst/include/Rcpp/date_datetime/Date.h: Moved one directory down 2616 * inst/include/Rcpp/date_datetime/Datetime.h: Ditto 2617 * inst/include/Rcpp/date_datetime/oldDateVector.h: Moved and renamed 2618 * inst/include/Rcpp/date_datetime/oldDatetimeVector.h: Ditto 2619 2620 * inst/include/Rcpp/date_datetime/newDateVector.h: New implementation 2621 inheriting from NumericVector, still optional 2622 * inst/include/Rcpp/date_datetime/newDatetimeVector.h: Ditto 2623 26242016-09-05 Dirk Eddelbuettel <edd@debian.org> 2625 2626 * DESCRIPTION (Version): Roll minor version 2627 * cleanup: Clean two more file type from vignettes/ 2628 26292016-09-04 Nathan Russell <russell.nr2012@gmail.com> 2630 2631 * inst/include/Rcpp/sugar/functions/rowSums.h: New functions 2632 rowSums(), colSums(), rowMeans(), and colMeans() 2633 * inst/include/Rcpp/sugar/functions/functions.h: Idem 2634 * inst/unitTests/cpp/sugar.cpp: Unit tests for new functions 2635 * inst/unitTests/runit.sugar.R: Idem 2636 26372016-09-04 Dirk Eddelbuettel <edd@debian.org> 2638 2639 * DESCRIPTION: Release 0.12.7 2640 * inst/NEWS.Rd: Release 0.12.7 2641 * vignettes/Rcpp.bib: Release 0.12.7 2642 * inst/include/Rcpp/config.h: Release 0.12.7 2643 2644 * README.md: Updated counts for dependents and tests 2645 2646 * debian/*: Changes for Debian release of 0.12.7 2647 26482016-09-02 Simon Dirmeier <simon.dirmeier@bsse.ethz.ch> 2649 2650 * src/attributes.cpp: Remove leading underscore in header guard 2651 26522016-08-14 James J Balamuta <balamut2@illinois.edu> 2653 2654 * inst/examples/FastLM/lmGSL.R: Updated example to use new GSL templates 2655 26562016-08-11 Dirk Eddelbuettel <edd@debian.org> 2657 2658 * .travis.yml: Switch to using run.sh for Travis CI 2659 26602016-08-09 Artem Klevtsov <a.a.klevtsov@gmail.com> 2661 2662 * inst/include/Rcpp/macros/dispatch.h: Add variadic conditional macro 2663 when C++11 compiler used 2664 * ints/include/unitTests/cpp/dispatch.cpp: Add unit tests for 2665 RCPP_RETURN_VECTOR and RCPP_RETURN_MATRIX macro 2666 * ints/include/unitTests/runit.dispatch.R: Idem 2667 26682016-08-05 James J Balamuta <balamut2@illinois.edu> 2669 2670 * inst/examples/FastLM/fastLMviaArmadillo.r: format fix 2671 * inst/examples/FastLM/lmGSL.R: Updated example to use 2672 Rcpp attributes instead of cxxfunction 2673 * inst/examples/FastLM/lmArmadillo.R: Idem 2674 * inst/examples/functionCallback/newApiExample.r: Idem 2675 * inst/examples/RcppInline/RcppInlineExample.r: Idem 2676 * inst/examples/RcppInline/RcppInlineWithLibsExamples.r: Idem 2677 * inst/examples/RcppInline/UncaughtExceptions.r: Idem 2678 * inst/examples/RcppInline/external_pointer.r: Idem 2679 26802016-08-04 James J Balamuta <balamut2@illinois.edu> 2681 2682 * src/attributes.cpp: Correct variable re-declaration 2683 * inst/examples/RcppGibbs/RcppGibbs.R: Updated example to use Rcpp 2684 attributes instead of cxxfunction 2685 * inst/examples/RcppGibbs/timeRNGs.R: Idem 2686 26872016-08-03 Dirk Eddelbuettel <edd@debian.org> 2688 2689 * .gitattributes: Added to have ChangeLog and NEWS.Rd merge via union 2690 26912016-08-02 James J Balamuta <balamut2@illinois.edu> 2692 2693 * R/Rcpp.package.skeleton.R: Added autogeneration warning 2694 * src/attributes.cpp: Fixed invalid C++ Identifiers and modified export 2695 header to warn against hand edits 2696 * vignettes/Rcpp-package.Rnw: Updated code generation snippets 2697 * man/Rcpp.package.skeleton.Rd: Add warning on hand edits to the 2698 autogenerated RcppExports files. 2699 * man/compileAttributes.Rd: Idem 2700 27012016-08-02 Qiang Kou <qkou@umail.iu.edu> 2702 2703 * inst/include/Rcpp/String.h: CE_UTF8 as default encoding 2704 * inst/unitTests/cpp/String.cpp: Update unit test 2705 * inst/unitTests/runit.String.R: Idem 2706 27072016-08-01 Nathan Russell <russell.nr2012@gmail.com> 2708 2709 * inst/include/Rcpp/vector/Vector.h: Added decreasing option for Vector 2710 sort 2711 * inst/include/Rcpp/internal/NAComparator.h: Idem 2712 * inst/unitTests/cpp/Vector.cpp: Idem 2713 * inst/unitTests/runit.Vector.R: Idem 2714 27152016-07-31 Qiang Kou <qkou@umail.iu.edu> 2716 2717 * inst/examples/SugarPerformance/sugarBenchmarks.R: Remove usage of Rf_eval 2718 * inst/include/Rcpp/Environment.h: Idem 2719 * inst/include/Rcpp/Module.h: Idem 2720 * inst/include/Rcpp/exceptions.h: Idem 2721 * inst/include/Rcpp/proxy/FieldProxy.h: Idem 2722 * inst/include/Rcpp/r_cast.h: Idem 2723 * inst/unitTests/cpp/language.cpp: Idem 2724 * src/barrier.cpp: Idem 2725 27262016-07-24 Dirk Eddelbuettel <edd@debian.org> 2727 2728 * inst/unitTests/cpp/rmath.cpp: Added RNG unit tests for sugar variants 2729 * inst/unitTests/runit.rmath.R: Idem 2730 27312016-07-22 James J Balamuta <balamut2@illinois.edu> 2732 2733 * inst/unitTests/cpp/rmath.cpp: Added unit tests for Rmath RNGs 2734 * inst/unitTests/runit.rmath.R: idem 2735 * inst/include/Rcpp/Environment.h: Added get() & find() that accept 2736 a symbol 2737 * inst/include/Rcpp.h: Modified header load order so that Symbol.h 2738 is now placed before Environment.h 2739 27402016-07-21 Dirk Eddelbuettel <edd@debian.org> 2741 2742 * DESCRIPTION (Version): Roll minor release 2743 27442016-07-18 Kevin Ushey <kevin@rstudio.com> 2745 2746 * inst/include/Rcpp/r/headers.h: Ensure NORET macro is set appropriately 2747 27482016-07-18 Dirk Eddelbuettel <edd@debian.org> 2749 2750 * DESCRIPTION: Release 0.12.6 2751 * inst/NEWS.Rd: Release 0.12.6 2752 * vignettes/Rcpp.bib: Release 0.12.6, RProtoBuf updates 2753 * inst/include/Rcpp/config.h: Release 0.12.6 2754 2755 * README.md: Updated counts for dependents and tests 2756 2757 * debian/*: Changes for Debian release of 0.12.5 2758 27592016-07-17 James J Balamuta <balamut2@illinois.edu> 2760 2761 * vignettes/Rcpp-quickref.Rnw: Added sections on Rcpp attributes and 2762 plugins. Facelifts on important notes, inline, environments, and calling 2763 R functions. 2764 27652016-07-16 Daniel C. Dillon <dcdillon@gmail.com> 2766 2767 * Added a const_interator typedef to VectorBase 2768 27692016-07-15 James J Balamuta <balamut2@illinois.edu> 2770 2771 * vignettes/Rcpp-FAQ.Rnw: Added section on default function parameters 2772 27732016-07-15 Dirk Eddelbuettel <edd@debian.org> 2774 2775 * vignettes/Rcpp-FAQ.Rnw: Also point to Rcpp-attributes in Question 1 2776 27772016-07-13 Dirk Eddelbuettel <edd@debian.org> 2778 2779 * NAMESPACE: Add import for glob2rx to please R CMD check 2780 * man/cppFunction.Rd: line break below 90 columns to please R CMD check 2781 27822016-07-11 J.J. Allaire <jj@rstudio.org> 2783 2784 * R/Attributes.R Add cacheDir argument to sourceCpp to enable caching of 2785 shared libraries across R sessions 2786 * src/attributes.cpp Add cacheDir argument to sourceCpp to enable caching of 2787 shared libraries across R sessions 2788 * man/sourceCpp.Rd: Document new cacheDir option 2789 * man/cppFunction.Rd: Idem 2790 * man/evalFunction.Rd: Idem 2791 27922016-07-10 Nathan Russell <russell.nr2012@gmail.com> 2793 2794 * inst/include/Rcpp/algorithm.h: Accomodate clang compiler 2795 27962016-07-03 Dirk Eddelbuettel <edd@debian.org> 2797 2798 * DESCRIPTION (Version): Rolling minor version 2799 28002016-07-02 Qiang Kou <qkou@umail.iu.edu> 2801 2802 * src/attributes.cpp: Replace '.' in package names 2803 28042016-06-23 Dirk Eddelbuettel <edd@debian.org> 2805 2806 * DESCRIPTION (Version): Rolling minor version 2807 2808 * inst/include/Rcpp/exceptions.h (Rcpp): Also expose Rf_warningcall() 2809 within Rcpp namespace (without leading Rf_) 2810 28112016-06-20 Qin Wenfeng <mail@qinwenfeng.com> 2812 2813 * inst/include/Rcpp/exceptions.h: add RCPP_USING_UTF8_ERROR_STRING macro 2814 to use UTF-8 encoding exception string in R 2815 28162016-06-14 Artem Klevtsov <a.a.klevtsov@gmail.com> 2817 2818 * inst/include/Rcpp/sugar/functions/na_omit.h: Improve na_omit for 2819 vectors without NA 2820 * inst/unitTests/cpp/sugar.cpp: Add unit test for the na_omit 2821 * inst/unitTests/runit.sugar.R: Ditto 2822 28232016-06-02 Kirill Müller <krlmlr@mailbox.org> 2824 2825 * inst/include/Rcpp/algorithm.h: Use "long long" only if available 2826 * inst/include/Rcpp/exceptions.h: Annotate stop() with NORET 2827 28282016-05-18 Daniel C. Dillon <dcdillon@gmail.com> 2829 2830 * inst/include/Rcpp/algorithm.h: New approach for sugar 2831 2832 * inst/unitTests/cpp/algorithm.cpp: Unit test support 2833 * inst/unitTests/runit.algorithm.R: Ditto 2834 28352016-05-17 Dirk Eddelbuettel <edd@debian.org> 2836 2837 * DESCRIPTION (Version): Rolling minor version 2838 28392016-05-16 Qiang Kou <qkou@umail.iu.edu> 2840 2841 * inst/include/Rcpp/String.h: Correct string replacement 2842 * inst/unitTests/runit.String.R: Unit test 2843 28442016-05-16 Daniel C. Dillon <dcdillon@gmail.com> 2845 2846 * inst/include/Rcpp/sugar/functions/max.h: Fixing constness 2847 * inst/include/Rcpp/sugar/functions/min.h: Ditto 2848 28492016-05-15 Daniel C. Dillon <dcdillon@gmail.com> 2850 2851 * inst/include/Rcpp/vector/Matrix.h: Correcting ambiguities in 2852 Vector/Matrix and scalar operations 2853 * inst/include/Rcpp/sugar/operators/divides.h: Ditto 2854 * inst/include/Rcpp/sugar/operators/minus.h: Ditto 2855 * inst/include/Rcpp/sugar/operators/plus.h: Ditto 2856 * inst/include/Rcpp/sugar/operators/times.h: Ditto 2857 28582016-05-14 Dirk Eddelbuettel <edd@debian.org> 2859 2860 * DESCRIPTION: Release 0.12.5 2861 * inst/NEWS.Rd: Release 0.12.5 2862 * vignettes/Rcpp.bib: Release 0.12.5 2863 * inst/include/Rcpp/config.h: Release 0.12.5 2864 2865 * debian/*: Changes for Debian release of 0.12.5 2866 2867 * vignettes/Rcpp.bib: Updated references 2868 28692016-05-13 Dirk Eddelbuettel <edd@debian.org> 2870 2871 * DESCRIPTION: Rolled minor version 2872 2873 * R/compilerCheck.R: Minimal R function to check g++ version sufficiency 2874 * man/compilerCheck.Rd: Documentation 2875 28762016-05-11 Dirk Eddelbuettel <edd@debian.org> 2877 2878 * R/Rcpp.package.skeleton.R: Modified to create a package without notes, 2879 warnings, or error even pkgKitten is not available 2880 2881 * R/Rcpp.package.skeleton.R (.playWithPerPackageHelpPage): Added new 2882 helper function to be used when pkgKitten is not available 2883 * inst/skeleton/manual-page-stub.Rd: Stub for per-package help page used 2884 when pkgKitten is not available 2885 28862016-05-10 Dirk Eddelbuettel <edd@debian.org> 2887 2888 * R/Rcpp.package.skeleton.R: Also correct Title: and Description: to 2889 satisfy R CMD check in R-release and (current) R-devel 2890 28912016-05-08 Dirk Eddelbuettel <edd@debian.org> 2892 2893 * inst/unitTests/cpp/Matrix.cpp: Made four scalar/matrix tests less 2894 ambiguous for overloads by using double as scalar 2895 28962016-05-06 Dirk Eddelbuettel <edd@debian.org> 2897 2898 * R/loadRcppModules.R (loadRcppModules): Add call to .Deprecated 2899 pointing out that loadModule is preferred 2900 * man/Rcpp-deprecated.Rd: Added to list deprecated functions 2901 * man/loadRcppModules-deprecated.Rd: Renamed to -deprecated, added link 2902 to loadModule which is the preferred method 2903 2904 * vignettes/Rcpp-modules.Rnw: Updated with respect to loadRcppModules 2905 deprecation and loadModule being preferred 2906 29072016-04-15 Kevin Ushey <kevinushey@gmail.com> 2908 2909 * src/attributes.cpp: Add a missing 'winslash = "/"' 2910 29112016-04-14 J.J. Allaire <jj@rstudio.org> 2912 2913 * src/attributes.cpp: Correct handling of dependent file paths on 2914 Windows (use winslash = "/") 2915 29162016-04-13 Dirk Eddelbuettel <edd@debian.org> 2917 2918 * DESCRIPTION (Version): Rolling minor version and Date 2919 29202016-04-11 Ben Goodrich <goodrich.ben@gmail.com> 2921 2922 * R/Module.R: Avoid calling as.character() on C++Object to prevent race 2923 29242016-04-02 Dirk Eddelbuettel <edd@debian.org> 2925 2926 * DESCRIPTION: Rolled to minor version 0.12.4.3 2927 * inst/include/Rcpp/config.h: Ditto 2928 2929 * ChangeLog: Added entries for PRs 453 and 454 2930 * inst/NEWS.Rd: Add two missing \item uses 2931 2932 * R/Module.R: Rename copy to copyObject to avoid function name collisions 2933 * inst/unitTests/runit.Module.R: Ditto 2934 * man/copyObject.Rd: Ditto 2935 * inst/NEWS.Rd: Ditto 2936 * NAMESPACE: Ditto 2937 2938 * inst/unitTests/runit.environments.R: Skip test.environment.child test 2939 29402016-03-31 Romain Francois <romain@r-enthusiasts.com> 2941 2942 * R/Modules.R: New top-level functions copy, destruct and is_destructed 2943 * NAMESPACE: New functions copy, destruct and is_destructed exported 2944 * man/copy.Rd: New manual page 2945 * man/destruct.Rd: Ditto 2946 2947 * inst/include/Rcpp/module/class.h: Add copy constructortor + destructor 2948 * inst/include/Rcpp/module/class_Base.h: Ditto 2949 * src/Module.cpp: Ditto 2950 * src/Rcpp_init.cpp: Ditto 2951 * src/internal.h: Ditto 2952 2953 * inst/include/Rcpp/traits/traits.h: New trait detecting copy contructor 2954 * inst/include/Rcpp/traits/has_copy_constructor.h: Ditto 2955 2956 * inst/unitTests/runit.Module.R: Test new copy constructor and destructor 2957 * inst/unitTests/cpp/Module.cpp: Ditto 2958 29592016-03-29 Daniel C. Dillon <dcdillon@gmail.com> 2960 2961 * inst/include/Rcpp/String.h: Correct Rcpp::String for Rcpp::Nullable 2962 29632016-03-27 Qin Wenfeng <mail@qinwenfeng.com> 2964 2965 * R/Attributes.R: Support new R 3.3.0 Windows toolchain 2966 29672016-03-26 Dirk Eddelbuettel <edd@debian.org> 2968 2969 * DESCRIPTION: Rolled Date and minor Version 2970 29712016-03-23 Sergio Marques <sergio.rtmarques@gmail.com> 2972 2973 * src/api.cpp: Also check a flag __MUSL__ to accomodate Alpine 2974 29752016-03-22 Dirk Eddelbuettel <edd@debian.org> 2976 2977 * DESCRIPTION: Release 0.12.4 2978 * inst/NEWS.Rd: Release 0.12.4 2979 * vignettes/Rcpp.bib: Release 0.12.4 2980 * inst/include/Rcpp/config.h: Release 0.12.4 2981 2982 * debian/*: Changes for Debian release of 0.12.4 2983 29842016-03-19 Dirk Eddelbuettel <edd@debian.org> 2985 2986 * README.md: Use canonical CRAN URL to please R-devel CMD check 2987 29882016-03-12 Nathan Russell <russell.nr2012@gmail.com> 2989 2990 * inst/include/Rcpp/sugar/functions/cbind.h: Undefine MakeBindable macro 2991 after use 2992 29932016-03-12 Nathan Russell <russell.nr2012@gmail.com> 2994 2995 * inst/include/Rcpp/sugar/functions/cbind.h: New cbind() function 2996 * inst/include/Rcpp/sugar/functions/functions.h: Idem 2997 * inst/unitTests/cpp/sugar.cpp: Unit tests for cbind() 2998 * inst/unitTests/runit.sugar.R: Idem 2999 30002016-03-09 Colin Gillespie <csgillespie@gmail.com> 3001 3002 * vignettes/Rcpp-sugar.Rnw: Correct typos and indentation 3003 30042016-03-09 Dirk Eddelbuettel <edd@debian.org> 3005 3006 * inst/include/Rcpp/stats/random/rlogis.h: Updated Emacs header and 3007 copyright, aligned indentation 3008 * inst/include/Rcpp/stats/random/rnbinom.h: Idem 3009 * inst/include/Rcpp/stats/random/rnbinom_mu.h: Idem 3010 * inst/include/Rcpp/stats/random/rnchisq.h: Idem 3011 * inst/include/Rcpp/stats/random/rnorm.h: Idem 3012 * inst/include/Rcpp/stats/random/rt.h: Idem 3013 * inst/include/Rcpp/stats/random/runif.h: Idem 3014 * inst/include/Rcpp/stats/random/rweibull.h: Idem 3015 * inst/include/Rcpp/stats/random/random.h: Idem 3016 * inst/include/Rcpp/stats/random/rcauchy.h: Idem 3017 * inst/include/Rcpp/stats/random/rchisq.h: Idem 3018 * inst/include/Rcpp/stats/random/rexp.h: Idem 3019 * inst/include/Rcpp/stats/random/rf.h: Idem 3020 * inst/include/Rcpp/stats/random/rgeom.h: Idem 3021 * inst/include/Rcpp/stats/random/rlnorm.h: Idem 3022 * inst/include/Rcpp/stats/random/rbeta.h: Idem 3023 * inst/include/Rcpp/stats/random/rbinom.h: Idem 3024 * inst/include/Rcpp/stats/random/rgamma.h: Idem 3025 * inst/include/Rcpp/stats/random/rhyper.h: Idem 3026 * inst/include/Rcpp/stats/random/rpois.h: Idem 3027 * inst/include/Rcpp/stats/random/rsignrank.h: Idem 3028 * inst/include/Rcpp/stats/random/rwilcox.h: Idem 3029 30302016-03-07 Dirk Eddelbuettel <edd@debian.org> 3031 3032 * inst/include/Rcpp/stats/beta.h: Updated Emacs header and copyright 3033 * inst/include/Rcpp/stats/binom.h: Idem 3034 * inst/include/Rcpp/stats/cauchy.h: Idem 3035 * inst/include/Rcpp/stats/chisq.h: Idem 3036 * inst/include/Rcpp/stats/f.h: Idem 3037 * inst/include/Rcpp/stats/gamma.h: Idem 3038 * inst/include/Rcpp/stats/geom.h: Idem 3039 * inst/include/Rcpp/stats/hyper.h: Idem 3040 * inst/include/Rcpp/stats/nbeta.h: Idem 3041 * inst/include/Rcpp/stats/nbinom.h: Idem 3042 * inst/include/Rcpp/stats/nbinom_mu.h: Idem 3043 * inst/include/Rcpp/stats/nchisq.h: Idem 3044 * inst/include/Rcpp/stats/nf.h: Idem 3045 * inst/include/Rcpp/stats/nt.h: Idem 3046 * inst/include/Rcpp/stats/pois.h: Idem 3047 * inst/include/Rcpp/stats/stats.h: Idem 3048 * inst/include/Rcpp/stats/t.h: Idem 3049 * inst/include/Rcpp/stats/unif.h: Idem 3050 * inst/include/Rcpp/stats/dpq/dpq.h: Idem 3051 30522016-03-05 Dirk Eddelbuettel <edd@debian.org> 3053 3054 * inst/include/Rcpp/stats/exp.h: Replaced initial Emacs header line with 3055 current one, ran M-x untabify, streamlined indentation, update copyright 3056 * inst/include/Rcpp/stats/lnorm.h: Idem 3057 * inst/include/Rcpp/stats/logis.h: Idem 3058 * inst/include/Rcpp/stats/norm.h: Idem 3059 * inst/include/Rcpp/stats/weibull.h: Idem 3060 30612016-03-04 Dirk Eddelbuettel <edd@debian.org> 3062 3063 * inst/unitTests/runit.Function.R: Switched to '/usr/bin/env r' 3064 * inst/unitTests/runit.table.R: Idem 3065 * inst/unitTests/runit.as.R: Idem 3066 * inst/unitTests/runit.Date.R: Idem 3067 * inst/unitTests/runit.misc.R: Idem 3068 * inst/unitTests/runit.Language.R: Idem 3069 * inst/unitTests/runit.subset.R: Idem 3070 * inst/unitTests/runit.wrap.R: Idem 3071 * inst/unitTests/runit.sugar.R: Idem 3072 * inst/unitTests/runit.na.R: Idem 3073 * inst/unitTests/runit.String.R: Idem 3074 * inst/unitTests/runit.Vector.R: Idem 3075 * inst/unitTests/runit.environments.R: Idem 3076 * inst/unitTests/runit.Reference.R: Idem 3077 * inst/unitTests/runit.Matrix.R: Idem 3078 * inst/unitTests/runit.client.package.R: Idem 3079 * inst/unitTests/runit.binary.package.R: Idem 3080 * inst/unitTests/runit.support.R: Idem 3081 * inst/unitTests/runit.S4.R: Idem 3082 * inst/unitTests/runit.RObject.R: Idem 3083 * inst/unitTests/runit.modref.R: Idem 3084 * inst/unitTests/runit.InternalFunctionCPP11.R: Idem 3085 * inst/unitTests/runit.attributes.R: Idem 3086 * inst/unitTests/runit.sugar.var.R: Idem 3087 * inst/unitTests/runit.Module.R: Idem 3088 * inst/unitTests/runit.XPTr.R: Idem 3089 * inst/unitTests/runit.Module.client.package.R: Idem 3090 * inst/unitTests/runit.stats.R: Idem 3091 * inst/unitTests/runit.rmath.R: Idem 3092 * inst/unitTests/runit.DataFrame.R: Idem 3093 * inst/unitTests/runit.wstring.R: Idem 3094 * inst/unitTests/runit.InternalFunction.R: Idem 3095 30962016-03-03 Dirk Eddelbuettel <edd@debian.org> 3097 3098 * inst/examples/FastLM/benchmarkLongley.r: Switched to '/usr/bin/env r' 3099 * inst/examples/FastLM/fastLMviaArmadillo.r: Idem 3100 * inst/examples/FastLM/fastLMviaGSL.r: Idem 3101 * inst/examples/FastLM/lmArmadillo.R: Idem 3102 * inst/examples/FastLM/lmGSL.R: Idem 3103 * inst/examples/FastLM/benchmark.r: Idem 3104 * inst/examples/ConvolveBenchmarks/exampleRCode.r: Idem 3105 31062016-02-27 Dirk Eddelbuettel <edd@debian.org> 3107 3108 * inst/examples/RcppInline/RcppInlineWithLibsExamples.r: Switched to 3109 using '/usr/bin/env r', switch to using 'cxxfunction' and RcppGSL plugin 3110 3111 * inst/examples/RcppInline/external_pointer.r: Switched to '/usr/bin/env r' 3112 * inst/examples/RcppInline/RcppInlineExample.r: Idem 3113 * inst/examples/ConvolveBenchmarks/overhead.r: Idem 3114 3115 * inst/include/Rcpp/Fast.h (Rcpp): Undo two const declarations 3116 31172016-02-23 Dirk Eddelbuettel <edd@debian.org> 3118 3119 * inst/examples/OpenMP/OpenMPandInline.r: Switched to '/usr/bin/env r' 3120 * inst/examples/RcppInline/RcppSimpleExample.r: Idem 3121 * inst/examples/RcppInline/RObject.r: Idem 3122 * inst/examples/RcppInline/UncaughtExceptions.r: Idem 3123 31242016-02-21 Dirk Eddelbuettel <edd@debian.org> 3125 3126 * inst/examples/functionCallback/newApiExample.r (vecfunc): Switched to 3127 using '/usr/bin/env r', switch to using 'cxxfunction' 3128 3129 * inst/examples/Misc/fibonacci.r: Switched to using '/usr/bin/env r', 3130 added explicit load of Rcpp package 3131 3132 * inst/examples/Misc/newFib.r: Switched to using '/usr/bin/env r' 3133 * inst/examples/Misc/ifelseLooped.r: Idem 3134 * inst/examples/Misc/piBySimulation.r: Idem 3135 * inst/examples/SugarPerformance/sugarBenchmarks.r: Idem 3136 31372016-02-16 Dirk Eddelbuettel <edd@debian.org> 3138 3139 * vignettes/Rcpp-FAQ.Rnw: Added answer on fixed-size limit of arguments 3140 31412016-02-07 Dirk Eddelbuettel <edd@debian.org> 3142 3143 * R/Attributes.R (sourceCppFunction): Use fully matched seq(along.with=...) 3144 3145 * vignettes/Rcpp-FAQ.Rnw: Added a table of contents 3146 31472016-02-06 James J Balamuta <balamut2@illinois.edu> 3148 3149 * vignettes/Rcpp-FAQ.Rnw (Rcpp): Additional material, and corrections, 3150 for use on OS X 3151 31522016-01-30 Qiang Kou <qkou@umail.iu.edu> 3153 3154 * inst/include/Rcpp/vector/Subsetter.h: Fix the error under gc 3155 * inst/unitTests/cpp/Vector.cpp : Add tests 3156 * inst/unitTests/runit.Vector.R : Idem 3157 31582016-01-29 Dirk Eddelbuettel <edd@debian.org> 3159 3160 * vignettes/Rcpp-FAQ.Rnw (Rcpp): Add new entry about required TeXlive 3161 installation to build vignettes (issue #422) 3162 31632016-01-22 Dirk Eddelbuettel <edd@debian.org> 3164 3165 * DESCRIPTION (Version): Mark as 0.12.3.1 3166 31672016-01-22 Daniel C. Dillon <dcdillon@gmail.com> 3168 3169 * R/Attributes.R: Add plugin for cpp14 3170 31712016-01-18 Daniel C. Dillon <dcdillon@gmail.com> 3172 3173 * inst/include/Rcpp/Nullable.h: Add isUsable() 3174 * inst/unitTests/cpp/misc.cpp: Add tests 3175 * inst/unitTests/runit.misc.R: Idem 3176 31772016-01-17 Nathan Russell <russell.nr2012@gmail.com> 3178 3179 * inst/include/Rcpp/sugar/functions/median.h: New function 3180 * inst/unitTests/cpp/sugar.cpp: Add tests 3181 * inst/unitTests/runit.sugar.R: Idem 3182 31832016-01-17 Daniel C. Dillon <dcdillon@gmail.com> 3184 3185 * inst/include/Rcpp/Nullable.h: Add as() and clone() 3186 * inst/unitTests/cpp/misc.cpp: Add tests 3187 * inst/unitTests/runit.misc.R: Idem 3188 31892016-01-13 Kirill Mueller <kirill.mueller@ivt.baug.ethz.ch> 3190 3191 * inst/include/Rcpp/Nullable.h: Added const support 3192 * inst/unitTests/cpp/misc.cpp: Added tests for const support 3193 31942016-01-10 Dirk Eddelbuettel <edd@debian.org> 3195 3196 * DESCRIPTION: Release 0.12.3 3197 * inst/NEWS.Rd: Release 0.12.3 3198 * vignettes/Rcpp.bib: Release 0.12.3 3199 * inst/include/Rcpp/config.h: Release 0.12.3 3200 3201 * debian/*: Changes for Debian release of 0.12.3 3202 3203 * vignettes/Rcpp.bib: Updated all CRAN reference to current versions 3204 32052016-01-09 Dirk Eddelbuettel <edd@debian.org> 3206 3207 * Contributing.md: Added to GitHub repo 3208 3209 * .Rbuildignore: Ensure Contributing.md is not in R package, also 3210 removed two old entries 3211 32122015-12-29 Joshua Pritikin <jpritikin@pobox.com> 3213 3214 * inst/include/Rcpp/Module.h: Initialize base class in copy ctor 3215 * inst/include/Rcpp/macros/interface.h: Idem 3216 32172015-12-12 Qiang Kou <qkou@umail.iu.edu> 3218 3219 * inst/include/Rcpp/String.h: std::hash<Rcpp::String> 3220 * inst/unitTests/cpp/wrap.cpp: Unit tests 3221 * inst/unitTests/runit.wrap.R: Unit tests 3222 32232015-12-04 Qiang Kou <qkou@umail.iu.edu> 3224 3225 * inst/include/Rcpp/vector/Matrix.h: Add math operators between matrix 3226 and scalar 3227 * inst/unitTests/runit.Matrix.R: Unit tests 3228 * inst/unitTests/cpp/Matrix.cpp: Unit tests 3229 32302015-11-27 Daniel C. Dillon <dcdillon@gmail.com> 3231 3232 * inst/include/Rcpp/vector/proxy.h: const_iterators for CharacterVector 3233 now work analogously to iterators 3234 * inst/include/Rcpp/vector/const_generic_proxy.h: Idem 3235 * inst/include/Rcpp/vector/const_string_proxy.h: Idem 3236 * inst/include/Rcpp/vector/traits.h: Idem 3237 3238 * inst/unitTests/cpp/Vector.cpp: Tests for above 3239 * inst/unitTests/runit.Vector.R: Idem 3240 3241 [ All this was commited on Sep 5 but only merged Nov 27 ] 3242 32432015-11-25 JJ Allaire <jj@rstudio.org> 3244 3245 * src/attributes.cpp: Avoid invalid function names when 3246 generating C++ interfaces. 3247 32482015-11-15 Kazuki Fukui <kazunoko93@gmail.com>> 3249 3250 * src/attributes.cpp: Insert extra space around & in interface 3251 32522015-11-14 Dirk Eddelbuettel <edd@debian.org> 3253 3254 * .travis.yml: Add token for secure Slack & Travis integration 3255 32562015-11-14 Dirk Eddelbuettel <edd@debian.org> 3257 3258 * DESCRIPTION: Release 0.12.2 3259 * inst/NEWS.Rd: Release 0.12.2 3260 * vignettes/Rcpp.bib: Release 0.12.2 3261 * inst/include/Rcpp/config.h: Release 0.12.2 3262 3263 * debian/*: Changes for Debian release of 0.12.2 3264 3265 * vignettes/Rcpp.bib: Updated all CRAN reference to current versions 3266 32672015-11-13 Dirk Eddelbuettel <edd@debian.org> 3268 3269 * inst/include/Rcpp/complex.h: Define a header guard for dplyr to 3270 prevent errorneous redefinition of operator<<() via dplyr 3271 32722015-11-11 Dirk Eddelbuettel <edd@debian.org> 3273 3274 * inst/include/Rcpp/vector/Matrix.h: Further simplification 3275 32762015-11-11 Qiang Kou <qkou@umail.iu.edu> 3277 3278 * include/Rcpp/complex.h: operator<< for Rcomplex 3279 32802015-11-10 Dirk Eddelbuettel <edd@debian.org> 3281 3282 * inst/include/Rcpp/vector/Matrix.h: Added transpose for character 3283 matrices as well 3284 3285 * inst/unitTests/runit.Matrix.R: New unit tests 3286 * inst/unitTests/cpp/Matrix.cpp: Ditto 3287 32882015-11-08 Dirk Eddelbuettel <edd@debian.org> 3289 3290 * inst/include/Rcpp/vector/Matrix.h: Matrix transpose is now a free 3291 function for both INTSXP and REALSXP 3292 3293 * inst/unitTests/runit.Matrix.R: New unit tests 3294 * inst/unitTests/cpp/Matrix.cpp: Ditto 3295 32962015-11-08 Daniel C. Dillon <dcdillon@gmail.com> 3297 3298 * inst/include/Rcpp/Nullable.h: No longer prevent assignment of 3299 R_NilValue to Nullable<> in function signatures 3300 3301 * inst/include/Rcpp/vector/Matrix.h: Use showpoint in operator<<() 3302 33032015-11-07 Dirk Eddelbuettel <edd@debian.org> 3304 3305 * inst/include/Rcpp/vector/Matrix.h: Beginnings of a Matrix transpose 3306 33072015-11-06 Kevin Ushey <kevinushey@gmailcom> 3308 3309 * inst/include/Rcpp/vector/Subsetter.h: Add sugar math operators 3310 * inst/unitTests/runit.subset.R: Unit tests 3311 * inst/unitTests/cpp/Subset.cpp: Unit tests 3312 * inst/NEWS.Rd: NEWS entry 3313 33142015-11-01 Qiang Kou <qkou@umail.iu.edu> 3315 3316 * inst/include/Rcpp/vector/MatrixColumn.h: Fix overflow 3317 33182015-11-01 Dirk Eddelbuettel <edd@debian.org> 3319 3320 * DESCRIPTION: Roll Version: to 0.12.1.4 3321 33222015-10-30 Nathan Russell <russell.nr2012@gmail.com> 3323 3324 * inst/include/Rcpp/sugar/functions/cummax.h: New sugar function 3325 * inst/include/Rcpp/sugar/functions/cummin.h: New sugar function 3326 * inst/include/Rcpp/sugar/functions/cumprod.h: New sugar function 3327 * inst/unitTests/cpp/sugar.cpp: Unit test support for new functions 3328 * inst/unitTests/runit.sugar.R: Ditto 3329 33302015-10-08 Tianqi Chen <tianqi.tchen@gmail.com> 3331 3332 * inst/include/Rcpp/api/meat/is.h: Enhance the check for Rcpp Module 3333 objects (PR #381 fixing #380) 3334 33352015-10-01 JJ Allaire <jj@rstudio.org> 3336 3337 * src/attributes.cpp: Enable export of C++ interface for functions that 3338 return void 3339 33402015-09-28 Dirk Eddelbuettel <edd@debian.org> 3341 3342 * inst/NEWS.Rd: GitHub pull requests and issues are now linked 3343 3344 * src/barrier.cpp: Use SET_STRING_ELT() on LHS (with thanks to Luke) 3345 33462015-09-21 Dirk Eddelbuettel <edd@debian.org> 3347 3348 * inst/include/Rcpp/String.h: Before assigning ensure we received 3349 exactly one string argument 3350 33512015-09-10 Dirk Eddelbuettel <edd@debian.org> 3352 3353 * DESCRIPTION: Release 0.12.1 3354 * inst/NEWS.Rd: Release 0.12.1 3355 * vignettes/Rcpp.bib: Release 0.12.1 3356 * inst/include/Rcpp/config.h: Release 0.12.1 3357 3358 * debian/*: Changes for Debian release of 0.12.1 3359 33602015-09-09 Dirk Eddelbuettel <edd@debian.org> 3361 3362 * vignettes/Rcpp-attributes.Rnw: Less harsh grey border around code 3363 * vignettes/Rcpp-*.Rnw: Ditto 3364 3365 * inst/include/Rcpp/String.h: More comparison operators 3366 33672015-09-08 Daniel C. Dillon <dcdillon@gmail.com> 3368 3369 * inst/include/Rcpp/vector/string_proxy.h: More comparison operators 3370 * inst/include/Rcpp/vector/const_string_proxy.h: More comparison operators 3371 33722015-09-08 Florian Plaza Onate <florian.plaza@jouy.inra.fr> 3373 3374 * inst/include/Rcpp/Dimension.h: Correct creation and access of large 3375 matrices 3376 * inst/include/Rcpp/vector/Matrix.h: Ditto 3377 33782015-09-07 Dirk Eddelbuettel <edd@debian.org> 3379 3380 * inst/include/Rcpp/Nullable.h: New class for objects which may be NULL 3381 * inst/unitTests/cpp/Vector.cpp: Unit tests for Nullable 3382 * inst/unitTests/runit.Vector.R: Ditto 3383 33842015-09-06 Daniel C. Dillon <dcdillon@gmail.com> 3385 3386 * inst/include/Rcpp/String.h: Make strings and string_proxies comparable 3387 * inst/unitTests/cpp/String.cpp: Unit tests for above 3388 * inst/unitTests/runit.String.R: Ditto 3389 33902015-09-05 Daniel C. Dillon <dcdillon@gmail.com> 3391 3392 * inst/include/Rcpp/vector/Matrix.h: Matrix now has appropriate operator<< 3393 * inst/include/Rcpp/vector/Vector.h: Vector now has appropriate operator<< 3394 * inst/unitTests/cpp/Vector.cpp: Unit tests for above 3395 33962015-09-01 Florian Plaza Onate <florian.plaza@jouy.inra.fr> 3397 3398 * inst/include/Rcpp/vector/Subsetter.h: Allow logical subsets to be 3399 assigned to a vector of size 1 3400 (pull request #349, discussed in issue #345) 3401 * inst/unitTests/cpp/Subset.cpp: Add unit test for above 3402 * inst/unitTests/runit.subset.R: Ditto 3403 34042015-08-31 Dirk Eddelbuettel <edd@debian.org> 3405 3406 * DESCRIPTION (Version, Date): Roll Version and Date 3407 34082015-08-30 Dirk Eddelbuettel <edd@debian.org> 3409 3410 * vignettes/Rcpp.bib: Updated RcppGSL entry 3411 34122015-08-29 Dirk Eddelbuettel <edd@debian.org> 3413 3414 * vignettes/Rcpp.bib: Add RcppZiggurat entry 3415 3416 * inst/include/Rcpp/utils/tinyformat.h: Updated to current upstream 3417 version keeping our local modifications / adaptations (PR #357) 3418 34192015-08-29 Qiang Kou <qkou@umail.iu.edu> 3420 3421 * inst/include/Rcpp/vector/Subsetter.h: Enable logical subsetting on 3422 both LHS and RHS, eg 'a[b > 3] = b[b > 3]' (pull request #352 addressing 3423 issue #345) 3424 * inst/unitTests/cpp/Subset.cpp: Ditto 3425 * inst/unitTests/runit.subset.R: Unit tests for above 3426 34272015-08-26 Dirk Eddelbuettel <edd@debian.org> 3428 3429 * inst/unitTests/testRcppClass/src/rcpp_module.cpp: Renamed Module 3430 'World' to 'RcppClassWorld' to avoid multiple modules with same name 3431 (pull request #351, fixed issue #350) 3432 3433 * inst/unitTests/testRcppClass/man/Rcpp_class_examples.Rd: Ditto 3434 * inst/unitTests/testRcppClass/R/load.R: Ditto 3435 * inst/unitTests/testRcppClass/NAMESPACE: Ditto 3436 * inst/unitTests/runit.Module.client.package.R: Re-enable test 3437 3438 * inst/unitTests/testRcppModule/src/rcpp_module.cpp: Renamed Module 3439 'World' to 'RcppModuleWorld' to avoid multiple modules with same name 3440 3441 * inst/unitTests/cpp/modref.cpp: Rename 'World' to 'ModRefWorld' 3442 * inst/unitTests/runit.modref.R (test.modRef): Ditto 3443 3444 * inst/unitTests/cpp/Module.cpp: Rename 'World' to 'ModuleWorld' 3445 * inst/unitTests/runit.Module.R (test.Module): Ditto 3446 34472015-08-25 Kurt Hornik <Kurt.Hornik@wu.ac.at> 3448 3449 * R/loadModule.R: For now=TRUE, always set .botched to FALSE which 3450 corresponds to the case of the methods package being in the search path 3451 * inst/include/Rcpp/Reference.h: Call call with the internal Namespace 3452 34532015-08-24 Dirk Eddelbuettel <edd@debian.org> 3454 3455 * vignettes/Rcpp.bib: Updated R / R Core references 3456 34572015-08-23 Romain Francois <romain@r-enthusiasts.com> 3458 3459 * inst/include/Rcpp/Benchmark/Timer.h: Silence 'g++ -pedantic' by 3460 replaceing one R_xlen_t by size_t (pull request #348) 3461 34622015-08-19 Florian Plaza Onate <florian.plaza@jouy.inra.fr> 3463 * inst/include/Rcpp/vector/Vector.h: Add 'at' methods which implement 3464 accessors with bounds cheking (pull request #342, fixes issue #341) 3465 * inst/include/Rcpp/vector/Matrix.h: Ditto 3466 * inst/unitTests/cpp/Vector.cpp: Add unit tests for at acessors 3467 * inst/unitTests/cpp/Matrix.cpp: Ditto 3468 * inst/unitTests/runit.Vector.R: Ditto 3469 * inst/unitTests/runit.Matrix.R: Ditto 3470 34712015-08-18 Dirk Eddelbuettel <edd@debian.org> 3472 3473 * inst/unitTests/runit.Module.client.package.R: Disabled for bad 3474 interaction of Rcpp Modules and R 3.2.2 3475 34762015-08-15 Florian Plaza Onate <florian.plaza@jouy.inra.fr> 3477 3478 * inst/include/Rcpp/vector/converter.h: Correct conversion from const 3479 char argument (pull request #344, fixes issue #343) 3480 34812015-08-14 Florian Plaza Onate <florian.plaza@jouy.inra.fr> 3482 3483 * inst/include/Rcpp/vector/DimNameProxy.h: Add assignment operator, 3484 refactor code, update error message formatting (pull request #339) 3485 34862015-08-05 Kevin Ushey <kevinushey@gmail.com> 3487 3488 * src/api.cpp: use `_WIN32` instead of `WIN32` 3489 34902015-08-02 Dirk Eddelbuettel <edd@debian.org> 3491 3492 * R/Attributes.R (sourceCpp): In no-rebuild-needed case, also set a 3493 default directory restoration via on.exit() (pull request #335, 3494 addressing issue #309) 3495 34962015-07-24 Dirk Eddelbuettel <edd@debian.org> 3497 3498 * DESCRIPTION: Release 0.12.0 3499 * inst/NEWS.Rd: Release 0.12.0 3500 * vignettes/Rcpp.bib: Release 0.12.0 3501 * inst/include/Rcpp/config.h: Release 0.12.0 3502 3503 * debian/*: Changes for Debian release of 0.12.0 3504 35052015-07-23 Dirk Eddelbuettel <edd@debian.org> 3506 3507 * inst/include/Rcpp/Symbol.h: Use Rf_installChar(x) instead of 3508 Rf_install(CHAR(X)) if R 3.2.0 or later is used 3509 35102015-07-07 Qiang Kou <qkou@umaikl.iu.edu> 3511 3512 * src/include/Rcpp/String.h: Ensure proper initialization of String 3513 objects from two constructors 3514 * inst/unitTests/cpp/String.cpp: New unit test 3515 * inst/unitTests/runit.String.R: Ditto 3516 35172015-07-21 Kevin Ushey <kevinushey@gmail.com> 3518 3519 * inst/include/Rcpp/api/meat/Rcpp_eval.h: don't use 'CDDDR' 3520 35212015-07-20 Dirk Eddelbuettel <edd@debian.org> 3522 3523 * DESCRIPTION: Rolled minor Date and Version 3524 3525 * R/Attributes.R: Use explicit 'utils::assignInMyNamespace' 3526 3527 * R/Rcpp.package.skeleton.R: Use explicit 'utils::package.skeleton' 3528 35292015-07-17 JJ Allaire <jj@rstudio.org> 3530 3531 * Rcpp.Rproj: don't use devtools mode in RStudio (enables the 3532 Test Package command to invoke the RUnit based test-suite) 3533 * src/attributes.cpp: Correctly handle signature termination 3534 characters ('{' or ';') contained in quotes 3535 35362015-07-16 Kevin Ushey <kevinushey@gmail.com> 3537 3538 * inst/include/Rcpp/api/meat/Rcpp_eval.h: Don't use 'R_ToplevelExec'; 3539 ensure Rcpp_eval respects previously established handlers. Capture 3540 errors + interrupts with R-level 'tryCatch'. 3541 * inst/NEWS.Rd: Add news entry 3542 35432015-07-14 JJ Allaire <jj@rstudio.org> 3544 3545 * src/attributes.cpp: fix crash on second call to sourceCpp 3546 35472015-07-07 Qiang Kou <qkou@umaikl.iu.edu> 3548 3549 * src/include/Rcpp/String.h: Use Rcpp_PreserveObject and 3550 Rcpp_ReplaceObject to protect underlying SEXP inside String objects 3551 35522015-07-07 Matt P. Dziubinski <matdzb@gmail.com> 3553 3554 * inst/include/Rcpp/sugar/functions/var.h: Variance -- changed from 3555 the unstable formula back to the stable (two-pass) formula, fixed 3556 support for complex numbers (formula correction). 3557 * inst/unitTests/runit.sugar.var.R: Added tests for complex variance 3558 computation, applied simple code refactoring. 3559 35602015-07-04 Dirk Eddelbuettel <edd@debian.org> 3561 3562 * vignettes/Rcpp.bib: Updated reference to several CRAN packages 3563 35642015-07-02 Kevin Ushey <kevinushey@gmail.com> 3565 3566 * .clang_format: Added 3567 35682015-06-25 Kevin Ushey <kevinushey@gmail.com> 3569 3570 * inst/include/Rcpp/api/meat/Rcpp_eval.h: reset error after Rcpp_eval 3571 * inst/unitTests/cpp/Function.cpp: unit tests 3572 * inst/unitTests/runit.Function.R: unit tests 3573 * inst/include/Rcpp/Function.h: catch empty error messages 3574 * inst/include/Rcpp/api/meat/Rcpp_eval.h: protect call 3575 35762015-06-24 Qiang Kou <qkou@umaikl.iu.edu> 3577 3578 * inst/include/Rcpp/String.h: Support encodings 3579 * src/String.cpp: Ditto 3580 * inst/unitTests/runit.String.R: Add unit tests 3581 35822015-06-18 Dirk Eddelbuettel <edd@debian.org> 3583 3584 * R/Attributes.R (evalCpp): Add support for plugings argument 3585 * man/evalCpp.Rd: Document argument 3586 35872015-06-07 JJ Allaire <jj@rstudio.org> 3588 3589 * src/attributes.cpp: Don't load sourceCpp dynamic library if it's 3590 already been loaded 3591 35922015-06-05 Dirk Eddelbuettel <edd@debian.org> 3593 3594 * R/Rcpp.package.skeleton.R (Rcpp.package.skeleton): Remove 3595 `character.only=TRUE` from `requireNamespace()` as it happens to flip 3596 the boolean value too 3597 35982015-06-03 Qiang Kou <qkou@umaikl.iu.edu> 3599 3600 * inst/include/Rcpp/*: Finish changing R_len_t to R_xlen_t 3601 * src/*: Ditto 3602 36032014-05-27 Romain Francois <romain@r-enthusiasts.com> 3604 3605 * inst/include/Rcpp/DataFrame.h: Safe DataFram constructor 3606 36072015-05-16 Qiang Kou <qkou@umaikl.iu.edu> 3608 3609 * inst/include/Rcpp/*: Begin changing R_len_t to R_xlen_t 3610 * src/*: Ditto 3611 36122015-05-17 Matt P. Dziubinski <matdzb@gmail.com> 3613 3614 * inst/include/Rcpp/platform/compiler.h: Added RCPP_USING_CXX0X_OR_LATER 3615 * inst/include/Rcpp/sugar/functions/sapply.h: Updated to support lambda functions 3616 36172015-05-01 Kevin Ushey <kevinushey@gmail.com> 3618 3619 * vignettes/Rcpp-FAQ.Rnw: Notes on installing gfortran 3620 36212015-05-01 Dirk Eddelbuettel <edd@debian.org> 3622 3623 * DESCRIPTION: Release 0.11.6 3624 * inst/NEWS.Rd: Release 0.11.6 3625 * inst/include/Rcpp/config.h: Release 0.11.6 3626 3627 * debian/*: Changes for Debian release of 0.11.6 3628 36292015-04-27 JJ Allaire <jj@rstudio.org> 3630 3631 * src/Module.cpp: Revert parts of PR291 pertaining to Modules and {BEGIN/END}_RCPP 3632 * inst/include/Rcpp/api/meat/module/Module.h: Ditto 3633 * inst/include/Rcpp/InternalFunctionWithStdFunction.h: Ditto 3634 * inst/include/Rcpp/module/Module_generated_CppFunction.h: Ditto 3635 * inst/include/Rcpp/module/class.h: Ditto 3636 36372014-04-25 Romain Francois <romain@r-enthusiasts.com> 3638 3639 * inst/include/Rcpp/vector/Vector.h: update the parameterization of Vector cache 3640 * inst/include/Rcpp/vector/traits.h: ... 3641 * inst/include/Rcpp/vector/00_forward_proxy.h: ... 3642 * inst/unitTests/runit.Vector.R: test for above changes 3643 * inst/unitTests/cpp/Vector.cpp: ... 3644 36452015-04-22 Kevin Ushey <kevinushey@gmail.com> 3646 3647 * inst/include/Rcpp/utils/tinyformat.h: don't use C++11 features 3648 36492015-04-14 Dirk Eddelbuettel <edd@debian.org> 3650 3651 * .travis.yml (sudo): Adding 'sudo: required' to force older Travis backend 3652 36532014-04-14 Romain Francois <romain@r-enthusiasts.com> 3654 3655 * inst/include/Rcpp/api/meat/is.h: added is__simple<Rcomplex> 3656 * inst/include/Rcpp/config.h: not using floating point arithmetic in preprocessor 3657 36582015-04-12 Dirk Eddelbuettel <edd@debian.org> 3659 3660 * vignettes/Rcpp-FAQ.Rnw: Also load Rcpp to make cppFunction visible 3661 36622014-04-11 Romain Francois <romain@r-enthusiasts.com> 3663 3664 * inst/include/Rcpp/macros/macros.h: Reworked BEGIN_RCPP and END_RCPP 3665 * inst/include/Rcpp/*: Removed BEGIN_RCPP and END_RCPP from a few files 3666 * src/Module.cpp: But added here 3667 36682015-04-19 Jonathan Marshall <jmarshall@xbmc.org> 3669 3670 * inst/include/Rcpp/vector/string_proxy.h: Adds empty() constructor 3671 * inst/include/Rcpp/vector/const_string_proxy.h: Ditto 3672 36732015-03-18 Dmitrii Meleshko <Dmitrii@MeleshkoDima.none> 3674 3675 * inst/include/Rcpp/vector/Matrix.h: Added default ctor for 0x0 matrix 3676 36772015-03-18 JJ Allaire <jj@rstudio.org> 3678 3679 * R/Attributes.R: Revert to use of gcc 4.6.3 with Rtools 3.3 3680 36812015-03-16 JJ Allaire <jj@rstudio.org> 3682 3683 * src/attributes.cpp: Fix failing local include test (normalize path of 3684 base source file so comparisons work on Windows). 3685 36862015-03-15 Dirk Eddelbuettel <edd@debian.org> 3687 3688 * R/Attributes.R (.rtoolsPath): Replace trimws() use with a local variant 3689 36902015-03-11 JJ Allaire <jj@rstudio.org> 3691 3692 * R/Attributes.R: Rtools 3.3 is now located and used for compilation under R 3.2. 3693 36942015-03-11 Kevin Ushey <kevinushey@gmail.com> 3695 3696 * inst/include/RcppCommon.h: Move headers into major/minor protection 3697 * inst/include/Rcpp/r/headers.h: New file 3698 36992015-03-04 Dirk Eddelbuettel <edd@debian.org> 3700 3701 * DESCRIPTION: Release 0.11.5 3702 * inst/NEWS.Rd: Release 0.11.5 3703 * inst/include/Rcpp/config.h: Release 0.11.5 3704 3705 * debian/*: Changes for Debian release of 0.11.5 3706 37072015-03-03 Dirk Eddelbuettel <edd@debian.org> 3708 3709 * inst/include/Rcpp/routines.h: Additional application of the 3710 'attribute_hidden' macro for a number of routines in Rcpp::internal 3711 37122015-03-02 Dirk Eddelbuettel <edd@debian.org> 3713 3714 * inst/include/Rcpp/print.h (Rcpp): New inline function Rcpp::print() 3715 * inst/include/RcppCommon.h: Include new header 3716 3717 * src/api.cpp: Commented-out print() in global namespace 3718 * src/Rcpp_init.cpp: Commented-out registration of print() 3719 * inst/include/Rcpp/routines.h: Commented-out initialization 3720 37212015-03-01 Dirk Eddelbuettel <edd@debian.org> 3722 3723 * src/api.cpp: New function print() as a wrapper around Rf_PrintValue() 3724 * src/Rcpp_init.cpp: Corresponding registration for print() 3725 * inst/include/Rcpp/routines.h: Corresponding initialization 3726 37272015-02-25 Dirk Eddelbuettel <edd@debian.org> 3728 3729 * inst/include/Rcpp/routines.h: Use the 'attribute_hidden' define from 3730 the R header R_ext/Visibility.h to protect symbols (cf #264) 3731 3732 * inst/include/RcppCommon.h: Also include R_ext/Visibility.h 3733 37342015-02-24 JJ Allaire <jj@rstudio.org> 3735 3736 * src/attributes.cpp: Guard against includes referencing themselves 3737 (and thus creating an endless loop of include processing); Process 3738 attributes in included files; Automatically build implementation files 3739 (*.cc; *.cpp) corresponding to local header files if they exist. 3740 37412015-02-20 Lionel Henry <lionel.hry@gmail.com> 3742 3743 * inst/include/Rcpp/Function.h New Function constructors that will 3744 perform function-lookup in an environment or in a namespace. 3745 37462015-02-19 Dirk Eddelbuettel <edd@debian.org> 3747 3748 * DESCRIPTION: Bump Version: and Date: 3749 37502015-02-19 Lionel Henry <lionel.hry@gmail.com> 3751 3752 * inst/include/Rcpp/Environment.h Allow new_env() to create an 3753 environment with a specified parent 3754 37552015-02-19 JJ Allaire <jj@rstudio.org> 3756 3757 * vignettes/Rcpp-attributes.Rnw: Add note on using inline 3758 keyword from shared header files. 3759 37602015-02-17 JJ Allaire <jj@rstudio.org> 3761 3762 * vignettes/Rcpp-attributes.Rnw: Update attributes vignette 3763 with docs on new features. 3764 37652015-02-14 JJ Allaire <jj@rstudio.org> 3766 3767 * src/attributes.cpp: Allow includes of local files 3768 (e.g. #include "foo.hpp") in sourceCpp 3769 * Rcpp.Rproj: Specify Sweave as Rnw handler for RStudio 3770 * vignettes/*.Rnw: Add driver magic comment and turn off 3771 Sweave concordance. 3772 * vignettes/.gitignore: Ignore artifacts of PDF preview 3773 37742015-02-13 Dirk Eddelbuettel <edd@debian.org> 3775 3776 * .travis.yml (install): Switch to using ppa:edd/misc to install all the 3777 R packages needed for the Travis CI run as r-cran-* binary packages 3778 37792015-02-13 JJ Allaire <jj@rstudio.org> 3780 3781 * src/attributes.cpp: Allow 'R' to come immediately after '***' 3782 for defining embedded R code chunks in sourceCpp 3783 37842015-02-12 JJ Allaire <jj@rstudio.org> 3785 3786 * DESCRIPTION: bump version 3787 * src/attributes.cpp: Add rng parameter to Rcpp::export to 3788 prevent inclusion of RNGScope in generated code; recognize 3789 Rtools 3.2 3790 37912015-02-06 Kevin Ushey <kevinushey@gmail.com> 3792 3793 * inst/include/Rcpp/vector/Subsetter.h: compare CHARSXP pointers 3794 rather than string contents in subsetter 3795 37962015-02-03 JJ Allaire <jj@rstudio.org> 3797 3798 * src/attributes.cpp: Simplify generated attributes code for 3799 RNGScope (use RObject and it's destructor rather than SEXP 3800 protect/unprotect). 3801 * vignettes/Rcpp-package.Rnw: Update docs on generated code. 3802 38032015-02-03 JJ Allaire <jj@rstudio.org> 3804 3805 * inst/include/Rcpp/exceptions.h: Add Rcpp::warning function as 3806 wrapper for Rf_warning 3807 38082014-02-03 JJ Allaire <jj@rstudio.org> 3809 3810 * inst/include/Rcpp/XPtr.h: Improvements to XPtr including new 3811 checked_get and release functions and improved behavior (throw 3812 an exception rather than crash) when a NULL external pointer is 3813 dereferenced. 3814 * inst/unitTests/runit.XPTr.R: tests for XPtr improvements. 3815 * inst/unitTests/cpp/XPtr.cpp: tests for XPtr improvements. 3816 38172014-02-03 JJ Allaire <jj@rstudio.org> 3818 3819 * R/Attributes.R: Include pkg_types.h file in RcppExports.cpp 3820 if it's present in inst/include or src 3821 * src/attributes.cpp: Include pkg_types.h file in generated 3822 C++ interface file if it's present in inst/include or src 3823 38242015-02-02 JJ Allaire <jj@rstudio.org> 3825 3826 * R/exceptions.R: Evaluate R code within an R_toplevelExec block 3827 * include/Rcpp/api/meat/Rcpp_eval.h: Evaluate R code within an 3828 R_toplevelExec block 3829 38302015-01-25 Kevin Ushey <kevinushey@gmail.com> 3831 3832 * inst/include/Rcpp/utils/tinyformat.h: define an error handler for 3833 tinyformat (using ::Rcpp::stop) to not spill assert 3834 38352015-01-20 Dirk Eddelbuettel <edd@debian.org> 3836 3837 * DESCRIPTION: Release 0.11.4 3838 * inst/NEWS.Rd: Release 0.11.4 3839 * inst/include/Rcpp/config.h: Release 0.11.4 3840 3841 * debian/*: Changes for Debian release of 0.11.4 3842 38432015-01-19 Kevin Ushey <kevinushey@gmail.com> 3844 3845 * inst/include/Rcpp/r/headers.h: move R headers inclusion to own file; 3846 move sysmacros.h workarounds to here 3847 * inst/include/RcppCommon.h: idem 3848 * inst/include/Rcpp/platform/sysmacros.h: idem 3849 38502015-01-19 Dirk Eddelbuettel <edd@debian.org> 3851 3852 * vignettes/Rcpp.bib: Updated to current package versions 3853 3854 * vignettes/getCurrentVersionsOfCitedPackages.R: New helper function 3855 * .Rbuildignore: Added vignettes/getCurrentVersionsOfCitedPackages.R 3856 3857 * R/unit.tests.R (test): Use requireNamespace() instead of require() 3858 * R/unit.tests.R (test): Ditto 3859 38602015-01-19 Wush Wu <wush978@gmail.com> 3861 3862 * inst/include/Rcpp/sugar/functions/var.h: Support four vector types 3863 * inst/unitTests/runit.sugar.var.R: Added corresponding tests 3864 38652015-01-16 Kevin Ushey <kevinushey@gmail.com> 3866 3867 * inst/include/Rcpp/String.h: fix push_front() 3868 * inst/unitTests/runit.String.R: test 3869 * inst/unitTests/cpp/String.cpp: test 3870 38712015-01-15 Kevin Ushey <kevinushey@gmail.com> 3872 3873 * inst/include/Rcpp/platform/sysmacros.h: remove leaked macros 3874 'major', 'minor', 'makedev' from <sys/sysmacros.h> 3875 * inst/include/RcppCommon.h: ditto 3876 * inst/unitTests/cpp/Vector.cpp: simple test 3877 38782015-01-08 Dirk Eddelbuettel <edd@debian.org> 3879 3880 * inst/examples/OpenMP/GNUmakefile: Renamed from Makefile because it 3881 contains GNU make extentions (which we happen to like) 3882 * inst/examples/ConvolveBenchmarks: Ditto 3883 38842015-01-02 Kevin Ushey <kevinushey@gmail.com> 3885 3886 * inst/include/Rcpp/sugar/functions/setdiff.h: fix for setequals 3887 * inst/unitTests/cpp/sugar.cpp: unit tests 3888 * inst/unitTests/runit.sugar.R: unit tests 3889 38902015-01-01 Dirk Eddelbuettel <edd@debian.org> 3891 3892 * inst/include/Rcpp/sugar/functions/mean.h: Return type is double, not 3893 storage type; also added logical vector case; also added integer case 3894 to correctly deal with NA values 3895 3896 * inst/unitTests/runit.sugar.R: Added unit tests for new sugar mean() 3897 * inst/unitTests/cpp/sugar.cpp: C++ side of new unit tests 3898 38992014-12-31 Dirk Eddelbuettel <edd@debian.org> 3900 3901 * inst/include/Rcpp/sugar/functions/mean.h: Support int and complex 3902 39032014-12-30 Dirk Eddelbuettel <edd@debian.org> 3904 3905 * inst/include/Rcpp/sugar/functions/mean.h: Use two-pass method 3906 39072014-12-29 Kevin Ushey <kevinushey@gmail.com> 3908 3909 * inst/include/Rcpp/macros/macros.h: reformat for legibility 3910 39112014-12-11 Yixuan Qiu <yixuan.qiu@cos.name> 3912 3913 * inst/include/Rcpp/internal/r_vector.h: Internal functions to 3914 help detect unqualified vector types for sorting, with the help 3915 of Romain Francois 3916 * inst/include/Rcpp/vector/Vector.h: Disallow sorting on List, 3917 RawVector and ExpressionVector, from the discussion with 3918 Dirk Eddelbuettel and Kevin Ushey 3919 39202014-11-30 Romain Francois <romain@r-enthusiasts.com> 3921 3922 * inst/include/Rcpp/vector/proxy.h: Const iteration correction 3923 * inst/include/Rcpp/sugar: Ditto in three files 3924 39252014-11-25 Dirk Eddelbuettel <edd@debian.org> 3926 3927 * inst/include/Rcpp/grow.h: Apply additional Shield<> use around tail 3928 object as suggested by Martin Morgan on the rcpp-devel list 3929 39302014-11-24 Dirk Eddelbuettel <edd@debian.org> 3931 3932 * inst/include/Rcpp/config.h: Release version is still 0.11.3 3933 39342014-11-23 Dirk Eddelbuettel <edd@debian.org> 3935 3936 * inst/include/Rcpp/config.h: New macro RcppDevVersion to account for 3937 four-part development versions such as the current 0.11.3.2 3938 * DESCRIPTION: Version incremented to 0.11.3.2 3939 39402014-11-23 Romain Francois <romain@r-enthusiasts.com> 3941 3942 * inst/include/Rcpp/exceptions.h: Richer formatting for Rcpp::stop 3943 * inst/include/Rcpp/utils/tinyformat.h: Backend for formattinh 3944 * inst/unitTests/runit.misc.R: Added new unit test 3945 * inst/unitTests/cpp/misc.cpp: C++ backend for test 3946 39472014-11-19 Dirk Eddelbuettel <edd@debian.org> 3948 3949 * .travis.yml: Temporary stop-gap measure of setting CRAN to something 3950 other than the RStudio CDN which currently has DNS issue 3951 3952 * inst/include/Rcpp/internal/NAComparator.h: Support sorting of complex 3953 numbers, thanks to patch by Yixuan Qiu (in PR #202) 3954 39552014-11-08 Kevin Ushey <kevinushey@gmail.com> 3956 3957 * R/Attributes.R: Fix regular expression used to find source files for 3958 compileAttributes 3959 39602014-11-02 Dirk Eddelbuettel <edd@debian.org> 3961 3962 * inst/unitTests/RcppTestA: Rename to inst/unitTests/testRcppPackage 3963 * inst/unitTests/testRcppPackage: Updated throughout 3964 3965 * inst/include/Rcpp/Rmath.h: As suggested by Kevin, test for R_VERSION 3966 via #define to conditon on R >= 3.1.2 -- this does not require a hard 3967 constraint in DESCRIPTION yet on newer R will get R::[dpq]nbinom_mu() 3968 39692014-11-01 Dirk Eddelbuettel <edd@debian.org> 3970 3971 * src/api.cpp: Do not include execinfo.h on AIX, per r-devel discussion 3972 with Mike Beddo, and http://sf.net/p/predef/wiki/OperatingSystems/ 3973 39742014-10-29 Dirk Eddelbuettel <edd@debian.org> 3975 3976 * inst/include/Rcpp/Rmath.h: Comment out R::[dpqr]nbinom_mu functions as 3977 not declared by R with Rf_* name-mapping prefixes 3978 39792014-10-17 Chenliang Xu <luckyrand@gmail.com> 3980 3981 * R/Attributes: Enable scanning of header files 3982 39832014-10-03 JJ Allaire <jj@rstudio.org> 3984 3985 * R/Attributes.R: Only look for plugins in the package's namespace 3986 (rather than entire search path) 3987 39882014-10-01 Kevin Ushey <kevinushey@gmail.com> 3989 3990 * inst/include/Rcpp/vector/ListOf.h ListOf<T> inherits relevant proxies 3991 * inst/unitTests/cpp/ListOf.cpp: Idem 3992 * inst/unitTests/runit.ListOf.R: Idem 3993 39942014-09-29 Dirk Eddelbuettel <edd@debian.org> 3995 3996 * debian/*: Changes for Debian release of 0.11.3 3997 3998 * inst/NEWS.Rd: Removed a double entry 3999 40002014-09-27 Dirk Eddelbuettel <edd@debian.org> 4001 4002 * DESCRIPTION: Release 0.11.3 4003 * inst/NEWS.Rd: Release 0.11.3 4004 * inst/include/Rcpp/config.h: Release 0.11.3 4005 4006 * ChangeLog: Added a few more entries based on commit log 4007 * inst/NEWS.Rd: Idem 4008 40092014-09-26 JJ Allaire <jj@rstudio.org> 4010 4011 * DESCRIPTION: Bump version to enable checking for dryRun. 4012 40132014-09-23 JJ Allaire <jj@rstudio.org> 4014 4015 * R/Attributes.R: Add dryRun parameter to sourceCpp. 4016 40172014-09-21 Dirk Eddelbuettel <edd@debian.org> 4018 4019 * DESCRIPTION: Shorten Description: to single paragraph 4020 40212014-09-21 Kevin Ushey <kevinushey@gmail.com> 4022 4023 * inst/unitTests/runit.environments.R: Use 'checkIdentical' as it's a 4024 more appropriate expression of intent 4025 40262014-09-15 Dirk Eddelbuettel <edd@debian.org> 4027 4028 * R/Rcpp.package.skeleton.R: Use more neutral default name, email settings 4029 * man/Rcpp.package.skeleton.Rd: Document these 4030 40312014-09-14 Dirk Eddelbuettel <edd@debian.org> 4032 4033 * inst/unitTests/testRcppClass/man/Rcpp_class_examples.Rd: Similar 4034 update to yesterday's update for testRcppModule 4035 40362014-09-14 Kevin Ushey <kevinushey@gmail.com> 4037 4038 * inst/include/Rcpp/vector/Vector.h: Alternate strategy using SFINAE 4039 * inst/include/Rcpp/traits/traits.h: Idem 4040 * inst/include/Rcpp/traits/enable_if.h: Idem 4041 40422014-09-13 Kevin Ushey <kevinushey@gmail.com> 4043 4044 * inst/include/Rcpp/vector/Vector.h: Allow logical vectors to be created 4045 from bools 4046 * inst/unitTests/runit.Vector.R: Idem 4047 * inst/unitTests/cpp/Vector.cpp: Idem 4048 40492014-09-13 Dirk Eddelbuettel <edd@debian.org> 4050 4051 * inst/skeleton/Rcpp_modules_examples.Rd: Added to document modules examples 4052 4053 * inst/unitTests/testRcppModule/NAMESPACE: Updated for current Modules use 4054 * inst/unitTests/testRcppModule/R/zzz.R: Updated for current Modules use 4055 * inst/unitTests/testRcppModule/man/Rcpp_modules_examples.Rd: Also added here 4056 40572014-09-10 Dirk Eddelbuettel <edd@debian.org> 4058 4059 * R/R/Rcpp.package.skeleton.R: If available, pkgKitten used for skeleton pkg 4060 40612014-09-09 Dirk Eddelbuettel <edd@debian.org> 4062 4063 * R/unit.tests.R: Fully qualify three functions from RUnit via :: 4064 40652014-09-03 Kevin Ushey <kevinushey@gmail.com> 4066 4067 * inst/include/Rcpp/Environment.h: make new_env a free function 4068 40692014-09-02 Kevin Ushey <kevinushey@gmail.com> 4070 4071 * inst/include/Rcpp/api/meat/proxy.h: Finish meat reintroduction + tests 4072 * inst/unitTests/runit.wrap.R: Idem 4073 * inst/unitTests/cpp/wrap.cpp: Idem 4074 * inst/include/Rcpp/proxy/FieldProxy.h: Idem 4075 40762014-09-02 Dirk Eddelbuettel <edd@debian.org> 4077 4078 * inst/include/Rcpp/vector/Vector.h: Reversing change from Aug 30: the 4079 Vector ctor from char* and string are used for CharacterVector() 4080 40812014-09-02 JJ Allaire <jj@rstudio.org> 4082 4083 * R/Attributes.R: Include LinkingTo in DESCRIPTION fields scanned 4084 to confirm that C++ dependencies are referenced by package. 4085 40862014-09-01 Yixuan Qiu <yixuan.qiu@cos.name> 4087 4088 * inst/include/Rcpp/vector/Vector.h: fix return value of range eraser 4089 40902014-09-01 Kevin Ushey <kevinushey@gmail.com> 4091 4092 * inst/include/Rcpp/vector/ListOf.h: `size()` member function should 4093 return `R_len_t` rather than `int` 4094 40952014-08-30 Kevin Ushey <kevinushey@gmail.com> 4096 4097 * inst/include/Rcpp/Environment.h: Add 'new_env' function 4098 40992014-08-30 Dirk Eddelbuettel <edd@debian.org> 4100 4101 * inst/include/Rcpp/vector/Vector.h: Mark two 'from string' ctors as 4102 deprecated following a suggestion by Yixuan Qiu [reversed on 2014-09-02] 4103 41042014-08-18 Dirk Eddelbuettel <edd@debian.org> 4105 4106 * vignettes/Rcpp-FAQ.Rnw: Added a new entry regarding licensing of 4107 packages stressing that any combined work linking to the GPL-ed R will 4108 also be under the terms of the GNU General Public License. 4109 41102014-08-13 Kevin Ushey <kevinushey@gmail.com> 4111 4112 * inst/include/Rcpp/api/meat/meat.h: Reintroduce meat 4113 * inst/include/Rcpp/api/meat/proxy.h: Idem 4114 * inst/include/Rcpp/proxy/AttributeProxy.h: Idem 4115 * inst/include/Rcpp/proxy/Binding.h: Idem 4116 * inst/include/Rcpp/proxy/NamesProxy.h: Idem 4117 * inst/include/Rcpp/proxy/SlotProxy.h: Idem 4118 * inst/include/Rcpp/proxy/TagProxy.h: Idem 4119 * inst/include/Rcpp/proxy/proxy.h: Idem 4120 41212014-08-08 Christian Authmann <authmanc@Mathematik.Uni-Marburg.de> 4122 4123 * inst/unitTests/cpp/InternalFunction.cpp: New unit test support 4124 * inst/unitTests/cpp/InternalFunctionCPP11.cpp: Idem 4125 * inst/unitTests/runit.InternalFunction.R: Idem 4126 * inst/unitTests/runit.InternalFunctionCPP11.R: Idem 4127 41282014-08-06 Christian Authmann <authmanc@Mathematik.Uni-Marburg.de> 4129 4130 * inst/include/Rcpp/InternalFunctionWithStdFunction.h: Extend the 4131 existing Rcpp::InternalFunction interface to work with std::function, 4132 conditional on a sufficient C++11 support by the compiler 4133 41342014-08-05 Dirk Eddelbuettel <edd@debian.org> 4135 4136 * inst/include/Rcpp/Date.h: Remove a const qualifier which triggers a 4137 warnings as 'type qualifiers ignored on function return type' 4138 41392014-08-03 Dirk Eddelbuettel <edd@debian.org> 4140 4141 * vignettes/Rcpp-FAQ.Rnw: Updated with respect to OS X installations 4142 requiring Fortran (to e.g. build against RcppArmadillo) 4143 41442014-07-29 Kevin Ushey <kevinushey@gmail.com> 4145 4146 * inst/include/Rcpp/vector/no_init.h: Add no_init for matrices 4147 * inst/include/Rcpp/vector/Matrix.h: Idem 4148 * inst/include/Rcpp/vector/Vector.h: Idem 4149 * inst/unitTests/runit.Matrix.R: Idem 4150 * inst/unitTests/cpp/Matrix.cpp: Idem 4151 41522014-07-29 Dirk Eddelbuettel <edd@debian.org> 4153 4154 * inst/include/Rcpp/vector/proxy.h: Removed operator bool() cast as 4155 discussed by Christian Authmann on rcpp-devel 4156 41572014-07-28 Dirk Eddelbuettel <edd@debian.org> 4158 4159 * inst/include/Rcpp/generated/InternalFunction__ctors.h: Updated from 4160 corrected creator script 4161 41622014-07-25 Romain Francois <romain@r-enthusiasts.com> 4163 4164 * inst/include/Rcpp/Benchmark/Timer.h: Added new static method 4165 get_timers() to return a vector of timers useful for multithreaded 4166 contexts; also removed two unused old member functions (cf #157) 4167 41682014-07-14 Kevin Ushey <kevinushey@gmail.com> 4169 4170 * inst/unitTests/runit.Matrix.R: DimNames Proxy 4171 * inst/unitTests/cpp/Matrix.cpp: Idem 4172 * inst/include/Rcpp/vector/Matrix.h: Idem 4173 * inst/include/Rcpp/vector/DimNameProxy.h: Idem 4174 41752014-07-12 Kevin Ushey <kevinushey@gmail.com> 4176 4177 * R/Attributes.R: Strip version in .parseLinkingTo 4178 41792014-07-12 Dirk Eddelbuettel <edd@debian.org> 4180 4181 * inst/include/Rcpp/generated/InternalFunction__ctors.h: Regenerated 4182 with tighter whitespace and updated header information from updated 4183 generator script in corresponding rcpp-scripts repo 4184 * inst/include/Rcpp/module/Module_generated_CppFunction.h: Idem 4185 * inst/include/Rcpp/module/Module_generated_CppMethod.h: Idem 4186 * inst/include/Rcpp/module/Module_generated_Pointer_CppMethod.h: Idem 4187 * inst/include/Rcpp/module/Module_generated_Pointer_method.h: Idem 4188 * inst/include/Rcpp/module/Module_generated_function.h: Idem 4189 * inst/include/Rcpp/module/Module_generated_get_signature.h: Idem 4190 * inst/include/Rcpp/module/Module_generated_method.h: Idem 4191 41922014-07-09 Kevin Ushey <kevinushey@gmail.com> 4193 4194 * inst/include/Rcpp/Language.h: OUT -> RESULT_TYPE 4195 * inst/include/Rcpp/generated/InternalFunction__ctors.h: Idem 4196 * inst/include/Rcpp/module/Module_generated_CppFunction.h: Idem 4197 * inst/include/Rcpp/module/Module_generated_CppMethod.h: Idem 4198 * inst/include/Rcpp/module/Module_generated_Pointer_CppMethod.h: Idem 4199 * inst/include/Rcpp/module/Module_generated_Pointer_method.h: Idem 4200 * inst/include/Rcpp/module/Module_generated_function.h: Idem 4201 * inst/include/Rcpp/module/Module_generated_get_signature.h: Idem 4202 * inst/include/Rcpp/module/Module_generated_method.h: Idem 4203 * inst/include/Rcpp/module/get_return_type.h: Idem 4204 * inst/include/Rcpp/sugar/block/SugarBlock_1.h: Idem 4205 * inst/include/Rcpp/sugar/block/SugarBlock_2.h: Idem 4206 * inst/include/Rcpp/sugar/block/SugarBlock_3.h: Idem 4207 * inst/include/Rcpp/sugar/block/SugarMath.h: Idem 4208 * inst/include/Rcpp/sugar/functions/complex.h: Idem 4209 42102014-07-08 Dirk Eddelbuettel <edd@debian.org> 4211 4212 * inst/include/Rcpp/InternalFunction.h: Add missing update(SEXP) method 4213 per GitHub Pull Request #152, with thanks to Omar Andres Zapata Mesa 4214 * inst/THANKS: Updated 4215 42162014-07-04 Dirk Eddelbuettel <edd@debian.org> 4217 4218 * vignettes/Rcpp-unitTests.Rnw: Commented-out copy of results to /tmp 4219 42202014-06-29 JJ Allaire <jj@rstudio.org> 4221 4222 * R/Attributes.R: fix setwd problem when sourceCpp used a 4223 relative path and included an R code chunk 4224 42252014-06-20 Dirk Eddelbuettel <edd@debian.org> 4226 4227 * include/Rcpp/sugar/functions/ifelse.h: Applied pull request #150 by 4228 Romain to have operator{} return the correct NA type 4229 42302014-06-11 Dirk Eddelbuettel <edd@debian.org> 4231 4232 * inst/include/Rcpp/macros/macros.h: No longer include 4233 macros/preprocessor_generated.h which was deprecated as of Rcpp 0.10.5 4234 * inst/include/Rcpp/macros/preprocessor_generated.h: Removed 4235 42362014-06-08 Dirk Eddelbuettel <edd@debian.org> 4237 4238 * cleanup: Do not remove 'build/Rcpp.pdf', thanks to hint by Kurt / CRAN 4239 42402014-06-06 Dirk Eddelbuettel <edd@debian.org> 4241 4242 * DESCRIPTION: Release 0.11.2 4243 * inst/NEWS.Rd: Release 0.11.2 4244 * inst/include/Rcpp/config.h: Release 0.11.2 4245 * debian/*: Similarly updated for new release to Debian 4246 4247 * tests/doRUnit.R: Additional check added for release version case 4248 42492014-06-05 JJ Allaire <jj@rstudio.org> 4250 4251 * R/Attributes.R: Use -std=c++0x for cpp11 plugin on Windows if R <= 3.0 4252 42532014-05-28 Kevin Ushey <kevinushey@gmail.com> 4254 4255 * inst/include/Rcpp/vector/vector_from_string.h: Protect result of 4256 Rf_mkString 4257 42582014-05-24 Dirk Eddelbuettel <edd@debian.org> 4259 4260 * .Rbuildignore: Add .dir-locals.el 4261 42622014-05-23 Dirk Eddelbuettel <edd@debian.org> 4263 4264 * R/Module.R (new_dummyObject): Remove erraneous quotes 4265 4266 * .dir-locals.el: Setting tab-width to 8 4267 42682014-05-18 Kevin Ushey <kevinushey@gmail.com> 4269 4270 * inst/include/Rcpp/vector/Vector.h: Safer casting to fix #146 4271 * inst/include/Rcpp/Environment.h: Idem 4272 * inst/include/Rcpp/api/meat/Environment.h: Idem 4273 * inst/include/Rcpp/vector/Vector.h: Idem 4274 4275 * .dir-locals.el: Added for project-local Emacs settings 4276 42772014-05-10 Dirk Eddelbuettel <edd@debian.org> 4278 4279 * R/Attributes.R (compileAttributes): Read Imports: as well 4280 42812014-05-07 Kevin Ushey <kevinushey@gmail.com> 4282 4283 * R/Attributes.R (.plugins[["cpp11"]]): Set USE_CXX1X to more 4284 reasonable non-empty value 4285 42862014-05-06 Kevin Ushey <kevinushey@gmail.com> 4287 4288 * R/Attributes.R (.plugins[["cpp11"]]): Set USE_CXX1X to non-empty 4289 value 4290 42912014-04-30 Dirk Eddelbuettel <edd@debian.org> 4292 4293 * R/Attributes.R: Add plugins for C++0x and C++1y 4294 42952014-04-30 JJ Allaire <jj@rstudio.org> 4296 4297 * R/Attributes.R: Use USE_CXX1X for cpp11 plugin when R >= 3.1 4298 42992014-04-02 Dirk Eddelbuettel <edd@debian.org> 4300 4301 * tests/doRUnit.R: Better RUnit error report with thanks to Murray 4302 43032014-03-18 JJ Allaire <jj@rstudio.org> 4304 4305 * man/cppFunction.Rd: Correct package header file example to use .h 4306 43072014-03-14 Dirk Eddelbuettel <edd@debian.org> 4308 4309 * inst/include/Rcpp/DataFrame.h: Add missing return in Impl method 4310 43112014-03-13 Dirk Eddelbuettel <edd@debian.org> 4312 4313 * DESCRIPTION: Release 0.11.1 4314 * inst/NEWS.Rd: Release 0.11.1 4315 * inst/include/Rcpp/config.h: Release 0.11.1 4316 * debian/*: Similarly updated for new release to Debian 4317 43182014-03-09 Kevin Ushey <kevinushey@gmail.com> 4319 4320 * inst/include/Rcpp/vector/const_string_proxy.h: Workaround for issue 4321 with constructing proxies from CHARSXPs 4322 43232014-03-08 Kevin Ushey <kevinushey@gmail.com> 4324 4325 * inst/include/Rcpp/proxy/proxy.h: Make sure proxies know about the 4326 const char* wrap shortcut 4327 43282014-03-08 Dirk Eddelbuettel <edd@debian.org> 4329 4330 * inst/include/Rcpp/proxy/Binding.h: Remove spurious ';' [g++ -pedantic] 4331 * inst/include/Rcpp/proxy/ProtectedProxy.h: Idem 4332 * inst/include/Rcpp/proxy/TagProxy.h: Idem 4333 * inst/include/Rcpp/proxy/AttributeProxy.h: Idem 4334 43352014-03-05 Kevin Ushey <kevinushey@gmail.com> 4336 4337 * inst/include/Rcpp/proxy/FieldProxy.h: bandaid for protection issue 4338 in operator= of FieldProxy 4339 * R/unit.tests.R: modify Rcpp:::test so we can run tests with 4340 gctorture(TRUE) 4341 43422014-03-03 Kevin Ushey <kevinushey@gmail.com> 4343 4344 * inst/include/Rcpp/proxy/SlotProxy.h: Add missing const_SlotProxy ctor 4345 definition 4346 43472014-02-24 Kevin Ushey <kevinushey@gmail.com> 4348 4349 * R/Rcpp.package.skeleton.R: make sure we add loadModule 4350 to NAMESPACE when module is TRUE 4351 43522014-02-23 Kevin Ushey <kevinushey@gmail.com> 4353 4354 * inst/include/Rcpp/DataFrame.h: better nrows behavior 4355 43562014-02-17 Romain Francois <romain@r-enthusiasts.com> 4357 4358 * inst/include/Rcpp/traits/un_pointer.h: fix bug in un_pointer for object<T> 4359 43602014-02-17 Kevin Ushey <kevinushey@gmail.com> 4361 4362 * src/attributes.cpp: Fix attributes behavior with 4363 ::create, and also add an option for a default constructor 4364 (e.g. NumericVector v = NumericVector(10)) gives a default 4365 value of 'numeric(10)' at the R level). Also make NAs 4366 keep their type when exposed to R. 4367 43682014-02-16 JJ Allaire <jj@rstudio.org> 4369 4370 * src/attributes.cpp Replace (incorrect) call to 4371 Rcpp::internal::jumpToTop with Rf_onintr 4372 43732014-02-07 Kevin Ushey <kevinushey@gmail.com> 4374 4375 * inst/include/Rcpp/Reference.h: Add default ctor 4376 43772014-02-03 Kevin Ushey <kevinushey@gmail.com> 4378 4379 * inst/include/Rcpp/vector/Vector.h: Enable conversion from 4380 Rcpp vectors to RObject 4381 43822014-02-02 Dirk Eddelbuettel <edd@debian.org> 4383 4384 * DESCRIPTION: Release 0.11.0 4385 * inst/NEWS.Rd: Release 0.11.0 4386 * inst/include/Rcpp/config.h: Release 0.11.0 4387 * debian/*: Similarly updated for new release to Debian 4388 43892014-02-02 JJ Allaire <jj@rstudio.org> 4390 4391 * R/Attributes.R: Use placeholder for .Call to avoid warning 4392 43932014-02-01 Dirk Eddelbuettel <edd@debian.org> 4394 4395 * tests/doRUnit.R: Simplified following pattern in RProtoBuf 4396 4397 * vignettes/Rcpp-unitTests.Rnw: Remove a now superfluous global var 4398 4399 * vignettes/Rcpp.bib: Updated references to current packages 4400 44012014-02-01 JJ Allaire <jj@rstudio.org> 4402 4403 * R/Attributes.R: Embedded R code chunks in sourceCpp can 4404 now be disabled 4405 44062014-01-31 Dirk Eddelbuettel <edd@debian.org> 4407 4408 * vignettes/Rcpp-FAQ.Rnw: Render code with background boxen 4409 * vignettes/Rcpp-package.Rnw: Idem 4410 * vignettes/Rcpp-modules.Rnw: Idem 4411 * vignettes/Rcpp-extending.Rnw: Idem 4412 * vignettes/Rcpp-sugar.Rnw: Idem 4413 4414 * vignettes/Rcpp-attributes.Rnw: Switched to highlight driver 4415 4416 * inst/include/Rcpp/Benchmark/Timer.h: Reverted back to using 4417 iterators via use of anonymous namespace for accessors 4418 4419 * inst/announce/ANNOUNCE-0.11.0.txt: Updated 4420 44212014-01-31 Dirk Eddelbuettel <edd@debian.org> 4422 4423 * man/Rcpp.package.skeleton.Rd: Also updated 4424 44252014-01-31 JJ Allaire <jj@rstudio.org> 4426 4427 * R/Attributes.R: Embedded R code chunks in sourceCpp are now 4428 executed within the working directory of the C++ source file. 4429 44302014-01-30 Dirk Eddelbuettel <edd@debian.org> 4431 4432 * vignettes/Rcpp-package.Rnw: Updates for upcoming release 4433 44342014-01-28 Dirk Eddelbuettel <edd@debian.org> 4435 4436 * vignettes/Rcpp-FAQ.Rnw: Some updates for upcoming release 4437 44382014-01-25 Dirk Eddelbuettel <edd@debian.org> 4439 4440 * inst/include/Rcpp/Benchmark/Timer.h: Simplified -- Rcpp Gallery 4441 example using it was not building any longer under g++ 4442 44432014-01-23 Dirk Eddelbuettel <edd@debian.org> 4444 4445 * inst/announce/ANNOUNCE-0.11.0.txt: Added for next release 4446 44472014-01-21 Dirk Eddelbuettel <edd@debian.org> 4448 4449 * R/Rcpp.package.skeleton.R: Update skeleton package to add proper 4450 Imports: to DESCRIPTION, and importFrom() to NAMESPACE 4451 44522014-01-19 Kevin Ushey <kevinushey@gmail.com> 4453 4454 * inst/include/Rcpp/api/meat/Vector.h: Add missing UNPROTECT in 4455 push_back_name__impl 4456 44572014-01-18 Kevin Ushey <kevinushey@gmail.com> 4458 4459 * inst/unitTests/runit.S4.R: Add a test for ctor from slot proxy 4460 * inst/unitTests/cpp/S4.cpp: Add a test for ctor from slot proxy 4461 * inst/include/Rcpp/vector/Vector.h: Add missing r_cast to vector 4462 ctor from proxy 4463 44642014-01-18 JJ Allaire <jj@rstudio.org> 4465 4466 * R/Attributes.R: More restrictive matching of C++ file extensions 4467 for compileAttributes. 4468 44692014-01-18 Kevin Ushey <kevinushey@gmail.com> 4470 4471 * inst/unitTests/cpp/Matrix.cpp: Add unit test 4472 * inst/unitTests/runit.Matrix.R: Add unit test 4473 * inst/include/Rcpp/api/meat/Matrix.h: Bug fix in operator= 4474 44752014-01-17 Dirk Eddelbuettel <edd@debian.org> 4476 4477 * R/RcppLdpath.R (RcppCxxFlags): Restore function to supply values 4478 for include files for packages not yet converted to LinkingTo: 4479 44802014-01-16 JJ Allaire <jj@rstudio.org> 4481 4482 * inst/include/Rcpp/macros/macros.h: Use Rf_onintr rather than 4483 non-public Rf_jump_to_toplevel 4484 * inst/include/Rcpp/DateVector.h: Fix GreedyVector compilation error 4485 * inst/include/Rcpp/DatetimeVector.h: Fix GreedyVector compilation error 4486 44872014-01-15 Dirk Eddelbuettel <edd@debian.org> 4488 4489 * inst/include/Rcpp/exceptions.h: Move stop() into Rcpp namespace 4490 44912014-01-03 JJ Allaire <jj@rstudio.org> 4492 4493 * .gitignore: Added src/<object-files>, *.Rproj, and .Rproj.user 4494 * inst/include/Rcpp/Interrupt.h: New checkUserInterrupt function 4495 that provides a C++ friendly implementation of R_CheckUserInterrupt 4496 * inst/include/RcppCommon.h: Include Rcpp/Interrupts.h 4497 * inst/include/macros/macros.h: Check for interrupts in END_RCPP 4498 * src/attributes.cpp: Handle interrupted-error in attribute 4499 function envelope. 4500 45012013-12-31 Dirk Eddelbuettel <edd@debian.org> 4502 4503 * vignettes/Rcpp.bib: Updated CRAN package references 4504 45052013-12-20 Kevin Ushey <kevinushey@gmail.com> 4506 4507 * inst/include/Rcpp/sugar/tools/mapcompare.h: Use a union for 4508 type punning, to avoid compiler warning on aliasing. Also 4509 switch to uint64_t to enforce 64bit comparison. 4510 * inst/include/Rcpp/RObject.h: Add missing *this return for 4511 RObject_impl::operator= 4512 45132013-12-20 Dirk Eddelbuettel <edd@debian.org> 4514 4515 * inst/include/Rcpp/RObject.h: Applied fix by Kevin Ushey (#88) 4516 * inst/include/Rcpp/vector/Vector.h: Ditto (#89) 4517 45182013-12-01 Kevin Ushey <kevinushey@gmail.com> 4519 4520 * R/Rcpp.package.skeleton.R: Fixed bug relating to user-supplied 4521 functions in 'list' argument 4522 * inst/unitTests/runit.Rcpp.package.skeleton.R: Added unit tests 4523 45242013-11-30 Dirk Eddelbuettel <edd@debian.org> 4525 4526 * vignettes/Rcpp-FAQ.Rnw: Updated and corrected in several spots 4527 45282013-11-22 Dirk Eddelbuettel <edd@debian.org> 4529 4530 * inst/include/Rcpp/stats/nt.h: Correct expansion of (d|q|p)nt() 4531 * inst/unitTests/runit.stats.R: Added unit tests for t dist with ncp 4532 * inst/unitTests/cpp/stats.cpp: C++ side of expamded unit tests 4533 45342013-11-05 Dirk Eddelbuettel <edd@debian.org> 4535 4536 * .travis.yml: Added to support continuous integration on github 4537 45382013-10-28 Romain Francois <romain@r-enthusiasts.com> 4539 4540 * include/Rcpp/protection/Armor.h : Armor::operator SEXP has to be const 4541 for it to work properly with wrap. 4542 45432013-10-27 Dirk Eddelbuettel <edd@debian.org> 4544 4545 * DESCRIPTION: Release 0.10.6 4546 * inst/NEWS.Rd: Release 0.10.6 4547 * inst/include/Rcpp/config.h: Release 0.10.5 4548 * debian/*: Similarly updated for new release to Debian 4549 45502013-10-17 JJ Allaire <jj@rstudio.org> 4551 4552 * R/Attributes.R: sourceCpp now correctly binds to Rtools 3.0 and 3.1 4553 45542013-10-16 Dirk Eddelbuettel <edd@debian.org> 4555 4556 * R/Rcpp.package.skeleton.R (Rcpp.package.skeleton): Deprecate 4557 namespace argument which package.skeleton() no longer uses 4558 * man/Rcpp.package.skeleton.Rd: Updated documentation accordingly 4559 45602013-10-16 Romain Francois <romain@r-enthusiasts.com> 4561 4562 * include/Rcpp/api/meat/is.h : added missing implementation for 4563 is<Language> and is<DottedPair> 4564 45652013-10-14 Romain Francois <romain@r-enthusiasts.com> 4566 4567 * inst/include/Rcpp/protection/protection.h: added 4568 Shield/Shelter/Armor 4569 * DESCRIPTION: bump to version 0.10.5.3 4570 45712013-10-12 Dirk Eddelbuettel <edd@debian.org> 4572 4573 * DESCRIPTION (Depends): Rolled Depends: on R to "R (>= 3.0.0)" as 4574 required by the vignette building code (with thanks to Uwe Ligges) 4575 45762013-10-08 Dirk Eddelbuettel <edd@debian.org> 4577 4578 * NAMESPACE: Export LdFlags as well as RcppLdFlags 4579 * man/RcppLdFlags.Rd: Updated 4580 45812013-10-06 John M Chambers <jmc@r-project.org> 4582 4583 * R/exposeClass.R: avoid warning from unclosed file() 4584 45852013-10-06 John M Chambers <jmc@r-project.org> 4586 4587 * NAMESPACE: change classModule to exposeClass 4588 * R/classModule.R: delete 4589 * man/classModule.Rd: delete 4590 * R/exposeClass.R: add 4591 * man/exposeClass.Rd: add 4592 * man/setRcppClass.Rd: update, clarify, recommend exposeClass() 4593 45942013-10-03 John M Chambers <jmc@r-project.org> 4595 4596 * R/classModule.R: new function to write module file for class 4597 * man/classModule.Rd: documentation for new function classModule() 4598 * NAMESPACE: export classModule 4599 * R/loadModule.R: clean up an error message 4600 * R/RcppClass.R: defaults for module consistent w. classModule() 4601 * man/setRcppClass.Rd: add defaults, explain need for saveAs 4602 46032013-10-02 Dirk Eddelbuettel <edd@debian.org> 4604 4605 * inst/include/Rcpp/traits/is_na.h: More fixes thanks to Thomas Tse 4606 46072013-10-01 Dirk Eddelbuettel <edd@debian.org> 4608 4609 * inst/include/Rcpp/api/meat/is.h: Applied patch by Thomas Tse to 4610 provide missing Character(Vector|Matrix) 4611 4612 * DESCRIPTION: Bump to development release 0.10.5.1 4613 46142013-09-28 Dirk Eddelbuettel <edd@debian.org> 4615 4616 * DESCRIPTION: Release 0.10.5 4617 * inst/NEWS.Rd: Release 0.10.5 4618 * inst/include/Rcpp/config.h: Release 0.10.5 4619 * debian/*: Similarly updated for new release to Debian 4620 4621 * vignettes/Rcpp-unitTests.Rnw: Switched to Charter font just like 4622 the other eight vignettes 4623 46242013-09-28 Romain Francois <romain@r-enthusiasts.com> 4625 4626 * include/Rcpp/module/Module_generated_CppMethod.h : more code bloat 4627 to handle flexible semantics for passing parameters in methods 4628 * include/Rcpp/module/Module_generated_Pointer_CppMethod.h : same 4629 * inst/unitTests/cpp/Module.cpp: testing the above 4630 * unitTests/runit.Module.R: testing 4631 46322013-09-27 Dirk Eddelbuettel <edd@debian.org> 4633 4634 * vignettes/Rcpp-unitTests.Rnw: Re-activated vignette 4635 * DESCRIPTION: Version number bumped to 0.10.4.6 4636 46372013-09-27 Romain Francois <romain@r-enthusiasts.com> 4638 4639 * include/Rcpp/module/Module_generated_CppFunction.h : regenerated to 4640 use input_parameter traits for more flexible parameter passing strategy 4641 * unitTests/cpp/Module.cpp : more testing 4642 * unitTests/runit.Module.R : more testing 4643 46442013-09-22 Dirk Eddelbuettel <edd@debian.org> 4645 4646 * inst/include/Rcpp/sugar/functions/diff.h: Declare set_previous 4647 const and add a missing traits:: prefix before is_na 4648 4649 * inst/unitTests/cpp/sugar.cpp: Unit test for diff() of int. vector 4650 * inst/unitTests/runit.sugar.R: Invoke new test 4651 46522013-09-21 Dirk Eddelbuettel <edd@debian.org> 4653 4654 * vignettes/Rcpp-modules.Rnw: Remove vignette-local compilations 4655 which again caused problems for the Windows builds at R-Forge and 4656 win-builder. Unit tests comprise the same functionality and pass. 4657 4658 * vignettes/Rcpp-attributes.Rnw: Refresh look by using Bitstream 4659 Charter, and microtype package (cf http://www.khirevich.com/latex) 4660 * vignettes/Rcpp-extending.Rnw: Idem 4661 * vignettes/Rcpp-FAQ.Rnw: Idem 4662 * vignettes/Rcpp-modules.Rnw: Idem 4663 * vignettes/Rcpp-package.Rnw: Idem 4664 * vignettes/Rcpp-quickref.Rnw: Idem 4665 * vignettes/Rcpp-sugar.Rnw: Idem 4666 46672013-09-20 Dirk Eddelbuettel <edd@debian.org> 4668 4669 * R/Module.R: More ':::' cleanups to make R CMD check happy 4670 * R/RcppClass.R: Ditto 4671 4672 * NAMESPACE: Some new exports related to this 4673 4674 * man/setRcppClass.Rd: Document loadRcppClass() 4675 * man/Rcpp-internal.Rd: Added in order to document 4676 cpp_object_initializer() and cpp_object_dummy() 4677 46782013-09-19 Dirk Eddelbuettel <edd@debian.org> 4679 4680 * inst/include/Rcpp/longlong.h: Unbreak long long by making it (as 4681 before) conditional on g++ (or clang) as well as C++11. The condition 4682 can be OR'ed with another suitably-defined variable, but the default 4683 has to be off as CRAN compliance has to remain the standard 4684 46852013-09-19 Romain Francois <romain@r-enthusiasts.com> 4686 4687 * include/Rcpp/longlong.h: isolate all handling of long long 4688 in a separate file which we might choose not to include by default 4689 4690 * include/Rcpp/traits/r_sexptype_traits.h : unsigned int wrapped as 4691 REALSXP long standing feature request from Murray. 4692 * R/Attributes.R : Added the helper demangle and sizeof functions 4693 * man/demangle.Rd : Documentation for demangle and sizeof 4694 * include/Rcpp/platform/compiler.h : less restritive support of long 4695 long types. But still behind a test for gcc and a test for the 4696 availability of the type, and the __extension__. -pedantic does not 4697 warn about it 4698 46992013-09-18 JJ Allaire <jj@rstudio.org> 4700 4701 * R/Attributes.R: Don't search the inline package as a fallback when 4702 loading plugins for the the Rcpp::plugins attribute 4703 47042013-09-18 Romain Francois <romain@r-enthusiasts.com> 4705 4706 * vignettes/Rcpp-package.Rnw: Updating the vignette. Setting 4707 attributes to TRUE by default. 4708 * R/Rcpp.package.skeleton.R: Setting attributes to TRUE by 4709 default. This is what we should encourage people to use. 4710 * include/Rcpp/as.h: add as<char> specialization 4711 * include/Rcpp/sugar/functions/diff.h : rework the implementation of 4712 diff so that it works even when we don't know the previous value 4713 * unitTests/runit.sugar.R : 4714 * unitTests/cpp/sugar.cpp : 4715 * include/Rcpp/sugar/functions/range.h : factored out of minmax.h 4716 * include/Rcpp/sugar/functions/min.h : factored out of minmax.h 4717 * include/Rcpp/sugar/functions/max.h : factored out of minmax.h 4718 * TODO : 3 less items 4719 47202013-09-17 JJ Allaire <jj@rstudio.org> 4721 4722 * R/Attributes.R: Call inlineCxxPlugin and Rcpp.plugin.maker without 4723 qualification rather than with ':::' 4724 47252013-09-17 Dirk Eddelbuettel <edd@debian.org> 4726 4727 * NAMESPACE: Export RcppLdFlags which is often used to build Rcpp 4728 * man/RcppLdFlags.Rd: Added required manual page 4729 * R/Attributes.R: Call RcppLdFlags() via '::' instead of ':::' 4730 * R/SHLIB.R: Ditto 4731 * R/inline.R: Ditto 4732 4733 * vignettes/Rcpp-FAQ.Rnw: Add %\VignetteEngine{highlight::highlight} 4734 * vignettes/Rcpp-attributes.Rnw: Idem 4735 * vignettes/Rcpp-extending.Rnw: Idem 4736 * vignettes/Rcpp-modules.Rnw: Idem 4737 * vignettes/Rcpp-package.Rnw: Idem 4738 * vignettes/Rcpp-quickref.Rnw: Idem 4739 * vignettes/Rcpp-sugar.Rnw: Idem 4740 4741 * vignettes/Rcpp-package.Rnw: Altered to make use of highlight 4742 package; also no longer build embedded demo package (which upsets R 4743 CMD check under R-devel) 4744 47452013-09-16 JJ Allaire <jj@rstudio.org> 4746 4747 * R/Attributes.R : Remove calls to non-exported functions from the tools package 4748 47492013-09-16 Romain Francois <romain@r-enthusiasts.com> 4750 4751 * include/Rcpp/internal/Exporter.h : Specific handling of containers 4752 (std::vector, std::deque, and std::list so that we use their faster 4753 range constructor when we can, and so let the STL optimize how data 4754 is copied 4755 * include/Rcpp/api/meat/export.h : Implementation of the above 4756 * include/Rcpp/vector/Vector.h : added Vector( const char* ) ctor 4757 * DESCRIPTION : bump to 0.10.4.5 (for RcppExtras) 4758 47592013-09-15 Dirk Eddelbuettel <edd@debian.org> 4760 4761 * inst/include/Rcpp/InputParameter.h (Rcpp): Add 'const' case 4762 4763 * inst/unitTests/cpp/Vector.cpp: New unit tests for std::vector 4764 conversions, using both int and double arguments 4765 * inst/unitTests/runit.Vector.R: R complement of these tests 4766 47672013-09-15 Romain Francois <romain@r-enthusiasts.com> 4768 4769 * include/Rcpp/InputParameter.h : added the traits::input_parameter 4770 trait to add another layer of abstration. 4771 * include/Rcpp/macros/module.h : taking advantage of input_parameter 4772 to specialize how to work with module objects 4773 * src/attributes.cpp : using traits::input_parameter<T> instead of 4774 InputParameter<T> 4775 47762013-09-14 Dirk Eddelbuettel <edd@debian.org> 4777 4778 * src/attributes.cpp : Precede closing '>' by space to avoid '>>' 4779 * inst/include/Rcpp/platform/compiler.h: Further refine #if test for 4780 'long long' by conditioning __LP64__ on also using clang/llvm 4781 4782 * src/attributes.cpp : Precede closing '>' by space to avoid '>>' 4783 47842013-09-13 Romain Francois <romain@r-enthusiasts.com> 4785 4786 * src/api.cpp : added "long long" to the capabilities function. 4787 * include/Rcpp/platform/compiler.h : demangling is definitely 4788 available on all mac versions using gcc. No point is testing for OSX 4789 version. 4790 * include/Rcpp/InputParameter.h : extra layer of abstraction to allow 4791 for custom handling of references etc ... used in RcppArmadillo 4792 * src/attributes.cpp : using InputParameter 4793 * DESCRIPTION: bump to 0.10.4.4 4794 47952013-09-12 Romain Francois <romain@r-enthusiasts.com> 4796 4797 * include/Rcpp/platform/compiler.h : patch submitted by Murray for 4798 better support of long long type. 4799 * include/Rcpp/platform/compiler.h : gcc 4.2.1 has tr1/unordered_map 4800 and tr1/unordered_set. Previous test was for gcc 4.4.0 for some 4801 reason 4802 48032013-08-31 Dirk Eddelbuettel <edd@debian.org> 4804 4805 * inst/doc/*: Moved all vignettes to vignettes/* 4806 * vignettes/*: Minor updates to some vignettes 4807 48082013-08-22 Romain Francois <romain@r-enthusiasts.com> 4809 4810 * include/Rcpp/traits/is_primitive.h : new trait to identify if a 4811 type is primitive, this is a shortcut of using r_type_traits and 4812 compare it to r_type_primitive_tag 4813 * include/Rcpp/traits/r_type_traits.h : new tag r_type_pair_tag to 4814 handle wrapping map<KEY, VALUE> where KEY can be converted to String 4815 and VALUE can wrap itself 4816 * include/Rcpp/internal/wrap.h : handling map<KEY, VALUE> and vector<T> 4817 where T is a class handled by modules 4818 * include/Rcpp/api/meat/wrap.h : implementations to handle map<KEY, 4819 VALUE> 4820 * unitTests/cpp/wrap.cpp : more tests for map<KEY, VALUE> with KEY 4821 not a string 4822 * unitTests/runit.wrap.R : more tests for map<KEY, VALUE> with KEY 4823 not a string 4824 4825 * include/Rcpp/internal/export.h : added export_range__dispatch for 4826 the r_type_generic_tag tag. Meaning we can now use as< vector<T> > 4827 where T is not a primitive 4828 * include/Rcpp/api/meat/export.h : implementation in meat because it needs as 4829 48302013-08-01 Romain Francois <romain@r-enthusiasts.com> 4831 4832 * unitTests/cpp/wstring.cpp: fix to re-enable wstring test suite. 4833 * unitTests/runit.wstring.R: re-enable the wstring test suite. 4834 48352013-07-31 Dirk Eddelbuettel <edd@debian.org> 4836 4837 * DESCRIPTION: Bump development version to 0.10.4.3 4838 4839 * inst/doc/Makefile: Rejigged pdf builds in another attempt at 4840 pleasing whatever runs the builds on r-forge. L'espoir fait vivre. 4841 48422013-07-25 Romain Francois <romain@r-enthusiasts.com> 4843 4844 * include/Rcpp/sugar/functions/is_na.h : added is_na for DateVector and 4845 DatetimeVector 4846 * include/Rcpp/Date.h : added is_na method 4847 * include/Rcpp/Datetime.h : added is_na method 4848 * unitTests/cpp/dates.cpp : removed the ignoreme useless parameters 4849 * unitTests/runit.Date.R : idem 4850 * src/attributes.cpp: collecting functions in a FunctionMap. Will use this 4851 for dispatching 4852 48532013-07-24 Romain Francois <romain@r-enthusiasts.com> 4854 4855 * include/Rcpp/traits/is_module_object.h: trait class that identifies 4856 at compile time if a given type is a type exposed by a module, 4857 i.e. if we used the RCPP_EXPOSED_AS macro 4858 * include/Rcpp/is.h: able to identify if an object is of a given type 4859 exposed by a module (supports references and pointers too). 4860 * src/Module.cpp: implementation of is_module_object_internal that 4861 checks if an object is of a given typeid, used by is<T> where T is 4862 module exposed 4863 48642013-07-23 Romain Francois <romain@r-enthusiasts.com> 4865 4866 * include/Rcpp/as.h: support as<T*> and as<const T*> where T is a class 4867 exposed by modules 4868 * include/Rcpp/macros/module.h: idem 4869 * include/Rcpp/traits/un_pointer.h: handle the object<T> case 4870 * include/Rcpp/traits/r_type_traits.h: adding traits to help the with 4871 as<T*> and as<const T*> 4872 * unitTests/runit.Module.R: testing as<T*> and as<const T*> 4873 * unitTests/cpp/Module.cpp: idem 4874 * src/attributes.cpp: take advantage of a more flexible as<>. The 4875 Type class gains a full_name() method that shows const-ness and 4876 reference-ness 4877 48782013-07-17 Romain Francois <romain@r-enthusiasts.com> 4879 4880 * include/Rcpp/vector/instantiation.h: added the DoubleVector alias 4881 to NumericVector 4882 * include/Rcpp/is.h: added is template function 4883 48842013-07-11 Dirk Eddelbuettel <edd@debian.org> 4885 4886 * R/Attributes.R: Add an OpenMP plugin 4887 48882013-07-03 Romain Francois <romain@r-enthusiasts.com> 4889 4890 * unitTests/runit.modref.R: using sourceCpp 4891 * unitTests/runit.Module.R: using sourceCpp 4892 * unitTests/runit.Vector.R: no more uses of inline 4893 * unitTests/runTests.R: we don't need inline no more for testing 4894 * doc/unitTests/Rcpp-unitTests.R: idem 4895 48962013-07-02 Romain Francois <romain@r-enthusiasts.com> 4897 4898 * include/Rcpp/vector/Vector.h: fill__dispatch was mispelled (as 4899 fill_dispatch) for the non trivial case, so it did not work 4900 * unitTests/runit.Matrix.R: using sourceCpp 4901 * unitTests/runit.misc.R: using sourceCpp 4902 * unitTests/runit.wrap.R: using sourceCpp 4903 * unitTests/runit.support.R: using sourceCpp 4904 * unitTests/runit.rmath.R: using sourceCpp 4905 * unitTests/runit.RObject.R: using sourceCpp 4906 * unitTests/runit.stats.R: using sourceCpp 4907 * unitTests/runit.XPTr.R: using sourceCpp 4908 * unitTests/runit.Vector.R: testing List( int, IntegerVector ) which 4909 eventually uses fill__dispatch 4910 * include/Rcpp/traits/r_type_traits.h: support for as<T&> and as<const T&> 4911 when T is module exposed 4912 * include/Rcpp/as.h: as<T&> and as<const T&> when T is module exposed 4913 * include/Rcpp/module/Module_generated_CppFunction.h: removed the 4914 remove_const_and_reference since as<T&> and as<const T&> is supported 4915 * src/attributes.cpp: automatically populating the environment with 4916 the content of a module, rather than make the module object available 4917 in the environment 4918 49192013-07-01 Romain Francois <romain@r-enthusiasts.com> 4920 4921 * R/unit.test.R: added helper function Rcpp:::unit_test_setup to avoid 4922 some boiler plate code in unit test files. See e.g. runit.Function.R for 4923 an example 4924 * unitTests/runit.as.R: using sourceCpp 4925 * unitTests/runit.Function.R: using sourceCpp 4926 * unitTests/runit.DataFrame.R: remove dependency on datasets 4927 49282013-06-25 Dirk Eddelbuettel <edd@debian.org> 4929 4930 * src/api.cpp: Also test for #defined(__sun) when checking for system 4931 lacking a valid backtrace() function for stack traces 4932 49332013-06-25 Romain Francois <romain@r-enthusiasts.com> 4934 4935 * DESCRIPTION : devel version 0.10.4.1 4936 * src/Module.cpp : bring a simplified version of RCPP_FUNCTION 1 .. 4 4937 * unitTests/runit.macros.R : removed, as RCPP_FUNCTION ... are deprecated 4938 * include/Rcpp/macros/preprocessor_generated.h : deprecating RCPP_FUNCTION_... macros 4939 49402013-06-24 Dirk Eddelbuettel <edd@debian.org> 4941 4942 * inst/include/Rcpp/platform/compiler.h: Note the useful wiki page 4943 http://sourceforge.net/p/predef/wiki/Home with #defines for OSs, 4944 compilers, libraries and more 4945 49462013-06-23 Dirk Eddelbuettel <edd@debian.org> 4947 4948 * DESCRIPTION: Release 0.10.4 4949 * inst/NEWS.Rd: Release 0.10.4 4950 * inst/include/Rcpp/config.h: Release 0.10.4 4951 * debian/*: Similarly updated for new release to Debian 4952 49532013-06-19 Romain Francois <romain@r-enthusiasts.com> 4954 4955 * inst/NEWS.Rd: Document planned depreciation of old RCPP_FUNCION_* 4956 macros which are redundant thanks to Rcpp Modules and Rcpp Attributes 4957 4958 * include/Rcpp/vector/string_proxy.h : added operator 4959 string_proxy::operator==( const string_proxy& ) so that me may 4960 compare x[i] and y[i] (x and y being CharacterVector) 4961 4962 * include/Rcpp/module/Module_generated_Pointer_CppMethod.h : remove 4963 const and reference to OUT type in several places, that was causing 4964 problems e.g. on making the Rcpp-modules vignette 4965 4966 * include/Rcpp/module/Module_generated_CppMethod.h : idem 4967 49682013-06-18 Romain Francois <romain@r-enthusiasts.com> 4969 4970 * include/Rcpp/module/Module_generated_CppFunction.h : using 4971 BEGIN_RCPP / END_RCPP as suggested by Ben North on Rcpp-devel. This 4972 should reduce cross dll exceptions issues on windows. 4973 49742013-06-14 Romain Francois <romain@r-enthusiasts.com> 4975 4976 * include/Rcpp/stats/random/runif.h : removed unused max variable 4977 * include/Rcpp/stats/random/rf.h : removed unused n1 and n2 variables 4978 49792013-06-13 Romain Francois <romain@r-enthusiasts.com> 4980 4981 * src/Module.cpp: small buglet in macro. Reported on Rcpp-devel 4982 49832013-06-12 Dirk Eddelbuettel <edd@debian.org> 4984 4985 * inst/doc/Makefile: Force serial build of vignettes in yet another 4986 effort to not let R-Forge fail when trying to rebuild them 4987 49882013-06-08 Dirk Eddelbuettel <edd@debian.org> 4989 4990 * inst/doc/Rcpp.bib: Updated entries 4991 4992 * inst/doc/Rcpp-introduction.Rnw: Added pointer to 'Rcpp Attributes' 4993 vignette, as well as to 'Rcpp Sugar' and 'Rcpp Modules' vignettes. 4994 * inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Idem 4995 49962013-06-06 Romain Francois <romain@r-enthusiasts.com> 4997 4998 * unitTests/cpp/Vector.cpp : more unit tests for erase 4999 * unitTests/runit.Vector.R : more unit tests for erase 5000 50012013-06-05 Romain Francois <romain@r-enthusiasts.com> 5002 5003 * include/Rcpp/api/meat/Vector.h : fixed Vector<>::erase(iterator, 5004 iterator) and correct return value of erase 5005 * unitTests/cpp/Vector.cpp : added regression test for the above fix 5006 * unitTests/runit.Vector.R : added regression test for the above fix 5007 * include/Rcpp/module/class.h : removed useless typedef 5008 50092013-05-31 Romain Francois <romain@r-enthusiasts.com> 5010 5011 * unitTests/runit.sugar.R : new test for is_infinite and is_nan 5012 * unitTests/cpp/sugar.cpp : new test for is_infinite and is_nan 5013 * include/Rcpp/sugar/functions/is_infinite.h : new function 5014 is_infinite 5015 * include/Rcpp/traits/is_infinite.h : new function is_infinite 5016 * include/Rcpp/sugar/functions/is_nan.h : new function is_nan 5017 * include/Rcpp/traits/is_nan.h : new function is_nan 5018 50192013-05-30 Romain Francois <romain@r-enthusiasts.com> 5020 5021 * include/Rcpp/sugar/functions/all.h : bug fixed for the NA=false 5022 case 5023 * include/Rcpp/sugar/functions/is_na.h : header 5024 * include/Rcpp/sugar/functions/is_finite.h : added sugar is_finite 5025 function 5026 * include/Rcpp/traits/is_finite.h : added is_finite trait 5027 * unitTests/runit.sugar.R : added test for is_finite 5028 * unitTests/cpp/S4.cpp : new cpp file to host S4 unit tests 5029 * unitTests/runit.S4.R : rework unit tests to use attributes 5030 * unitTests/runit.Reference.R : unit tests for Rcpp::Reference 5031 * unitTests/cpp/Reference.cpp : unit tests c++ code 5032 50332013-05-26 Dirk Eddelbuettel <edd@debian.org> 5034 5035 * src/api.cpp: Minor tweak for internal formatting 5036 50372013-05-24 J.J. Allaire <jj@rstudio.org> 5038 5039 * R/Attributes.R: Disallow compilation for files that don't have 5040 extensions supported by R CMD SHLIB 5041 50422013-05-21 J.J. Allaire <jj@rstudio.org> 5043 5044 * R/Attributes.R: Lookup plugins in inline package if they aren't 5045 found within the Rcpp package 5046 * man/pluginsAttribute.Rd: Documentation updates. 5047 50482013-05-17 J.J. Allaire <jj@rstudio.org> 5049 5050 * src/attributes.cpp: prevent gc problems with RNGScope destructor 5051 in attributes generated functions; don't include package header 5052 file in generated cpp exports file 5053 * src/api.cpp: use unsigned long for RNG scope counter 5054 50552013-04-28 Dirk Eddelbuettel <edd@debian.org> 5056 5057 * src/api.cpp (Rcpp): No longer use Rd_format(Real|Complex) which is 5058 a very verboten R internal; formatting to string is now very bare 5059 bones 5060 50612013-04-27 Dirk Eddelbuettel <edd@debian.org> 5062 5063 * src/Makevars: Improved use as well as a new possible overrride of 5064 /usr/bin/install_name_tool on OS X, once again contributed by Simon 5065 50662013-04-16 Romain Francois <romain@r-enthusiasts.com> 5067 5068 * include/Rcpp/sugar/functions/na_omit.h : new function na_omit to 5069 remove missing values from a vector. 5070 * src/attributes.cpp : portability fix (from Martyn Plummer) 5071 * include/Rcpp/api/meat/Vector.h : portability fix (from Martyn 5072 Plummer) 5073 50742013-04-14 Romain Francois <romain@r-enthusiasts.com> 5075 5076 * include/Rcpp/traits/is_na.h: complex version did not work. 5077 added default for VECSXP and EXPRSXP versions 5078 50792013-04-02 Dirk Eddelbuettel <edd@debian.org> 5080 5081 * src/Date.cpp: Corrected operator-() for Date and Datetime objects 5082 to behave more inline with C++ standard 5083 5084 * inst/include/Rcpp/Date.h: operator-() for Dates now returns a 5085 double as the date itself is fractional double since epoch 5086 5087 * inst/unitTests/cpp/dates.cpp: New file with C++ portion of tests 5088 factored out from R unit test file 5089 * inst/unitTests/runit.Date.R: Rewritten for use with new C++ tests 5090 50912013-04-02 Romain Francois <romain@r-enthusiasts.com> 5092 5093 * include/Rcpp/generated/DataFrame_generated.h : DateFrame::create 5094 uses List::create and then feeds to the DataFrame constructor, which 5095 seems to work better than the previous approach of calling back to the 5096 data.frame function in R 5097 * include/Rcpp/DataFrame.h : private function from_list, to help 5098 the new implementation of DataFrame::create 5099 * src/api.cpp : impl of DataFrame::from_list 5100 51012013-03-31 Dirk Eddelbuettel <edd@debian.org> 5102 5103 * debian/control (Build-Depends): Modified for Debian-only rebuilds 5104 under (rc version of upcoming) R 3.0.0 release 5105 * debian/changelog: Entry for Debian build 0.10.3-2 5106 51072013-03-29 Dirk Eddelbuettel <edd@debian.org> 5108 5109 * src/api.cpp (Rcpp): Re-enable coerce_to_string<>() for real and 5110 complex types with Poor Man's Versions (TM) of Rf_EncodeReal and 5111 Rf_EncodeComplex which the Powers That Be disallow from being used 5112 51132013-03-27 Romain Francois <romain@r-enthusiasts.com> 5114 5115 * include/Rcpp/vector/MatrixRow.h : removed unintended printed 5116 messaged (reported on Rcpp-devel by Michaeal Love) 5117 51182013-03-23 Dirk Eddelbuettel <edd@debian.org> 5119 5120 * DESCRIPTION: Release 0.10.3 5121 * inst/NEWS.Rd: Release 0.10.3 5122 * inst/include/Rcpp/config.h: Release 0.10.3 5123 * debian/*: Similarly updated for new release to Debian 5124 51252013-03-21 Dirk Eddelbuettel <edd@debian.org> 5126 5127 * inst/unitTests/runit.wstring.R (test.as_vector_wstring): replace 5128 the "€" symbol with its unicode equivalent "\u20ac" 5129 51302013-03-20 Dirk Eddelbuettel <edd@debian.org> 5131 5132 * inst/doc/Rcpp.bib: Updated versions for several CRAN packages 5133 5134 * inst/CITATION: Add information about forthcoming book 5135 51362013-03-20 Romain Francois <romain@r-enthusiasts.com> 5137 5138 * include/Rcpp/traits/is_wide_string.h : fixes to re-enable wrap( 5139 vector<char> ) and wrap( vector<wchar_t> ), needed to support package 5140 httpuv 5141 * include/Rcpp/internal/wrap.h : same 5142 51432013-03-19 Dirk Eddelbuettel <edd@debian.org> 5144 5145 * inst/include/Rcpp/config.h: Define RCPP_USE_NEW_PRESERVE_RELEASE 5146 with default value of 0 to enable/disable new preserve/release code 5147 5148 * src/api.cpp: Bracket the new Rcpp object preserve / release code 5149 with the new variable RCPP_USE_NEW_PRESERVE_RELEASE and fall back 5150 to R behaviour if not set 5151 51522013-03-12 Romain Francois <romain@r-enthusiasts.com> 5153 5154 * include/Rcpp/Module.h: added virtual destructor to CppProperty 5155 51562013-03-08 Dirk Eddelbuettel <edd@debian.org> 5157 5158 * inst/include/Rcpp/platform/compiler.h: Improved g++ version 5159 detection with thanks to Yan Zhou 5160 51612013-02-28 JJ Allaire <jj@rstudio.org> 5162 5163 * src/attributes.cpp: standalone roxygen chunks (e.g. to document 5164 a class) are now transposed into RcppExports.R 5165 51662013-02-27 JJ Allaire <jj@rstudio.org> 5167 5168 * R/Rcpp.package.skeleton.R: eliminated spurious empty hello world 5169 function definition in Rcpp.package.skeleton 5170 51712013-02-24 JJ Allaire <jj@rstudio.org> 5172 5173 * R/Attributes.R: add global package include file to RcppExports.cpp 5174 if it exists; handle Rcpp module definitions in sourceCpp 5175 * src/attributes.cpp: handle Rcpp module definitions in sourceCpp 5176 * man/sourceCpp.Rd: documentation updates 5177 51782013-02-20 Dirk Eddelbuettel <edd@debian.org> 5179 5180 * inst/include/Rcpp/platform/compiler.h: As deteced by Gong-Yi Liao, 5181 we need to test for __LONG_LONG_MAX__ (defined in limits.h) and not 5182 LONG_LONG_MAX (defined climits which we do not include) 5183 51842013-02-19 Romain Francois <romain@r-enthusiasts.com> 5185 5186 * src/api.cpp : more debugging 5187 * include/RcppCommon.h : move sexp_to_name here. Used in some debugging 5188 * include/Rcpp/vector/MatrixRow.h : fix const version of operator[] 5189 * include/Rcpp/vector/Vector.h : more debugging 5190 * include/Rcpp/internal/wrap.h : more debugging. more dispatch. 5191 51922013-02-18 Romain Francois <romain@r-enthusiasts.com> 5193 5194 * include/Rcpp/vector/string_proxy.h : only declare operator+= 5195 * include/Rcpp/String.h : define string_proxy::operator+=, now that 5196 String is defined. 5197 51982013-02-15 JJ Allaire <jj@rstudio.org> 5199 5200 * R/Attributes.R: Merge existing values of build related 5201 environment variables for sourceCpp 5202 52032013-02-12 Romain Francois <romain@r-enthusiasts.com> 5204 5205 * src/api.cpp : More careful about RCPP_PROTECTION_STACK init 5206 52072013-02-08 Romain Francois <romain@r-enthusiasts.com> 5208 5209 * include/Rcpp/as.h: re-enable as<std::string>(CharacterVector[int]) 52102013-02-07 Dirk Eddelbuettel <edd@debian.org> 5211 5212 * inst/THANKS: Adding Ben North for the help / bug report on iterators 5213 52142013-02-05 Romain Francois <romain@r-enthusiasts.com> 5215 5216 * include/Rcpp/vector/string_proxy.h : more wstring support 5217 * include/Rcpp/XPtr.h : more debugging. removed delete_finalizer 5218 which is no longer used 5219 52202013-02-05 JJ Allaire <jj@rstudio.org> 5221 5222 * src/attributes.cpp : ensure that line comments invalidate block 5223 comments when parsing for attributes 5224 52252013-02-04 Romain Francois <romain@r-enthusiasts.com> 5226 5227 * include/Rcpp/traits/r_type_traits.h : make the 5228 r_type_pairstring_string_tag tag more general, handling wstring as 5229 well as string 5230 * include/Rcpp/internal/wrap.h : using make_charsexp, a more generic 5231 version of charsexp_from_wstring. 5232 * include/Rcpp/as.h : more support fot wstring 5233 * include/Rcpp/internal/wrap.h : rework the support of wstring 5234 * include/Rcpp/internal/export.h : added as_string_elt to rework the 5235 support of wstring 5236 * include/Rcpp/traits/char_type.h : new trait to help the wstring 5237 support 5238 * include/Rcpp/String.h : added some support for wstring 5239 * include/Rcpp/vector/string_proxy.h : adapt to add wstring support 5240 * unitTests/runit.wstring.R : unit tests for wstring support 5241 * unitTests/cpp/wstring.cpp : unit tests for wstring support 5242 52432013-02-03 Romain Francois <romain@r-enthusiasts.com> 5244 5245 * include/Rcpp/traits/wrap_type_traits.h : support for wrap( wstring ) 5246 * include/Rcpp/internal/export.h : exporting wstring and containers 5247 of wstring 5248 * include/Rcpp/internal/wrap.h : support for wrap( wstring ) and 5249 containers of wstring 5250 * include/RcppCommon.h : definition of charsexp_from_wstring 5251 * src/api.cpp: implementation of charsexp_from_wstring 5252 52532013-02-02 Romain Francois <romain@r-enthusiasts.com> 5254 5255 * include/Rcpp/vector/MatrixRow.h: correct operator++(int) and 5256 operator--(int) 5257 * include/Rcpp/internal/Proxy_Iterator.h: correct operators ++ and -- 5258 * include/Rcpp/sugar/Range.h: correct operators ++ and -- 5259 * include/Rcpp/sugar/tools/iterator.h: correct operators ++ and -- 5260 * include/Rcpp/vector/MatrixBase.h : correct operators ++ and -- 5261 * include/Rcpp/vector/VectorBase.h : correct operators ++ and -- 5262 * unitTests/cpp/Vector.cpp: new unit tests 5263 * unitTests/runit.Vector.R: new unit tests 5264 * src/api.cpp: comment dropTrailing0 which is not used anymore 5265 * include/Rcpp/as.h: support for as<wstring> 5266 * include/Rcpp/internal/export.h: more support for wstring 5267 52682013-01-15 Dirk Eddelbuettel <edd@debian.org> 5269 5270 * src/api.cpp (Rcpp): Commented-out coerce_to_string() for real and 5271 complex arguments as R-devel (as of today) dislikes use of non-API 5272 functions Rf_EncodeComplex’, ‘Rf_EncodeReal’, ‘Rf_formatComplex’ 5273 5274 * .Rbuildignore: Added inst/include/Rcpp/preprocessor and 5275 sugar/functions/impl which are currently empty directories 5276 5277 * src/Timer.cpp (Rcpp): Avoid a 'long long' warning from a const 5278 52792014-01-15 JJ Allaire <jj@rstudio.org> 5280 5281 * R/Attributes.R: don't add source directory as an include path for 5282 sourceCpp; fix duplicate inclusion of Rcpp directory 5283 * R/RcppLdpath.R: don't quote paths on windows 5284 52852014-01-14 JJ Allaire <jj@rstudio.org> 5286 5287 * DESCRIPTION: bump version to 0.10.2.3 5288 * R/Attributes.R: handle build paths with spaces on windows 5289 * R/RcppLdpath.R: handle build paths with spaces on windows 5290 * R/tools.R: handle build paths with spaces on windows 5291 * src/Timer.cpp: fix OSX build (remove __MACH__ define check) 5292 * R/: set svn eol-style native for source files 5293 * src/: set svn eol-style native for source files 5294 * inst/include/: set svn eol-style native for source files 5295 52962014-01-13 JJ Allaire <jj@rstudio.org> 5297 5298 * R/Attributes.R: use plugin includes in cppFunction; stop with 5299 explicit error on Windows then the Rcpl libPath or sourceCpp target 5300 file contains spaces in it's path; add source file directory as an 5301 include path for sourceCpp; special handling for sourceCpp include 5302 paths on windows 5303 * man/pluginsAttribute.Rd: clarify which fields of plugin are 5304 used by sourceCpp 5305 53062014-01-12 JJ Allaire <jj@rstudio.org> 5307 5308 * DESCRIPTION: bump version to 0.10.2.2 5309 * NAMESPACE: add registerPlugin function 5310 * R/Attributes.R: add registerPlugin function; add plugins parameter 5311 to cppFunction 5312 * man/cppFunction.Rd: documentation updates 5313 * man/pluginsAttribute.Rd: documentation updates 5314 * man/registerPlugin: documentation updates 5315 53162014-01-11 JJ Allaire <jj@rstudio.org> 5317 5318 * R/Attributes.R: initial support for Rcpp::plugins attribute; add 5319 built-in cpp11 plugin 5320 * src/attributes.cpp: initial support for Rcpp::plugins attribute 5321 53222014-01-04 JJ Allaire <jj@rstudio.org> 5323 5324 * R/Attributes.R: null check on pkginfo depends field 5325 53262013-01-02 Dirk Eddelbuettel <edd@debian.org> 5327 5328 * src/Timer.cpp (Rcpp): Applied refinement of previously applied 5329 patch re *BSD builds, see http://bugs.debian.org/697032 for more 5330 53312012-12-30 Dirk Eddelbuettel <edd@debian.org> 5332 5333 * src/Timer.cpp (Rcpp): Added defined() tests for more *BSD family 5334 members as the build also failed with the FreeBSD Kernel on Debian 5335 53362012-12-27 Dirk Eddelbuettel <edd@debian.org> 5337 5338 * src/Timer.cpp (Rcpp): Applied patch kindly supplied by Rainer 5339 Hurling to support compilation on FreeBSD 5340 53412012-12-26 JJ Allaire <jj@rstudio.org> 5342 5343 * R/Attributes.R: return invisibly from void functions 5344 * src/attributes.cpp: return invisibly from void functions 5345 53462012-12-21 Romain Francois <romain@r-enthusiasts.com> 5347 5348 * NAMESPACE : remove C++ObjectS3 and C++ClassRepresentation classes 5349 * R/00_classes.R: remove unused S4 classes 5350 * src/internal.h: added Rcpp_PreserveObject, Rcpp_ReleaseObject and 5351 Rcpp_ReplaceObject as replacements to R_ versions. The back end of the Rcpp_ 5352 version is a list (generic vector) instead of a linked list and 5353 is faster 5354 * src/Module.cpp: more debugging 5355 * src/barrier.cpp: added get_Rcpp_protection_stack used in the new 5356 stack system for protecting/releasing objects in Rcpp 5357 * src/api.cpp: implemetation of Rcpp_PreserveObject, Rcpp_ReleaseObject 5358 and Rcpp_ReplaceObject. RObject::setSEXP now uses the new system. 5359 The RObject(SEXP) constructor now directly uses Rcpp_PreserveObject 5360 More debugging for the RObject class 5361 Changes in api classes to better use the new protection system 5362 * unitTests/cpp/language.cpp: hosting unit test in sourceCpp form 5363 * unitTests/runit.Language.R: update unit tests 5364 * unitTests/runit.Module.client.package.R: remove code that has been 5365 commented for ages 5366 * include/Rcpp/DottedPair.h: better use of the RObject constructor 5367 * include/Rcpp/vector/Vector.h: better use of the RObject constructor 5368 * include/Rcpp/vector/Matrix.h: Using update_matrix instead of the virtual 5369 update which has been removed. 5370 * include/Rcpp/Module.h : more careful about types and constructors 5371 * include/Rcpp/XPtr.h: more debugging 5372 * include/Rcpp/macros/debug.h: more debugging macros 5373 * include/Rcpp/module/class_Base.h: using classes instead of SEXP 5374 * include/Rcpp/module/class.h: using classes instead of SEXP 5375 * include/Rcpp/generated/Language__ctors.h : using update_language_object 5376 instead of the virtual update which has been removed. 5377 * include/Rcpp/api/meat/Vector.h : using update_vector instead of the 5378 virtual update that has been removed, more debugging 5379 * include/Rcpp/api/meat/Matrix.h : more debugging, using update_matrix 5380 instead of the virtual update which has been removed 5381 * include/Rcpp/Language.h : added update_language_object to 5382 replace update which was virtual 5383 * include/Rcpp/RObject.h : only keep declarations here 5384 53852012-12-21 Dirk Eddelbuettel <edd@debian.org> 5386 5387 * DESCRIPTION: Release 0.10.2 5388 * inst/NEWS.Rd: Release 0.10.2 5389 * inst/include/Rcpp/config.h: Release 0.10.2 5390 * debian/*: Similarly updated for new release to Debian 5391 5392 * inst/doc/unitTests/Rcpp-unitTests.R: added one more variable so 5393 that unitTest vignette can be built against new sourceCpp based files 5394 53952012-12-15 Romain Francois <romain@r-enthusiasts.com> 5396 5397 * include/Rcpp/exceptions.h: added exception_to_r_condition 5398 * exceptions.cpp: new implementation of forward_exception_to_r that 5399 directly calls stop rather than a function in Rcpp 5400 * R/exceptions.R: remove code rendered useless 5401 * src/Rcpp_init.c: less exports 5402 * src/api.cpp: less going back to the R side 5403 54042012-12-14 Romain Francois <romain@r-enthusiasts.com> 5405 5406 * include/Rcpp/sugar/functions/clamp.h: clamp was pretty wrong 5407 * unitTests/runit.sugar.R: new unit test for clamp 5408 * unitTests/cpp/sugar.cpp: new unit test for clamp 5409 54102012-12-12 JJ Allaire <jj@rstudio.org> 5411 5412 * src/Attributes.R: always generate new dynlib file for rebuild=TRUE 5413 * src/attributes.cpp: set svn:eol-style to native; always generate 5414 new dynlib file for rebuild=TRUE; don't declare attributes constant 5415 strings extern 5416 54172012-12-12 Romain Francois <romain@r-enthusiasts.com> 5418 5419 * include/Rcpp/Symbol.h: c_str becomes const and added 5420 Symbol::operator==(const char* ) 5421 54222012-12-11 JJ Allaire <jj@rstudio.org> 5423 5424 * R/Attributes.R: always print output when shared library is not 5425 created 5426 * src/attributes.cpp: consolidate attributes into single file 5427 * src/Attributes.cpp: consolidate attributes into single file 5428 * src/AttributesGen.h: consolidate attributes into single file 5429 * src/AttributesGen.cpp: consolidate attributes into single file 5430 * src/AttributesParser.h: consolidate attributes into single file 5431 * src/AttributesParser.cpp: consolidate attributes into single file 5432 * src/AttributesTypes.h: consolidate attributes into single file 5433 * src/AttributesUtil.h: consolidate attributes into single file 5434 * inst/NEWS.Rd: additional notes on changes to attributes 5435 * inst/doc/Rcpp-attributes/Rcpp-attributes.Rnw: update for changes to 5436 attributes in 0.10.2 5437 54382012-12-11 Romain Francois <romain@r-enthusiasts.com> 5439 5440 * include/Rcpp/String.h: missing operator +=( const StringProxy& ) 5441 * include/Rcpp/sugar/functions/strings/strings.h : string sugar functions 5442 * include/Rcpp/sugar/functions/strings/collapse.h : collapse 5443 function, implementing paste( . , collapse = "" ) 5444 * include/Rcpp/complex.h: operator==( Rcomplex, Rcomplex ) 5445 * src/api.cpp: implementation of operator==(Rcomplex, Rcomplex) 5446 * include/Rcpp/vector/Vector.h: added const version of operator[](string) 5447 54482012-12-10 JJ Allaire <jj@rstudio.org> 5449 5450 * R/Attributes.R: warn when depends attribute is not matched with 5451 required entries in package description; add Rtools to PATH for 5452 duration of sourceCpp 5453 * src/Attributes.cpp: warn when depends attribute is not matched with 5454 required entries in package description 5455 * src/AttributesGen.cpp: prune unnecessary includes from RcppExports 5456 * src/Timer.cpp: fix timer build issues on windows 5457 54582012-12-10 Romain Francois <romain@r-enthusiasts.com> 5459 5460 * src/api.cpp: import r_cast.cpp, coerce.cpp, RcppCommon.cpp 5461 and debugging.cpp content 5462 * include/platform/compiler.h: put here compiler specific deduction things 5463 * src/internal.h: new header to host function declarations for 5464 routines that are not exported into Rcpp.h 5465 * src/Rcpp_init.c: export capabilities (renamed rcpp_capabilities) 5466 * include/Rcpp/traits/traits.h: master file for all traits includes 5467 * include/Rcpp/macros/macros.h: master file for all macros includes 5468 * include/Rcpp/DataFrame.h: just have declaration for DataFrame 5469 * include/Rcpp/Benchmark/Timer.h: move it into the Rcpp:: namespace 5470 * include/Rcpp/cache.h: clean 5471 * include/Rcpp/Reference.h : field was declared const and should not 5472 be. added a ConstFieldProxy class for read only use 5473 54742012-12-09 Romain Francois <romain@r-enthusiasts.com> 5475 5476 * src/api.cpp: merge many .cpp files here to reduce compile time 5477 * src/barrier.cpp: merge with cache.cpp to reduce compile time 5478 * include/Rcpp/exceptions.h: drop forward_uncaught_exceptions_to_r 5479 * src/exceptions.cpp: drop forward_uncaught_exceptions_to_r 5480 * src/Date.cpp: merge all Date related files 5481 54822012-12-08 Romain Francois <romain@r-enthusiasts.com> 5483 5484 * src/Timer.cpp: implementation of Timer 5485 * include/Rcpp/Benchmark/Timer.h: internal performance timer, based on 5486 the code from the microbenchmark package 5487 * include/Rcpp/api/meat/Matrix.h: move more in Matrix meat 5488 * src/Date.cpp: import the code from posixt.cpp 5489 54902012-12-07 JJ Allaire <jj@rstudio.org> 5491 5492 * src/AttributesGen.cpp: use __ prefix for variables in generated 5493 code; add RNGScope for attribute exported functions. 5494 54952012-12-07 Romain Francois <romain@r-enthusiasts.com> 5496 5497 * src/random.cpp: instantiations of random generators here 5498 * include/Rcpp/stats/random/random.h: only have declarations of 5499 random generators here. Rework the Generator template so that it 5500 inherits RNGScope to provide automatic calls to GetRNGstate and 5501 PutRNGstate 5502 55032012-12-06 JJ Allaire <jj@rstudio.org> 5504 5505 * R/Attributes.R: revert DOS newlines; use new shared library name 5506 for each rebuild in sourceCpp 5507 * src/Attributes.cpp: revert DOS newlines; define RCPP_NO_SUGAR; 5508 use new shared library name for each rebuild in sourceCpp 5509 * src/AttributesGen.cpp: revert DOS newlines; convert 'try-error' 5510 to exception for C++ interfaces 5511 * src/AttributesGen.h: 'try-error' to exception for C++ interfaces 5512 * src/AttributesParser.cpp: revert DOS newlines; define RCPP_NO_SUGAR 5513 * src/RcppCommon.cpp: conversion from exeption to 'try-error' 5514 * include/Rcpp/exceptions.h: conversion from exeption to 'try-error' 5515 * include/Rcpp/preprocessor.h: add END_RCPP_RETURN_ERROR macro 5516 to convert exceptions to 'try-error' objects 5517 * include/Rcpp/iostream/Rstreambuf.h: revert DOS newlines 5518 * DESCRIPTION: bump version to 0.10.1.5 5519 55202012-12-06 Dirk Eddelbuettel <edd@debian.org> 5521 5522 * src/exceptions.cpp: Added include of cstdlib to compile 5523 55242012-12-06 Romain Francois <romain@r-enthusiasts.com> 5525 5526 * include/Rcpp/api/meat/Environment.h: meat for Environment 5527 * src/exceptions.cpp: include config so that it knows that Rcpp can 5528 demangle 5529 * unitTests/runit.environments.R: using sourceCpp 5530 * src/Environment.cpp: less includes 5531 * src/Evaluator.cpp: less includes 5532 55332012-12-05 Romain Francois <romain@r-enthusiasts.com> 5534 5535 * src/cache.cpp: added get_cache 5536 * include/Rcpp/hash/IndexHash.h: use a cached integer vector for the 5537 hash table payload. The cache vector increases as needed. 5538 * include/Rcpp/iostream/Rostream.h: make Rostream a template 5539 * include/Rcpp/iostream/Rstreambuf.h: make Rstreambuf a template 5540 * src/AttributesGen.cpp : include exceptions.h which was included 5541 implicitely by Rostream.h before 5542 * include/Rcpp/macros/debug.h : factor out the debugging macros 5543 * include/Rcpp/api/meat/RObject.h : only declare templates that use 5544 as and wrap. they are implemented later in the meat directory 5545 * include/Rcpp/api/meat/meat.h: directory containing implementations 5546 of templates using as and wrap 5547 * include/RcppCommon.h: removed unused test_named 5548 * src/RcppCommon.cpp: removed unused test_named 5549 * src/r_cast.cpp: less includes 5550 * src/posixt.cpp: less includes 5551 55522012-12-05 JJ Allaire <jj@rstudio.org> 5553 5554 * src/Attributes.R: direct hookup of external ptr in sourceCpp 5555 * src/Attributes.cpp: use code generation for compileAttributes; 5556 direct hookup of external ptr in sourceCpp 5557 * src/AttributesGen.cpp: use code generation for compileAttributes; 5558 direct hookup of external ptr in sourceCpp 5559 * src/AttributesGen.h: use code generation for compileAttributes; 5560 direct hookup of external ptr in sourceCpp 5561 * src/Module.cpp: fix typo in GetCppCallable 5562 * include/Rcpp/iostream/Rstreambuf.h: add cstdio include 5563 * DESCRIPTION: bump version to 0.10.1.4 5564 55652012-12-04 Dirk Eddelbuettel <edd@debian.org> 5566 5567 * inst/include/Rcpp/hash/hash.h: Added include inttypes.h for intptr_t 5568 55692012-12-04 JJ Allaire <jj@rstudio.org> 5570 5571 * R/Attributes.R: use simple code generation for sourceCpp 5572 * src/Attributes.cpp: move generators into their own source file; 5573 use simple code generation for sourceCpp 5574 * src/AttributesGen.cpp: move generators into their own source file; 5575 add C++ default argument parsing 5576 * src/AttributesGen.h: move generators into their own source file 5577 * src/AttributesParser.cpp: move generators into their own source file 5578 * src/AttributesParser.h: move generators into their own source file 5579 * src/AttributesTypes.h: new header for attributes types 5580 * src/AttributesUtil.h: new header for attributes utilities 5581 55822012-12-04 Romain Francois <romain@r-enthusiasts.com> 5583 5584 * include/Rcpp/hash/hash.h: new implementation of IndexHash, based on 5585 Simon's fastmatch package 5586 * include/Rcpp/sugar/functions/match.h: more efficient version of match 5587 using new IndexHash 5588 * include/Rcpp/sugar/functions/unique.h: more efficient version of 5589 unique and in using IndexHash 5590 * include/Rcpp/sugar/functions/duplicated.h: more efficient version 5591 of duplicated and in using IndexHash 5592 * include/Rcpp/sugar/functions/self_match.h: more efficient version 5593 of self_match and in using IndexHash 5594 * include/Rcpp/vector/Vector.h: more efficiently create Vector from 5595 sugar expression that are already vectors, i.e. grab the SEXP 5596 55972012-12-03 Dirk Eddelbuettel <edd@debian.org> 5598 5599 * inst/include/RcppCommon.h: Applied patch kindly contributed by Yan 5600 Zhou which provides a number of more refined definition for support 5601 of both the C++11 standard and different compilers 5602 * inst/include/Rcpp/internal/wrap.h: Idem 5603 * inst/include/Rcpp/sugar/sugar.h: Idem 5604 * inst/include/Rcpp/traits/comparator_type.h: Idem 5605 * inst/include/Rcpp/vector/Vector.h: Idem 5606 * inst/unitTests/runit.wrap.R: Idem 5607 * src/RcppCommon.cpp: Idem 5608 5609 * DESCRIPTION: Increase minor dev. version once more 5610 56112012-12-03 JJ Allaire <jj@rstudio.org> 5612 5613 * R/Attributes.R: added function to check whether R development 5614 tools are currently installed 5615 56162012-12-03 Romain Francois <romain@r-enthusiasts.com> 5617 5618 * src/Module.cpp: move BEGIN_RCPP/END_RCPP to Module__invoke 5619 * src/coerce.cpp: added coerce_to_string implementations 5620 * include/RcppCommon.h : nicer formatting for RCPP_DEBUG_*, now up to 5621 RCPP_DEBUG_5 5622 * include/Rcpp/vector/Vector.h: debugging 5623 * include/Rcpp/String.h: The String class 5624 * include/Rcpp/as.h: support for String 5625 * include/Rcpp/vector/converter.h : support for String 5626 * include/Rcpp/vector/string_proxy.h: support for String 5627 * include/Rcpp/internal/wrap.h : support for String 5628 * include/Rcpp/internal/r_coerce.h: support for String 5629 * include/Rcpp/sugar/functions/sapply.h: debugging 5630 * include/Rcpp/traits/wrap_type_traits.h: support for String 5631 * include/Rcpp/traits/r_type_traits.h: support for String 5632 * unitTests/cpp/String.cpp : unit tests for String 5633 * unitTests/runit.String.R: unit test for String 5634 * include/Rcpp/sugar/sets.h: support for String 5635 56362012-12-01 Dirk Eddelbuettel <edd@debian.org> 5637 5638 * inst/include/RcppCommon.h: Applied patch by Yan Zhou to add support 5639 for clang++ with libc++, and Intel's icpc when std=c++11 5640 56412012-11-29 Romain Francois <romain@r-enthusiasts.com> 5642 5643 * unitTests/runit.DataFrame.R: using sourceCpp 5644 * include/Rcpp/vector/Matrix.h: fix yet another const correctness issue 5645 56462012-11-27 Dirk Eddelbuettel <edd@debian.org> 5647 5648 * inst/include/Rcpp/iostream/Rostream.h: Check before deleting buf 5649 56502012-11-26 Dirk Eddelbuettel <edd@debian.org> 5651 5652 * DESCRIPTION: Release 0.10.1 5653 * inst/NEWS.Rd: Release 0.10.1 5654 * inst/include/Rcpp/config.h: Release 0.10.1 5655 * debian/*: Similarly updated for new release to Debian 5656 5657 * DESCRIPTION: Added paragraph about Rcpp attributes 5658 * debian/control: Idem 5659 56602012-11-26 Romain Francois <romain@r-enthusiasts.com> 5661 5662 * include/Rcpp/Module.h: comment out the unused and unuseable 5663 converter overload. 5664 * include/Rcpp/sugar/functions/pmin.h: be consistent about how the 5665 pmin_op helper struct is defined (always a struct). 5666 * include/Rcpp/sugar/functions/pmax.h: same for pmax 5667 * include/Rcpp/stats/random/rbeta.h: fixed constructor issue 5668 * unitTests/runit.sugar.R: rework to use sourceCpp instead of inline 5669 * include/Rcpp/vector/Vector.h: added ctor to deal with 5670 SingleLogicalResult 5671 * include/Rcpp/vector/Matrix.h: another const correctness fix 5672 56732012-11-25 JJ Allaire <jj@rstudio.org> 5674 5675 * R/Attributes.R: use echo = TRUE for sourceCpp R code chunks 5676 * src/Module.cpp: BEGIN_RCPP/END_RCPP in InternalFunction_invoke 5677 * inst/doc/Rcpp-attributes/Rcpp-attributes.Rnw: add documentation 5678 on correct semantics for signaling error conditions 5679 56802012-11-24 JJ Allaire <jj@rstudio.org> 5681 5682 * inst/doc/Rcpp-attributes/Rcpp-attributes.Rnw: expand discussion 5683 of binary compatibility issues. 5684 56852012-11-23 Romain Francois <romain@r-enthusiasts.com> 5686 5687 * src/AttributesParser.cpp : attempt to fix build issue on r-forge 5688 * include/Rcpp/DataFrame.h: nrows() method 5689 * include/Rcpp/vector/RangeIndexer.h: now derives from VectorBase so 5690 that we can use it in sugar. 5691 56922012-11-22 JJ Allaire <jj@rstudio.org> 5693 5694 * include/exceptions.h: new exception constructor / stop function 5695 * src/exceptions.cpp: new exception constructor / stop function 5696 * include/RcppCommon.h: new exception constructor / stop function 5697 56982012-11-22 Romain Francois <romain@r-enthusiasts.com> 5699 5700 * include/Rcpp/iostream.h: use delete rdbuf() as recommended by 5701 Martyn Plummer 5702 * include/Rcpp/sugar/functions/self_match.h: self_match, giving a 5703 functionality similar to match( x, unique(x) ) 5704 * src/coerce.cpp: added coercion to STRSXP 5705 * include/Rcpp/internal/r_coerce.h : added r_coerce<.,STRPSXP> 5706 * include/Rcpp/sugar/functions/table.h: sugar table 5707 * include/Rcpp/sugar/functions/duplicated.h: sugar duplicated 5708 57092012-11-21 JJ Allaire <jj@rstudio.org> 5710 5711 * R/Rcpp.package.skeleton.R: add 'attributes' and 'cpp_files' 5712 parameters to Rcpp.pacakge.skeleton 5713 * inst/skeleton/rcpp_hello_world_attributes.cpp: version of hello world 5714 that uses attributes 5715 * man/Rcpp.package.skeleton.Rd: doc updates 5716 * inst/doc/Rcpp-attributes/Rcpp-attributes.Rnw: doc updates 5717 * DESCRIPTION: bump version to 0.10.0.3 5718 57192012-11-21 Dirk Eddelbuettel <edd@debian.org> 5720 5721 * inst/examples/Misc/piBySimulation.r: New simple example using Rcpp 5722 attributes in a 'compute pi by simulation in R and C++' exercise 5723 * inst/examples/Misc/piSugar.cpp: Corresponding C++ variant 5724 57252012-11-21 Romain Francois <romain@r-enthusiasts.com> 5726 5727 * include/Rcpp/iostream/Rostream.h: Fix warning given by -Wreorder 5728 * include/Rcpp/sugar/functions/mapply/mapply_3.h: more flexible 5729 * include/Rcpp/vector/Vector.h: More efficient assign_object, which 5730 is used in the assignment operator 5731 * include/Rcpp/sugar/functions/clamp.h: added clamp function 5732 57332012-11-20 JJ Allaire <jj@rstudio.org> 5734 5735 * src/Attributes.cpp: ensure dynlib cache state is always updated 5736 * inst/doc/Rcpp-attributes/Rcpp-attributes.Rnw: elaborate further 5737 on exporting C++ interfaces from packages 5738 57392012-11-20 Romain Francois <romain@r-enthusiasts.com> 5740 5741 * include/Rcpp/iostream/Rostream.h: change order of initiaization in 5742 ctor. was making solaris compiler unhappy 5743 * include/Rcpp/stats/random/rnorm.h: not using function pointer 5744 generators, as this generates (anachronisms) warning on 5745 solaris. Also, this version is more efficient since there is no need 5746 to dereference the function pointer 5747 57482012-11-19 JJ Allaire <jj@rstudio.org> 5749 5750 * src/AttributesParser.h: support for argument default values 5751 * src/AttributesParser.cpp: support for argument default values 5752 * src/Attributes.cpp: support for argument default values 5753 * man/exportAttribute.Rd: documentation updates 5754 * man/compileAttributes.Rd: documentation updates 5755 * man/sourceCpp.Rd: documentation updates 5756 * inst/doc/Rcpp-attributes/Rcpp-attributes.Rnw: add documentation 5757 on changes to attributes in 0.10.1 5758 57592012-11-18 JJ Allaire <jj@rstudio.org> 5760 5761 * R/Attributes.R: sourceCpp embedded R code; print warning if no 5762 export attributes are found in source file 5763 * src/AttributesParser.h: sourceCpp embedded R code 5764 * src/AttributesParser.cpp: sourceCpp embedded R code; new scheme 5765 for mixing user and generated C++ headers 5766 * src/Attributes.cpp: sourceCpp embedded R code; include <Rcpp.h> 5767 above generated modules 5768 * man/sourceCpp.Rd: documentation updates 5769 * man/interfacesAttribute.Rd: documentation updates 5770 57712012-11-18 Romain Francois <romain@r-enthusiasts.com> 5772 5773 * include/Rcpp/vector/converter.h: allow CharacterVector::create( 5774 NA_STRING ) 5775 * include/Rcpp/sugar/functions/mapply/mapply_2.h: more cases in mapply 5776 57772012-11-17 Dirk Eddelbuettel <edd@debian.org> 5778 5779 * inst/doc/Rcpp-modules/Rcpp-modules.Rnw: Change free function name 5780 'range' to 'uniformRange' to protect it from getting clobbered by the 5781 new sugar function range. 5782 57832012-11-17 Romain Francois <romain@r-enthusiasts.com> 5784 5785 * include/Rcpp/internal/wrap_end.h: have calls to wrap as late as 5786 possible so that they "see" all (potentially user defined) overloads 5787 of wrap. 5788 * include/Rcpp/internal/SEXP_Iterator.h: directly iterate over SEXP. 5789 const iterator for List and ExpressionVector 5790 57912012-11-16 Romain Francois <romain@r-enthusiasts.com> 5792 5793 * include/Rcpp/vector/Vector.h : added static methods Vector::is_na 5794 and Vector::get_na 5795 * include/Rcpp/sugar/functions/setdiff.h: initial version of setdiff 5796 and intersect 5797 * include/Rcpp/vector/MatrixColumn.h: dealing with const-ness 5798 * include/Rcpp/vector/MatrixRow.h: dealing with const-ness 5799 * include/Rcpp/vector/traits.h: dealing with const-ness 5800 * include/Rcpp/vector/proxy.h: dealing with const-ness 5801 * include/Rcpp/vector/MatrixBase.h: dealing with const-ness 5802 * include/Rcpp/vector/Vector.h: dealing with const-ness 5803 58042012-11-15 Romain Francois <romain@r-enthusiasts.com> 5805 5806 * include/Rcpp/sugar/logical/SingleLogicalResult.h : apply patch 5807 suggested by Karl Millar 5808 * R/Attributes.R: new R function areMacrosDefined 5809 * man/evalCpp.Rd: documentation update 5810 * include/Rcpp/sugar/functions/match.h : generic version of match 5811 * include/Rcpp/sugar/tools/iterator.h: help iterator that helps 5812 writing match in terms of stl algorithms. 5813 * include/Rcpp/vector/Vector.h: class no_init that can be used to create 5814 an uninitialized vector. e.g. IntegerVector out = no_init(10) ; 5815 * include/Rcpp/sugar/functions/unique.h: sugar version of %in% using 5816 unordered_set 5817 * include/Rcpp/sugar/functions/minmax.h: min, max, and range 5818 58192012-11-14 JJ Allaire <jj@rstudio.org> 5820 5821 * src/Attributes.cpp: create sourceCpp context list using single 5822 statement 5823 58242012-11-14 Dirk Eddelbuettel <edd@debian.org> 5825 5826 * inst/announce/ANNOUNCE-0.10.0.txt: Fix typo spotted by Martin 5827 Morgan in announcement mail 5828 58292012-11-14 Romain Francois <romain@r-enthusiasts.com> 5830 5831 * include/Rcpp/internal/wrap.h: fix for wrap( std::complex<double> ) 5832 * include/Rcpp/module/class_Base.h: factored out from Module.h 5833 * R/00_classes.R: the C++Class gains the parents slot to hold information 5834 about parent classes of the class 5835 * src/Module.cpp : The CppClass constructor fills the parents slot of C++Class 5836 58372012-11-13 Dirk Eddelbuettel <edd@debian.org> 5838 5839 * DESCRIPTION: Release 0.10.0 5840 * inst/NEWS: Release 0.10.0 5841 * inst/include/Rcpp/config.h: Release 0.10.0 5842 * debian/*: Similarly updated for new release to Debian 5843 58442012-11-13 Romain Francois <romain@r-enthusiasts.com> 5845 5846 * include/Rcpp/as.h: as<enum> 5847 * include/Rcpp/internal/wrap.h : wrap( enum ) 5848 * include/Rcpp/traits/wrap_type_traits.h: trait to help wrap( enum ) 5849 * include/Rcpp/traits/r_type_traits.h: trait to help as<enum> 5850 * include/Rcpp/module/macros.h: macros RCPP_EXPOSED_ENUM to help as/wrap 5851 of enums 5852 58532012-11-12 Dirk Eddelbuettel <edd@debian.org> 5854 5855 * inst/announce/ANNOUNCE-0.10.0.txt: Announcement draft 5856 58572012-11-12 JJ Allaire <jj@rstudio.org> 5858 5859 * inst/doc/Rcpp-attributes/*: New vignette 5860 58612012-11-12 Romain Francois <romain@r-enthusiasts.com> 5862 5863 * include/Rcpp/vector/Vector.h : adding const_iterator and associated 5864 begin() and end() methods 5865 * include/Rcpp/vector/Matrix.h : idem 5866 58672012-11-11 JJ Allaire <jj@rstudio.org> 5868 5869 * src/Attributes.cpp: fully qualify _ in generated code 5870 58712012-11-11 Romain Francois <romain@r-enthusiasts.com> 5872 5873 * include/Rcpp/iostream/Rstreambuf.h: implementing sync() so that 5874 flush works 5875 * src/Rstreambuf.cpp: implementation 5876 * src/Rostream.cpp : added Rcerr that forwards to REprintf 5877 58782012-11-10 JJ Allaire <jj@rstudio.org> 5879 5880 * R/Attributes.R: ensure function definitions are never stale 5881 * src/Attributes.cpp: add optional hook for inclusion of package types 5882 * examples/Attributes/Export.cpp: example use of Rcpp::export 5883 * examples/Attributes/Depends.cpp: example use of Rcpp::depends 5884 * examples/Attributes/sourceCpp.R: example use of sourceCpp() 5885 * examples/Attributes/cppFunction.R: example use of cppFunction() 5886 58872012-11-09 Romain Francois <romain@r-enthusiasts.com> 5888 5889 * R/Attributes.R: Passing verbose from evalCpp to cppFunction 5890 * include/RcppCommon.h: include <limits> instead of <limits.h> 5891 * include/Rcpp/vector/CharacterVectorExtractionIterator.h: iterator 5892 class to quickly iterate over the content of a CharacterVector. The 5893 content that is iterated over is to be considered read-only. 5894 58952012-11-08 JJ Allaire <jj@rstudio.org> 5896 5897 * R/Attributes.R: special sourceCpp handling for file within the src 5898 directory of a package; use .h as suffix for generated headers 5899 * src/Attributes.cpp: add information on arguments to Rcpp module; 5900 use inline rather than static linkage for generated C++ shims; 5901 generated headers: add header guard and use .h suffix; 5902 * man/cppFunction.Rd: update documentation 5903 * man/sourceCpp.Rd: update documentation 5904 * man/evalCpp.Rd: update documentation 5905 * man/exportAttribute.Rd: update documentation 5906 * man/interfacesAttribute.Rd: update documentation 5907 5908 59092012-11-08 Romain Francois <romain@r-enthusiasts.com> 5910 5911 * R/Module.R: Module functions taking no arguments don't get the ellipsis 5912 anymore in their formals 5913 * src/Module.cpp: passing up the number of arguments of the function 5914 * R/Attributes.R: added evalCpp 5915 * man/evalCpp.Rd: documentation for evalCpp 5916 59172012-11-07 JJ Allaire <jj@rstudio.org> 5918 5919 * R/Attributes.R: derive depends from package LinkingTo; change 5920 sourceCpp plugin parameter to depends and respect Rcpp::interfaces 5921 generated include files 5922 * src/Attributes.cpp: validate exported C++ functions before calling; 5923 use static rather than inline for stubs to avoid call-site bloat; 5924 improved error message when package hpp already exists; import Rcpp 5925 namespace into package shim namespace 5926 * src/AttributesParser.h: add signature and isHidden methods 5927 * src/AttributesParser.cpp: add signature and isHidden methods 5928 * src/exceptions.cpp: add function_not_exported exception 5929 * include/Rcpp/exceptions.h: add function_not_exported exception 5930 * man/cppFunction.Rd: update documentation 5931 * man/sourceCpp.Rd: update documentation 5932 * man/compileAttributes.Rd: update documentation 5933 * man/dependsAttribute.Rd: update documentation 5934 * man/exportAttribute.Rd: update documentation 5935 * man/interfacesAttribute.Rd: update documentation 5936 59372012-11-07 Romain Francois <romain@r-enthusiasts.com> 5938 5939 * src/Language.cpp: Language gains a fast_eval method, without the whole try/catch 5940 * src/barrier.cpp: function char_nocheck to avoid the check in using CHAR 5941 * include/Rcpp/sugar/functions/unique.h: sugar unique and sort_unique 5942 using unordered_set (perhaps we could use it from c++11). 5943 59442012-11-06 JJ Allaire <jj@rstudio.org> 5945 5946 * R/Attributes.R: tweak whitespace in verbose mode 5947 * src/AttributesParser.h: support for interfaces attribute 5948 * src/AttributesParser.cpp: support for interfaces attribute 5949 * src/Attributes.cpp: support for interfaces attribute; refactor 5950 code generators; use single module for exports; return list of 5951 updated files from compileAttributes 5952 * src/Module.cpp: add package parameter to GetCppCallable 5953 * include/Rcpp/Module.h: add package parameter to GetCppCallable 5954 * man/compileAttributes.Rd: documentation updates 5955 59562012-11-05 Romain Francois <romain@r-enthusiasts.com> 5957 5958 * include/Rcpp/Module.h: added class CppInheritedProperty to handle 5959 inherited properties 5960 * include/Rcpp/module/class.h: implemented inheritance of properties 5961 59622012-11-05 JJ Allaire <jj@rstudio.org> 5963 5964 * R/Attributes.R: use modules for attribute code generation 5965 * src/Attributes.cpp: use modules for attribute code generation 5966 * src/AttributesParser.h: use modules for attribute code generation 5967 * src/AttributesParser.cpp: use modules for attribute code generation 5968 59692012-11-04 Dirk Eddelbuettel <edd@debian.org> 5970 5971 * tests/doRUnit.R: In "development releases" (such as 0.9.15.5) we 5972 now default to setting the required CRAN-test-workaround-kludge 5973 "RunAllRcppTests" to "yes" as a default -- but not for actual 5974 releases (with versions such as 0.9.15) 5975 59762012-11-04 Romain Francois <romain@r-enthusiasts.com> 5977 5978 * include/Rcpp/module/CppFunction.h: fixed module bug (virtual function 5979 was not defined) 5980 59812012-11-03 JJ Allaire <jj@rstudio.org> 5982 5983 * Use CLINK_CPPFLAGS rather than PKG_CXXFLAGS for LinkingTo 5984 include directories (identical behavior to inline) 5985 59862012-11-03 Romain Francois <romain@r-enthusiasts.com> 5987 5988 * include/Rcpp/sugar/functions/which_min.h : sugar which.min 5989 * include/Rcpp/sugar/functions/which_max.h : sugar which.max 5990 * include/Rcpp/module/Module.h : added get_function_ptr which returns 5991 the pointer of the target function as a DL_FUNC 5992 59932012-11-02 Dirk Eddelbuettel <edd@debian.org> 5994 5995 * inst/unitTests/runit.rmath.R: More tests added 5996 59972012-11-02 Romain Francois <romain@r-enthusiasts.com> 5998 5999 * include/Rcpp/module/CppFunction.h : factored CppFunction in its own 6000 file and added the get_function_ptr virtual method. added 6001 documentation 6002 * include/Rcpp/module/Module_generated_CppFunction.h: implementation 6003 of get_function_ptr in classes that derive CppFunction 6004 * src/Module.cpp: s/get_function_ptr/get_function/ 6005 * include/Rcpp/module/Module.h : factored out and documented. 6006 s/get_function_ptr/get_function/ 6007 60082012-11-01 Dirk Eddelbuettel <edd@debian.org> 6009 6010 * inst/unitTests/runit.rmath.R: New unit test file added 6011 60122012-11-01 JJ Allaire <jj@rstudio.org> 6013 6014 * R/Attributes.R: change 'envir' param to 'env' for consistency with 6015 the interface of loadModule 6016 * man/sourceCpp.Rd: documentation updates 6017 * man/cppFunction.Rd: documentation updates 6018 60192012-11-01 Romain Francois <romain@r-enthusiasts.com> 6020 6021 * include/Rcpp/sugar/logical/or.h : implementing x | y where x and y 6022 are Logical sugar expressions 6023 * include/Rcpp/sugar/logical/and.h : implementing x & y where x and y 6024 are Logical sugar expressions 6025 60262012-10-31 JJ Allaire <jj@rstudio.org> 6027 6028 * R/Attributes.R: add cppFunction for inline-style definitions; 6029 change 'local' param to (more clear and explicit) 'envir' param; 6030 change 'show.output' param to 'showOutput'; add parameter to 6031 onBuild hook to indicate if the source was from a 'code' parameter 6032 * src/Attributes.cpp: factored parser into it's own file 6033 * src/AttributesParser.h: attributes parser header 6034 * src/AttributesParser.cpp: attributes parser implementation 6035 * man/sourceCpp.Rd: documentation updates 6036 * man/compileAttributes.Rd: documentation updates 6037 * man/cppFunction.Rd: documentation for cppFunction 6038 * NAMESPACE: export for cppFunction 6039 60402012-10-31 Romain Francois <romain@r-enthusiasts.com> 6041 6042 * include/Rcpp/module/class.h: factored out of Module.h which started to 6043 be too big. class_ gains a derives<Parent>( "Parent" ) for so that the 6044 class inherits method that were exposed by its parent. 6045 * include/Rcpp/Module.h: template class CppInheritedMethod for 6046 implementing inherited method 6047 * src/Module.cpp: get_class_pointer implementation 6048 60492012-10-30 Dirk Eddelbuettel <edd@debian.org> 6050 6051 * inst/include/Rcpp/Rmath.h: Finalised adding Rmath functions 6052 60532012-10-30 JJ Allaire <jj@rstudio.org> 6054 6055 * R/Attributes.R: new functions sourceCpp and compileAttributes that 6056 use C++11 style attributes (embedded in comments) to perform 6057 automatic generation of boilerplate marshaling code 6058 * src/Attributes.cpp: support functions for attribute handling 6059 * include/Rcpp/exceptions.h: file io exception classes 6060 * man/sourceCpp.Rd: documentation for sourceCpp 6061 * man/compileAttributes.Rd: documentation for compileAttributes 6062 * man/exportAttriute.Rd: documentation for export attribute 6063 * man/dependsAttribute.Rd: documentation for depends attribute 6064 * NAMESPACE: exports for sourceCpp and compileAttributes 6065 60662012-10-30 Romain Francois <romain@r-enthusiasts.com> 6067 6068 * include/Rcpp/as.h: new bare_as to simplify uses of as 6069 * include/Rcpp/module/Module_generated_Factory.h: using bare_as 6070 * R/Module.R: promoting the show method 6071 * src/Attributes.cpp: remove g++ warning (int != size_t) 6072 60732012-10-29 Dirk Eddelbuettel <edd@debian.org> 6074 6075 * inst/include/Rcpp/Rmath.h: More Rmath functions 6076 60772012-10-29 Romain Francois <romain@r-enthusiasts.com> 6078 6079 * R/Module.R: Taking care of a check warning 6080 * include/Rcpp/module/macros.h: adding RCPP_EXPOSED_CLASS_NODECL 6081 * include/Rcpp/Module.h: introducing converter to facilitate 6082 conversion between classes. 6083 * R/Module.R: Methods registered internally with converter will 6084 generate the appropriate "as" S4 method. 6085 60862012-10-28 Dirk Eddelbuettel <edd@debian.org> 6087 6088 * inst/include/Rcpp/Rmath.h: Beginnings of a namespave 'R' around 6089 Rmath functions so that Rcpp users can call the (scalar) functions 6090 R::pnorm() which helps with adapting or integrating programs writting 6091 outside of Rcpp 6092 60932012-10-27 Dirk Eddelbuettel <edd@debian.org> 6094 6095 * inst/include/Rcpp/module/macros.h: Add forward declaration of class 6096 to macro 'RCPP_EXPOSED_CLASS' 6097 60982012-10-25 Romain Francois <romain@r-enthusiasts.com> 6099 6100 * include/Rcpp/internal/wrap.h: wrapping module object with the help 6101 of the RCPP_EXPOSED_CLASS 6102 * include/Rcpp/module/macros.h: improving the macros so that wrap and 6103 as are covered 6104 * include/Rcpp/traits/wrap_type_traits.h: wrapping module objects 6105 * include/Rcpp/module/Module_generated_class_factory.h : factories 6106 are alternatives to constructors. For now, we can expose as factories 6107 any free function that returns a pointer to the target class 6108 * include/Rcpp/module/Module_generated_Factory.h : factories 6109 * include/Rcpp/Module.h: exposing factories 6110 61112012-10-24 Romain Francois <romain@r-enthusiasts.com> 6112 6113 * include/Rcpp/traits/is_pointer.h: traits to identify if a type is a 6114 pointer 6115 * include/Rcpp/traits/un_pointer.h: traits to remove a pointer 6116 * include/Rcpp/module/Module_generated_get_return_type.h : handle 6117 pointer return types 6118 * include/Rcpp/config.h: define RCPP_HAS_DEMANGLING for MAC OS <= 6119 10.7 (up to Lion) 6120 * include/Rcpp/module/macros.h: new file that contains macro to help 6121 with modules 6122 * include/Rcpp/traits/r_type_traits.h : new tag to allow as<T> where 6123 T is some class exposed in a module 6124 * include/Rcpp/as.h : implementation of as<T> in that case 6125 61262012-10-23 Romain Francois <romain@r-enthusiasts.com> 6127 6128 * include/Rcpp/internal/wrap.h: new function module_wrap used 6129 internally by modules 6130 * include/Rcpp/module/Module_generated_CppMethod.h: using module_wrap 6131 and simplified the code (removing 35% of the generated code now 6132 rendered useless) 6133 * include/Rcpp/module/Module_generated_PointerCppMethod.h: using 6134 module_wrap and simplified the code 6135 * include/Rcpp/traits/module_wrap_traits.h : new file. helping 6136 implementation of module_wrap 6137 6138 * R/00_classes.R: C++OverloadedMethods gets the field "nargs" to 6139 capture the number of arguments 6140 6141 * R/01_show.R: cleanup 6142 6143 * R/Module.R: handle the case where a method has no argument. In that 6144 case, the ellipsis does not end up in the formals 6145 6146 * include/Rcpp/Module.h: exposing nargs in C++OverloadedMethods 6147 61482012-10-22 Romain Francois <romain@r-enthusiasts.com> 6149 6150 * include/Rcpp/as.h: support for as<> for module objects 6151 * include/Rcpp/Module.h: idem 6152 * include/Rcpp/traits/r_type_traits.h: idem 6153 * src/Module.cpp: idem 6154 61552012-10-21 Romain Francois <romain@r-enthusiasts.com> 6156 6157 * include/Rcpp/traits/wrap_type_traits.h: support for wrapping module objects 6158 * include/Rcpp/internal/wrap.h : idem 6159 * include/Rcpp/Module.h: idem 6160 61612012-10-13 Dirk Eddelbuettel <edd@debian.org> 6162 6163 * DESCRIPTION: Release 0.9.15 6164 * inst/NEWS: Release 0.9.15 6165 * inst/include/Rcpp/config.h: Release 0.9.15 6166 * debian/*: Similarly updated for new release to Debian 6167 61682012-10-08 Dirk Eddelbuettel <edd@debian.org> 6169 6170 * src/exceptions.cpp: Additional PROTECT for parsing exception 6171 messages before returning them to R, from a suggestion by Ben North 6172 61732012-10-07 Dirk Eddelbuettel <edd@debian.org> 6174 6175 * inst/unitTests/runit.Date.R: Added a few more tests 6176 61772012-10-06 Dirk Eddelbuettel <edd@debian.org> 6178 6179 * inst/include/Rcpp/Date.h: Dates are now represented as doubles, 6180 also added accessor functions for double and retained int 6181 6182 * src/Date.cpp: Convert from SEXP to double, added constructor from 6183 double and added checks for 'finite' representation before converting 6184 to 'struct tm' adding support for NA, NaN and Inf 6185 6186 * src/DateVector.cpp: Instantiate Date types as double 6187 6188 * src/Datetime.cpp: Also added support for NA, NaN and Inf values 6189 6190 * inst/unitTests/runit.Date.R: A few additional tests 6191 61922012-10-05 Dirk Eddelbuettel <edd@debian.org> 6193 6194 * src/exceptions.cpp: Applied patch by Martin Morgan which untangles 6195 the clang includes driven by version, and uses direct tests for 6196 presence of the header file 6197 * inst/include/RcppCommon.h: No longer define CLANG version meta 6198 variables as we can directly include the relevant header 6199 62002012-09-30 Dirk Eddelbuettel <edd@debian.org> 6201 6202 * DESCRIPTION: Release 0.9.14 6203 * inst/NEWS: Release 0.9.14 6204 * inst/include/Rcpp/config.h: Release 0.9.14 6205 * debian/*: Similarly updated for new release to Debian 6206 62072012-09-08 Dirk Eddelbuettel <edd@debian.org> 6208 6209 * inst/unitTests/runit.sugarOps.R: More sugar Ops unit tests 6210 62112012-09-07 Dirk Eddelbuettel <edd@debian.org> 6212 6213 * inst/unitTests/runit.sugarOps.R: (Incomplete) beginnings of new 6214 unit test file for sugar operations on vectors and matrices 6215 62162012-09-07 Romain Francois <romain@r-enthusiasts.com> 6217 6218 * inst/include/Rcpp/sugar/functions/sign.h: Sign gets a SEXP operator 6219 62202012-09-03 Dirk Eddelbuettel <edd@debian.org> 6221 6222 * inst/include/Rcpp/sugar/functions/math.h: Added new sugar 6223 function trunc(), round() and signif() 6224 * inst/unitTests/runit.sugar.R: Added unit tests for these 6225 62262012-09-01 Dirk Eddelbuettel <edd@debian.org> 6227 6228 * inst/doc/Makefile: The 'all' target is now empty to prevent 6229 autobuilders such as R-Forge from falling over 6230 62312012-07-23 Dirk Eddelbuettel <edd@debian.org> 6232 6233 * R/bib.R: Trim the trailing ".bib" from the generated bibtex 6234 filename as Windows adds one anyway leading to two and an error 6235 62362012-07-21 Dirk Eddelbuettel <edd@debian.org> 6237 6238 * inst/include/Rcpp/Module.h (Rcpp): Corrected typo / incomplete 6239 reference in finalizer use 6240 62412012-07-06 Dirk Eddelbuettel <edd@debian.org> 6242 6243 * inst/include/Rcpp/config.h: In order to not attempt to include 6244 exception_defines.h if on OS X (as the clang runtime may not have 6245 predictable access to g++ headers providing these), do not define 6246 RCPP_HAS_DEMANGLING which is used in src/exceptions.cpp 6247 62482012-06-28 Dirk Eddelbuettel <edd@debian.org> 6249 6250 * DESCRIPTION: Release 0.9.13 6251 * inst/NEWS: Release 0.9.13 6252 * inst/include/Rcpp/config.h: Release 0.9.13 6253 * debian/*: Similarly updated for new release to Debian 6254 6255 * tests/doRUnit.R: Updated, added (by default commented-out) setting 6256 to enforce all tests to run, added standard copyright headers noting 6257 heritage off work by Martin Maechler and Gregor Gorjanc 6258 6259 * inst/unitTests/runTests.R: Only check environment variable to run 6260 all tests if it is not already set (to cooperate with doRUnit.R) 6261 62622012-06-27 Dirk Eddelbuettel <edd@debian.org> 6263 6264 * src/Environment.cpp: Default ctor initializes its RObject with 6265 R_GlobalEnv; SEXP constructor does not use a default arg as it tests 6266 * inst/include/Rcpp/Environment.h: Corresponding change 6267 6268 * inst/include/RcppCommon.h: #define(s) for before/after clang++ 3.0 6269 6270 * src/exceptions.cpp: Added support for clang++ (>= 3.0) which (just 6271 like g++ 4.6 or later) needs bits/exceptions_defines 6272 6273 * inst/unitTests/runit.modref.R: re-activated 6274 * inst/unitTests/runit.Module.client.package.R: re-activated core 6275 6276 * inst/unitTests/runit.modref.R: Run only if RunAllCppTests var set 6277 * inst/unitTests/runit.Module.client.package.R: Idem 6278 * inst/unitTests/runit.support.R: Idem 6279 * inst/unitTests/runit.rcout.R: Idem 6280 * inst/unitTests/runit.environments.R: Idem 6281 * inst/unitTests/runit.Language.R: Idem 6282 * inst/unitTests/runit.Function.R: Idem 6283 62842012-06-23 Dirk Eddelbuettel <edd@debian.org> 6285 6286 * DESCRIPTION: Release 0.9.12 6287 * inst/NEWS: Release 0.9.12 6288 * inst/include/Rcpp/config.h: Release 0.9.12 6289 * debian/*: Similarly updated for new release to Debian 6290 6291 * src/Environment.cpp: Remove empty constructor which is redundant 6292 since fix in rev3592 with default SEXP value of R_GlobalEnv 6293 * inst/include/Rcpp/Environment.h: Idem 6294 6295 * inst/unitTests/runTests.R (allTests): Command-line flag --allTests 6296 sets an environment variable indicating that all tests should run 6297 6298 * inst/unitTests/runit.Module.R: Run only if RunAllCppTests var set 6299 * inst/unitTests/runit.Module.client.package.R: Idem 6300 * inst/unitTests/runit.client.package.R: Idem 6301 * inst/unitTests/runit.XPtr.R: Idem 6302 * inst/unitTests/runit.macros.R: Idem 6303 6304 * inst/doc/unitTests/Rcpp-unitTests.R: Ensure Rcpp-unitTests 6305 vignette is built with RunAllCppTests flag set 6306 6307 * cleanup: Also clean in inst/unitTests/testRcppClass/src 6308 6309 * DESCRIPTION: Set Maintainer: to edd@debian.org as CRAN prefers to 6310 receive upload email from the same address the Maintainer field 6311 63122012-06-22 Dirk Eddelbuettel <edd@debian.org> 6313 6314 * DESCRIPTION: Release 0.9.11 6315 * inst/NEWS: Release 0.9.11 6316 * inst/include/Rcpp/config.h: Release 0.9.11 6317 * debian/*: Similarly updated for new release to Debian 6318 6319 * DESCRIPTION: Increased Depends to R (>= 2.15.1) 6320 63212012-06-21 Dirk Eddelbuettel <edd@debian.org> 6322 6323 * inst/doc/Rcpp-modules/Rcpp-modules.Rnw: Updated to reflect use 6324 under R 2.15.1 6325 * inst/skeleton/zzz.R: Idem 6326 63272012-06-20 Dirk Eddelbuettel <edd@debian.org> 6328 6329 * R/loadRcppModules.R: Use lib.loc= argument on packageDescription() 6330 as suggested by Kurt, and fetch libname from enclosing environment 6331 6332 * DESCRIPTION: Typo and grammar fixes with thanks to Kurt and Doug 6333 63342012-05-25 Dirk Eddelbuettel <edd@debian.org> 6335 6336 * inst/skeleton/zzz.R: Added new 'evalqOnLoad()' call for R-devel, 6337 currently commented out 6338 63392012-05-24 Dirk Eddelbuettel <edd@debian.org> 6340 6341 * inst/skeleton/Num.cpp: Added to Rcpp.package.skeleton(); will be 6342 added when module=TRUE in call 6343 * inst/skeleton/stdVector.cpp: Idem 6344 6345 * inst/unitTests/testRcppModule/src/rcpp_module.cpp: added more 6346 comments, added copyright header, corrected output of example 6347 functions by not escaping "backslash-n" twice 6348 * inst/unitTests/testRcppModule/src/stdVector.cpp: added some 6349 comments, added copyright header 6350 * inst/unitTests/testRcppModule/src/Num.cpp: Idem 6351 6352 * inst/unitTests/runit.Module.client.package.R: Added four simple 6353 tests for Rcpp Modules 6354 6355 * inst/doc/Rcpp-modules/Rcpp-modules.Rnw: Some extensions and 6356 clarifications added 6357 63582012-05-13 Dirk Eddelbuettel <edd@debian.org> 6359 6360 * inst/include/Rcpp/iostream/Rostream.h: Added Rstreambuf.h include 6361 as per rcpp-devel discussion with Alexey Stukalov 6362 63632012-05-09 Dirk Eddelbuettel <edd@debian.org> 6364 6365 * inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Expanded R CMD SHLIB discussion 6366 after suggested changes from SC8ren HC8jsgaard; also expanded compiler 6367 section a little mentioning clang/clang++ and icc. 6368 63692012-05-02 Dirk Eddelbuettel <edd@debian.org> 6370 6371 * src/Environment.cpp: Move one default argument to Environment.h 6372 * src/Function.cpp: Move one default argument to Function.h 6373 * inst/THANKS: Thanks to Anirban Mukherjee for these two changes 6374 63752012-04-28 John M Chambers <jmc@r-project.org> 6376 6377 * R/RcppClass.R: use globalVariables() from R 2.15.1 (with exists() 6378 test to no break older versions) to declare C++ fields and methods 6379 * inst/unitTests/testRcppClass/R/load.R: test use 6380 63812012-04-22 Dirk Eddelbuettel <edd@debian.org> 6382 6383 * src/debugging.cpp: Expanded 'if defined()' test to included Cygwin 6384 thanks to a patch submitted by Dario Buttari 6385 63862012-04-19 Dirk Eddelbuettel <edd@debian.org> 6387 6388 * src/Evaluator.cpp: errorOccuredSym never used and commented out 6389 63902012-04-18 John M Chambers <jmc@r-project.org> 6391 6392 * R/RcppClass.R: New version of setRcppClass, allowing R classes to 6393 extend C++ classes used via Rcpp modules 6394 * R/loadModule.R: New function, replaces uses of .onLoad() 6395 * man/*: Added/updated corresponding documentation 6396 63972012-04-07 Romain Francois <romain@r-enthusiasts.com> 6398 6399 * inst/include/Rcpp/vector/Vector.h: bug fix. reported on Rcpp-devel 6400 http://comments.gmane.org/gmane.comp.lang.r.rcpp/3292 6401 64022012-03-29 Dirk Eddelbuettel <edd@debian.org> 6403 6404 * inst/unitTests/runit.Vector.R: unit test for containsElementNamed 6405 64062012-03-29 Romain Francois <romain@r-enthusiasts.com> 6407 6408 * inst/include/Rcpp/vector/Vector.h: Vector<> gains the 6409 containsElementNamed method to test for presence of named element 6410 64112012-03-24 Romain Francois <romain@r-enthusiasts.com> 6412 6413 * src/cache.cpp: Using a single Rcpp_cache, stored in the Rcpp 6414 namespace 6415 6416 * src/Evaluator.cpp: Using tryCatch instead of rcpp_tryCatch, no more 6417 using .Internal; but still define rcpp_TryCatch for backwards compat. 6418 64192012-03-23 Dirk Eddelbuettel <edd@debian.org> 6420 6421 * inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Added short subsection on how to 6422 test a package from the command-line, expanding a patch by Glenn 6423 Lawyer in response to an initial rcpp-devel post by Dirk 6424 64252012-02-16 Dirk Eddelbuettel <edd@debian.org> 6426 6427 * DESCRIPTION: Release 0.9.10 6428 * inst/NEWS: Release 0.9.10 6429 * inst/include/Rcpp/config.h: Release 0.9.10 6430 * debian/*: Similarly updated for new release to Debian 6431 64322012-02-16 Douglas Bates <bates@stat.wisc.edu> 6433 6434 * src/Evaluator.cpp: PROTECT the expr argument to Evaluator::Run. 6435 Reorganize code. 6436 64372011-12-15 Douglas Bates <bates@stat.wisc.edu> 6438 6439 * src/Evaluator.cpp: Avoid Rf_install inside an R API call 6440 64412012-02-12 Dirk Eddelbuettel <edd@debian.org> 6442 6443 * R/excections.R: Revert to previous use with .Internal 6444 * R/tools.R: Add branch for R 2.15.0 which can use 6445 assingInMyNamespace; else still use unlockBinding 6446 64472012-02-12 Dirk Eddelbuettel <edd@debian.org> 6448 6449 * Rcpp-introduction.Rnw: Small wording fix thanks to Pat Burns 6450 64512012-02-06 Romain Francois <romain@r-enthusiasts.com> 6452 6453 * R/exceptions.R: one less .Internal call 6454 * src/Evaluator.cpp: one less .Internal call 6455 64562012-02-03 Romain Francois <romain@r-enthusiasts.com> 6457 6458 * inst/include/Rcpp/Extractor.h: remove use of Fast in Extractor 6459 6460 * inst/include/Rcpp/sugar/functions/mapply/mapply.h: new sugar 6461 function, similar to sapply, but with 2 or 3 (for now) input vectors 6462 64632012-02-01 Romain Francois <romain@r-enthusiasts.com> 6464 6465 * inst/include/Rcpp/iostream/Rostream.h: no need to include Rcpp.h 6466 here 6467 6468 * inst/include/RcppCommon.h: include Rostream.h here, instead of ... 6469 6470 * inst/include/Rcpp.h: ... here (needed for RcppArmadillo) 6471 64722012-01-29 Romain Francois <romain@r-enthusiasts.com> 6473 6474 * inst/include/Rcpp/sugar/diff.h: custom implementation of diff for the 6475 REALSXP case, skipping unnecessary NA tests 6476 64772012-01-24 Dirk Eddelbuettel <edd@debian.org> 6478 6479 * inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: New FAQ entry on passing a single 6480 option to g++, based on a rcpp-devel question by Whit Armstrong. 6481 64822012-01-15 Romain Francois <romain@r-enthusiasts.com> 6483 6484 * inst/include/Rcpp/vector/Vector.h: fixing IntegerVector(int,int), 6485 reported by Gregor Kastner on rcpp-devel 6486 * inst/unitTests/runit.Vector.R: regression test for the above 6487 64882011-12-25 Dirk Eddelbuettel <edd@debian.org> 6489 6490 * DESCRIPTION: Release 0.9.9 6491 * inst/NEWS: Release 0.9.9 6492 * inst/include/Rcpp/config.h: Release 0.9.9 6493 * debian/*: Similarly updated for new release to Debian 6494 64952011-12-24 Dirk Eddelbuettel <edd@debian.org> 6496 6497 * Reverting the 'int64' changes listed below (during the period from 6498 Oct-31 to Nov-07) which adversely affect packages using Rcpp 6499 We will re-apply the 'int64' changes in a way which should 6500 cooperate more easily with 'long' and 'unsigned long' 6501 This covered svn revisions 3264 to 3308. 6502 6503 * DESCRIPTION: Remove (for now) Depends: on int64 6504 * inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Ditto for int64_t example 6505 6506 * inst/unitTests/runit.Module.client.package.R: On Windows, 6507 deactivate 'test.Module.package' 6508 6509 * inst/unitTests/runit.client.package.R: On Windows, deactivate 6510 'test.client.packageA' test 6511 65122011-12-23 Dirk Eddelbuettel <edd@debian.org> 6513 6514 * inst/unitTests/runTests.R: unit tests output 'fallback' directory 6515 changed to '..' and files are now in top-level of $pkg.Rcheck/ 6516 65172011-12-21 Dirk Eddelbuettel <edd@debian.org> 6518 6519 * DESCRIPTION: Release 0.9.8 6520 * inst/NEWS: Release 0.9.8 6521 * inst/include/Rcpp/config.h: Release 0.9.8 6522 * debian/*: Similarly updated for new release to Debian 6523 65242011-12-20 Dirk Eddelbuettel <edd@debian.org> 6525 6526 * inst/skeleton/zzz.R (.onLoad): correct order of arguments 6527 65282011-12-18 Dirk Eddelbuettel <edd@debian.org> 6529 6530 * inst/examples/FastLM/lmArmadillo.R: Link with -llapack when using 6531 external Armadillo library (but RcppArmadillo makes all this easier) 6532 65332011-12-18 Romain Francois <romain@r-enthusiasts.com> 6534 6535 * inst/doc/*: Fixes to various vignettes for new version of highlight 6536 65372011-12-16 Douglas Bates <bates@stat.wisc.edu> 6538 6539 * inst/unitTests/runit.stats.R: Correct cut+paste typo in qbinom 6540 6541 * inst/include/Rcpp/XPtr.h: Check for XPtr type constructing from SEXP 6542 65432011-12-12 John M Chambers <jmc@r-project.org> 6544 6545 * R/RcppClass.R: Added setRcppClass for classes extending C++ classes 6546 * man/setRcppClass.Rd: Added corresponding documentation 6547 * NAMESPACE: Added corresponding exports entry 6548 65492011-11-13 Dirk Eddelbuettel <edd@debian.org> 6550 6551 * inst/include/Rcpp/stats/f.h: Correct call to not require ncp parameter 6552 6553 * inst/unitTests/runit.stats.R: Add unit tests for pf(), pnf(), 6554 pchisq(), pnchisq() and pcauchy() 6555 65562011-11-07 Romain Francois <romain@r-enthusiasts.com> 6557 6558 * include/Rcpp/internal/wrap.h: implemented wrap_dispatch_importer__impl 6559 for int64 and uint64, needed for RProtoBuf 6560 6561 * inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Add int64_t usage example 6562 65632011-11-06 Romain Francois <romain@r-enthusiasts.com> 6564 6565 * include/Rcpp/modules/Module_generated_Pointer_method.h: added code to deal 6566 with const free "methods", e.g. OUT foo( const Class*, ...) in modules 6567 Before const_method could only deal with actual const methods of the class, 6568 e.g. OUT Class::foo( ... ) const 6569 * include/Rcpp/modules/Module_generated_Pointer_CppMethod.h: idem 6570 * include/Rcpp/as.h: deal with as<int64_t> and as<uint64_t> 6571 * include/Rcpp/internal/export.h : deal with as< some_container<int64_t> > 6572 and as< some_container<uint64_t> > where some_container is some container 6573 that has iterators, e.g. std::vector 6574 65752011-10-31 Romain Francois <romain@r-enthusiasts.com> 6576 6577 * include/Rcpp/int64/int64_lite.h: handling int64_t and uint64_t types, 6578 based on the int64 package 6579 * include/Rcpp/internal/wrap.h: new dispatch layers to handle int64_t, 6580 uint64_t and containers of these 6581 * DESCRIPTION: new depending on int64 6582 65832011-10-28 Dirk Eddelbuettel <edd@debian.org> 6584 6585 * inst/include/Rcpp/iostream/Rostream.h (Rcpp): Added tentative patch 6586 for operator<< also contributed by Jelmer Ypma -- but kept commented 6587 out for now 6588 65892011-10-25 Dirk Eddelbuettel <edd@debian.org> 6590 6591 * src/Rostream.cpp: Patch by Jelmer Ypma which adds a new device 6592 'Rcout' not unlike std::cout but uses Rprintf internally 6593 * src/Rstreambuf.cpp: Idem 6594 * include/include/Rcpp/iostream/Rostream.h: Idem 6595 * include/include/Rcpp/iostream/Rstreambuf.h: Idem 6596 * include/include/Rcpp.h: Include new headers 6597 6598 * inst/unitTests/runit.rcout.R: Added simple unit test 6599 66002011-09-29 Dirk Eddelbuettel <edd@debian.org> 6601 6602 * DESCRIPTION: Release 0.9.7 6603 * inst/NEWS: Release 0.9.7 6604 * inst/include/Rcpp/config.h: Release 0.9.7 6605 * debian/*: Similarly updated for new release to Debian 6606 6607 * inst/include/Rcpp/sugar/block/SugarBlock_1.h: Apply second path by 6608 Martyn Plummer to permit compilation on Solaris 6609 * inst/include/Rcpp/sugar/block/SugarBlock_2.h: Idem 6610 * inst/include/Rcpp/sugar/block/SugarBlock_3.h: Idem 6611 * inst/include/Rcpp/sugar/matrix/outer.h: Idem 6612 * inst/include/Rcpp/vector/LazyVector.h: Idem 6613 * inst/unitTests/testRcppModule/src/stdVector.cpp: Idem 6614 66152011-09-24 Dirk Eddelbuettel <edd@debian.org> 6616 6617 * inst/include/Rcpp/Extractor.h: Apply patch by Martyn Plummer to 6618 help with compilation on Solaris 6619 * inst/include/Rcpp/sugar/block/Vectorized_Math.h: Idem 6620 * inst/include/Rcpp/sugar/functions/math.h: Idem 6621 6622 * inst/include/Rcpp/sugar/block/SugarBlock_2.h: Also applied path by 6623 Martyn Plummer, but with additional #ifdef layer for SunPro Compiler 6624 * inst/include/Rcpp/vector/LazyVector.h: Idem 6625 66262011-08-26 Douglas Bates <bates@stat.wisc.edu> 6627 6628 * inst/examples/OpenMP/OpenMPandInline.r: Added another variant 6629 using import_transform for the Rcpp Vector class. 6630 66312011-08-26 Dirk Eddelbuettel <edd@debian.org> 6632 6633 * inst/include/*h: Removed exception specifiers in function headers 6634 * src/*cpp: Corresponding changes in implementations 6635 6636 * inst/examples/OpenMP/OpenMPandInline.r: Added two std::transform() 6637 variants as suggested in rcpp-devel email by Davor Cubranic 6638 66392011-08-25 Dirk Eddelbuettel <edd@debian.org> 6640 6641 * inst/examples/OpenMP/OpenMPandInline.r: Added new example for 6642 OpenMP via inline, comparing simple loops with plain Rcpp and sugar 6643 66442011-08-23 Dirk Eddelbuettel <edd@debian.org> 6645 6646 * inst/examples/Misc/ifelseLooped.r: Added new example based on blog 6647 post today, and a StackOverflow ansers---and which shows how Rcpp can 6648 accelerate loops that may be difficult to vectorise due to dependencies 6649 6650 * inst/examples/Misc/: New directory for small examples regrouping 6651 the new example as well as the fibonacci example added in Rcpp 0.9.6 6652 66532011-08-17 Dirk Eddelbuettel <edd@debian.org> 6654 6655 * inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Added a short section including an 6656 example on the issue raised by Murray wherein 64 bit 'long' integer 6657 types can be cast with loss to numeric types without error or warning. 6658 66592011-07-28 Dirk Eddelbuettel <edd@debian.org> 6660 6661 * inst/unitTests/runit.Function.R: new unit test for accessing a 6662 non-exported function from a namespace 6663 66642011-07-26 Dirk Eddelbuettel <edd@debian.org> 6665 6666 * DESCRIPTION: Release 0.9.6 6667 * inst/NEWS: Release 0.9.6 6668 * inst/include/Rcpp/config.h: Release 0.9.6 6669 * debian/*: Similarly updated for new release to Debian 6670 66712011-07-24 Dirk Eddelbuettel <edd@debian.org> 6672 6673 * inst/examples/Fibonacci/fib.r: New example showing how to compute a 6674 Fibonacci sequence using Rcpp and compare it to R and byte-compiled R 6675 66762011-07-14 Dirk Eddelbuettel <edd@debian.org> 6677 6678 * inst/examples/RcppGibbs/RcppGibbs.R: New example RcppGibbs, 6679 extending Sanjog Misra's Rcpp illustration of Darren Wilkinson's 6680 comparison of MCMC Gibbs Sampler implementations; 6681 * inst/examples/RcppGibbs/timeRNGs.R: added short timing on Normal 6682 and Gaussian RNG draws between Rcpp and GSL as R's rgamma() is seen 6683 to be significantly slower 6684 66852011-07-13 Romain Francois <romain@r-enthusiasts.com> 6686 6687 * inst/include/Rcpp/traits/is_eigen_base.h: helper traits to 6688 facilitate implementation of the RcppEigen package. The is_eigen_base 6689 traits identifies if a class derives from EigenBase using SFINAE 6690 6691 * inst/include/Rcpp/internal/wrap.h: new layer of dispatch to help 6692 RcppEigen 6693 66942011-07-07 Romain Francois <romain@r-enthusiasts.com> 6695 6696 * inst/include/Rcpp/XPtr.h: The XPtr class template gains a second 6697 template parameter allowing the developper to supply his/her own 6698 finalizer instead of the default one that calls delete 6699 67002011-07-05 Dirk Eddelbuettel <edd@debian.org> 6701 6702 * DESCRIPTION: Release 0.9.5 6703 * inst/NEWS: Release 0.9.5 6704 * inst/include/Rcpp/config.h: Release 0.9.5 6705 * debian/*: Similarly updated for new release to Debian 6706 67072011-07-02 Dirk Eddelbuettel <edd@debian.org> 6708 6709 * cleanup: Also clean in examples/OpenMP/ 6710 67112011-06-09 Dirk Eddelbuettel <edd@debian.org> 6712 6713 * inst/skeleton/zzz.R (.onLoad): Force load of methods package before 6714 calling loadRcppModules() to make 'R CMD check' happier 6715 67162011-06-06 Romain Francois <romain@r-enthusiasts.com> 6717 6718 * inst/include/Rcpp/vector/Vector.h : init becomes protected to fix the bug 6719 reported by Doug Bates on Rcpp-devel. 6720 67212011-05-31 Romain Francois <romain@r-enthusiasts.com> 6722 6723 * R/loadRcppModules.R: New argument "direct" in loadRcppModules 6724 6725 * R/tools.R: New unexported function forceAssignInNamespace 6726 67272011-05-29 Dirk Eddelbuettel <edd@debian.org> 6728 6729 * inst/include/Rcpp/stats/random/rlnorm.h: Repaired accidental header 6730 guard from 'norm' to 'lnorm' so that the file really gets included, 6731 make several calls to standard library 'exp()' explicit as '::exp()' 6732 and fixed a cut-and-paste typo 6733 67342011-05-24 Dirk Eddelbuettel <edd@debian.org> 6735 6736 * inst/include/Rcpp/internal/wrap.h: For arguments of type const char *, 6737 wrap now checks for NULL arguments before calling Rf_mkString() 6738 * unitTests/runit.wrap.R: Added unit test for this 6739 67402011-05-14 Dirk Eddelbuettel <edd@debian.org> 6741 6742 * inst/doc/Rcpp-quickref/Rcpp-quickref.Rnw: Corrected an error in STL 6743 example and added two more STL examples 6744 67452011-04-27 Dirk Eddelbuettel <edd@debian.org> 6746 6747 * inst/examples/OpenMP/piWithInterrupts.cpp: Beginnings of new 6748 contributed example on OpenMP as well as user interrupt handling 6749 67502011-04-26 Romain Francois <romain@r-enthusiasts.com> 6751 6752 * inst/include/Rcpp/sugar/functions/mean.h: new sugar function: mean 6753 6754 * inst/include/Rcpp/sugar/functions/var.h: new sugar function: var 6755 6756 * inst/include/Rcpp/sugar/functions/sd.h: new sugar function: sd 6757 67582011-04-19 Dirk Eddelbuettel <edd@debian.org> 6759 6760 * inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: New example setting row and column 6761 names for matrices 6762 67632011-04-16 Dirk Eddelbuettel <edd@debian.org> 6764 6765 * inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: New example using Rcpp.plugin.maker 6766 67672011-04-12 Dirk Eddelbuettel <edd@debian.org> 6768 6769 * DESCRIPTION: Release 0.9.4 6770 * inst/NEWS: Release 0.9.4 6771 * inst/include/Rcpp/config.h: Release 0.9.4 6772 * debian/*: Similarly updated for new release to Debian 6773 67742011-04-12 Romain Francois <romain@r-enthusiasts.com> 6775 6776 * inst/unitTests/testRcppModules/src/stdVector.cpp: compiler 6777 disambiguation 6778 6779 * src/r_cast.cpp: use a callback to R's "as.character" instead of 6780 calling Rf_coerceVector, which did not work as expected for factors 6781 67822011-04-11 Romain Francois <romain@r-enthusiasts.com> 6783 6784 * R/loadRcppModules.R: New R function "loadRcppModules" that looks 6785 for the "RcppModules" field in the DESCRIPTION file, loads and 6786 populates the modules into the package NAMESPACE 6787 6788 * man/loadRcppModules.Rd: documentation 6789 6790 * inst/unitTests/testRcppModule: using loadRcppModules 6791 67922011-04-11 Dirk Eddelbuettel <edd@debian.org> 6793 6794 * inst/man/Rcpp-package.Rd: Added JSS reference in \references{} 6795 6796 * inst/doc/*: Added JSS reference to vignettes 6797 67982011-04-09 Dirk Eddelbuettel <edd@debian.org> 6799 6800 * inst/CITATION: Finalized using JSS data on volume, number, pages 6801 68022011-04-07 Dirk Eddelbuettel <edd@debian.org> 6803 6804 * inst/doc/Rcpp-quickref/Rcpp-quickref.Rnw: Add patch by Christian 6805 pointing out need for Rcpp:: namespace qualifier, and hint for Rcpp-FAQ 6806 68072011-04-05 Dirk Eddelbuettel <edd@debian.org> 6808 6809 * inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Added OS X entry for min. sufficient 6810 versions of OS X itself and Xode based on Simon's post to rcpp-devel 6811 68122011-04-05 Dirk Eddelbuettel <edd@debian.org> 6813 6814 * DESCRIPTION: Release 0.9.3 6815 * inst/NEWS: Release 0.9.3 6816 * inst/include/Rcpp/config.h: Release 0.9.3 6817 * debian/*: Similarly updated for new release to Debian 6818 68192011-04-05 Romain Francois <romain@r-enthusiasts.com> 6820 6821 * R/01_show.R: set of cosmetic changes to the show method for C++ 6822 classes 6823 6824 * inst/include/Rcpp/Module.h: fixed module bug by not using 6825 singletons of the class_ template 6826 68272011-04-03 Dirk Eddelbuettel <edd@debian.org> 6828 6829 * inst/doc/Rcpp-introduction.Rnw: Updated to forthcoming JSS paper 6830 6831 * inst/CITATION: Added citation() support using forthcoming paper 6832 6833 * inst/doc/Makefile: Trying make parallel builds possible by not calling 6834 'clean' in the 'all' target; thanks to Brian Ripley for the heads-up 6835 68362011-04-02 Dirk Eddelbuettel <edd@debian.org> 6837 6838 * cleanup: Also clean in inst/unitTest/testRcppModule/src/ 6839 6840 * inst/include/RcppCommon.h: Define new variable for g++ < 4.6.0 6841 * src/exceptions.cpp: Include <exception_defines.h> up to g++-4.5 only 6842 6843 * inst/unitTests/testRcppModule/src/stdVector.cpp: Use #ifdef not #if 6844 6845 * inst/include/Rcpp/module/Module_generated_ctor_signature.h: Add a 6846 bit of null-op code to suppress a 'unused parameter' warning in the 6847 initial (and non-templated) ctor_signature() function 6848 68492011-03-21 Dirk Eddelbuettel <edd@debian.org> 6850 6851 * inst/unitTests/testRcppModule/src/stdVector.cpp: Protect push_back 6852 declaration by #ifdef as it conflicts with -std=c++0x use for g++-4.5 6853 68542011-03-17 Dirk Eddelbuettel <edd@debian.org> 6855 6856 * inst/include/RcppCommon.h: Condition the typedef for 'long long' 6857 of rcpp_long_long_type on the (still experimental) support for C++0x 6858 which can be enabled with the non-portable g++ flag '-std=c++0x'; 6859 adding a test for C++0x support suppresses a new warning with g++ about 6860 long long being part of C++98; thanks to Kurt Hornik for raising this 6861 68622011-03-10 Dirk Eddelbuettel <edd@debian.org> 6863 6864 * inst/include/Rcpp/grow.h: Applied another patch kindly supplied by 6865 Murray which fixes another clang/llvm and C++ conformance issue by 6866 re-ordering declarations as unqualified names must be declared before 6867 they are used, even when used within templates. 6868 68692011-02-28 Dirk Eddelbuettel <edd@debian.org> 6870 6871 * inst/doc/Makefile: Call R and Rscript relative to R_HOME/bin 6872 68732011-02-23 Dirk Eddelbuettel <edd@debian.org> 6874 6875 * DESCRIPTION: Release 0.9.2 6876 * inst/NEWS: Release 0.9.2 6877 * inst/include/Rcpp/config.h: Release 0.9.2 6878 * debian/*: Similarly updated for new release to Debian 6879 6880 * inst/include/RcppCommon.h: Apply patch by Alexey Stukalov to enable 6881 basic Intel Compiler support without Cxx0x or TR1 features 6882 6883 * inst/THANKS: Added some Thank You! to Baptiste, Alexey and Ken 6884 6885 * inst/include/Rcpp/Module.h: Minor reworking of module loading 6886 macro to get rid of one g++ warning 6887 68882011-02-22 Dirk Eddelbuettel <edd@debian.org> 6889 6890 * inst/unitTests/runit.Module.client.package.R: Add a test for OS X 6891 10.5.* or older and do not execute the test here as g++ 4.2.1 balks 6892 at some of the Rcpp modules code. Thanks to Simon Urbankek for 6893 pinning this down and Baptiste Auguie for additonal testing. 6894 68952011-02-20 Dirk Eddelbuettel <edd@debian.org> 6896 6897 * inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Added RcppArmadillo example 6898 68992011-02-19 Dirk Eddelbuettel <edd@debian.org> 6900 6901 * inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Added three more setup-related 6902 questions in the first section following another rcpp-devel question 6903 69042011-02-14 Dirk Eddelbuettel <edd@debian.org> 6905 6906 * DESCRIPTION: Release 0.9.1 6907 * inst/NEWS: Release 0.9.1 6908 * inst/include/Rcpp/config.h: Release 0.9.1 6909 * debian/*: Similarly updated for new release to Debian 6910 69112011-02-13 Dirk Eddelbuettel <edd@debian.org> 6912 6913 * inst/include/Rcpp/Module.h: Cache return of Rf_install("Module") in 6914 a static helper function used by the LOAD_RCPP_MODULE macro 6915 69162011-02-11 Dirk Eddelbuettel <edd@debian.org> 6917 6918 * inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Added two more examples 6919 69202011-02-10 Douglas Bates <bates@stat.wisc.edu> 6921 6922 * inst/include/Rcpp/XPtr.h: Replace calls to EXTPTR_PTR with 6923 R_ExternalPtrAddr. The distinction is important when R is 6924 compiled with PROTECTCHECK enabled. 6925 69262011-02-01 Romain Francois <romain@r-enthusiasts.com> 6927 6928 * inst/include/Rcpp/vector/Vector.h: extra PROTECT'ion in several places 6929 69302011-01-25 Dirk Eddelbuettel <edd@debian.org> 6931 6932 * inst/include/Rcpp/DataFrame_generated.h: Assign Rf_install() result 6933 to local SEXP (by modifying generator script creating the file) 6934 * inst/include/Rcpp/DataFrame.h: Assign Rf_install() result to local SEXP 6935 * inst/include/Rcpp/DottedPair.h: idem 6936 * inst/include/Rcpp/grow.h: idem 6937 * inst/include/Rcpp/Module.h: idem 6938 * inst/include/Rcpp/vector/eval_methods.h: idem 6939 * inst/include/Rcpp/vector/Vector.h: idem 6940 69412011-01-25 Douglas Bates <bates@stat.wisc.edu> 6942 6943 * src/exceptions.cpp: Assign Rf_install() result to local SEXP 6944 * src/Evaluator.cpp: idem 6945 * src/Reference.cpp: idem 6946 * src/S4.cpp: idem 6947 6948 * inst/include/Rcpp/Date.h: Use predefined symbol. 6949 69502011-01-22 Dirk Eddelbuettel <edd@debian.org> 6951 6952 * src/cache.cpp: Assign Rf_install() result to local SEXP 6953 * src/Environment.cpp: idem 6954 * src/Evaluator.cpp: idem 6955 * src/Function.cpp: idem 6956 * src/Function.cpp: idem 6957 * src/RObject.cpp: idem 6958 * src/Symbol.cpp: idem 6959 6960 * inst/doc/Rcpp.bib: Added SoDA (some time ago) 6961 69622011-01-13 Douglas Bates <bates@stat.wisc.edu> 6963 6964 * src/Reference.cpp: Protect the value being set in Reference::FieldProxy::set 6965 69662011-01-11 Romain Francois <romain@r-enthusiasts.com> 6967 6968 * inst/include/Rcpp/vector/string_proxy.h: fix implicit conversion to int, 6969 reported by Daniel Sabanes Bove on Rcpp-devel 6970 6971 * inst/unitTests/runit.vector.R: unit test for the above fix 6972 69732011-01-08 Dirk Eddelbuettel <edd@debian.org> 6974 6975 * inst/doc/Rcpp.bib: Updated a number of CRAN versions 6976 69772011-01-07 Dirk Eddelbuettel <edd@debian.org> 6978 6979 * inst/include/Rcpp/config.h (RCPP_VERSION): Set to 0.9.0, at last. 6980 69812011-01-06 Douglas Bates <bates@stat.wisc.edu> 6982 6983 * R/zzz.R (.onLoad): Don't call init_Rcpp_cache here. 6984 6985 * src/Rcpp_init.c: Don't register init_Rcpp_cache. It should only 6986 be called once and it is called in the C function R_init_Rcpp. 6987 6988 * NAMESPACE: Use registered symbols instead of relisting them. 6989 Registration allows for checking the number of arguments. 6990 69912011-01-04 Dirk Eddelbuettel <edd@debian.org> 6992 6993 * src/debugging.cpp: Treat the *BSD flavours like Windows and offer 6994 file and line number but not stack trace (for lack of execinfo) 6995 6996 * src/Makevars: Replace implicit variable $^ with explicit list 6997 69982011-01-02 Dirk Eddelbuettel <edd@debian.org> 6999 7000 * inst/doc/Rcpp-quickref/Rcpp-quickref.Rnw: Applied patch with 7001 additional documentation by Christian Gunning 7002 70032010-12-23 Romain Francois <romain@r-enthusiasts.com> 7004 7005 * inst/include/Rcpp/RObject.h: New internal class SEXPstack to handle 7006 garbage collection. Presumably more efficient than R_PreserveObject 7007 and R_ReleaseObject 7008 7009 * inst/include/Rcpp/sugar/operators/times.h: More efficient operator* 7010 for REALSXP sugar expressions, avoiding unnecessary NA tests. 7011 7012 * inst/include/Rcpp/sugar/operators/divides.h: More efficient 7013 operator/ for REALSXP sugar expressions, avoiding unnecessary NA 7014 tests. 7015 7016 * inst/include/Rcpp/sugar/operators/minus.h: More efficient operator- for 7017 REALSXP sugar expressions, avoiding unnecessary NA tests. 7018 70192010-12-22 Romain Francois <romain@r-enthusiasts.com> 7020 7021 * inst/include/Rcpp/sugar/operators/plus.h: More efficient operator+ 7022 for REALSXP sugar expressions, avoiding unnecessary NA tests. 7023 70242010-12-22 Dirk Eddelbuettel <edd@debian.org> 7025 7026 * inst/unitTests/runit.Vector.R: Applied patch by Christian Gunning 7027 to add more tests for complex-typed vectors 7028 70292010-12-20 Dirk Eddelbuettel <edd@debian.org> 7030 7031 * R/inline.R (Rcpp.plugin.maker): Reverse order in PKG_LIBS 7032 70332010-12-19 Dirk Eddelbuettel <edd@debian.org> 7034 7035 * DESCRIPTION: Release 0.9.0 7036 7037 * debian/*: Similarly updated for new release to Debian 7038 70392010-12-18 Dirk Eddelbuettel <edd@debian.org> 7040 7041 * inst/announce/ANNOUNCE-0.9.0.txt: Started announcement post 7042 7043 * inst/unitTests/runit.Date.R: Added new unit tests for date and 7044 datetime from string 7045 70462010-12-17 Dirk Eddelbuettel <edd@debian.org> 7047 7048 * inst/include/Rcpp/Datetime.h: correct default format to use %OS for 7049 fractional seconds and not the popular typo %OS (i.e. ooh, not zero) 7050 7051 * src/Datetime.cpp: add missing as.POSIXct() after strptime for 7052 constructor from string as we then use the constructor from double 7053 7054 * src/Date.cpp: add missing as.Date() after strptime for constructor 7055 from string as we then use the constructor from int 7056 70572010-12-13 Romain Francois <romain@r-enthusiasts.com> 7058 7059 * inst/include/Rcpp/vector/string_proxy.h: List::Proxy did not 7060 convert bool correctly, reported on Rcpp-devel by Daniel SabanC)s 7061 BovC) <daniel.sabanesbove@ifspm.uzh.ch> 7062 70632010-12-12 Romain Francois <romain@r-enthusiasts.com> 7064 7065 * R/SHLIB.R: new unexported R function SHLIB, small wrapper around 7066 R CMD SHLIB 7067 7068 * inst/include/Rcpp/sprintf.h: returning a std::string to avoid leaks 7069 70702010-12-10 Dirk Eddelbuettel <edd@debian.org> 7071 7072 * inst/include/Rcpp/sprintf.h: Use vsnprintf() instead 7073 70742010-12-10 Romain Francois <romain@r-enthusiasts.com> 7075 7076 * inst/include/Rcpp/barrier.h: faster versions (crossing the write 7077 barrier) for string_elt, etc ...(to be used only internally) 7078 7079 * src/barrier.cpp: implementation of the above 7080 70812010-12-09 John M Chambers <jmc@r-project.org> 7082 7083 * src/Module.cpp: Rcpp/src/exceptions.cpp, 7084 Rcpp/src/Rcpp_init.c, etc. add a not_initialized exception and a 7085 dummy_pointer to identify such objects, throw exc. back to R 7086 70872010-12-07 Romain Francois <romain@r-enthusiasts.com> 7088 7089 * inst/include/Rcpp/vector/matrix.h: Matrix gains a nested ::Sub 7090 typedef 7091 70922010-12-05 Romain Francois <romain@r-enthusiasts.com> 7093 7094 * inst/include/Rcpp/module/Module_generated_class_constructor.h: the 7095 default constructor was always considered valid because of the use of 7096 &yes instead of &yes_arity<0> 7097 7098 * R/Rcpp.package.skeleton.R: Rcpp.package.skeleton( "foo", 7099 example_code = FALSE) did not work properly. Rcpp.package.skeleton 7100 gains some arguments 7101 71022010-12-05 Dirk Eddelbuettel <edd@debian.org> 7103 7104 * src/Date.cpp: Add 1900 to tm.year after mktime00() call as we now 7105 no longer assume the field is '1900-less' 7106 * src/Date.cpp: Define new static const variable baseYear as 1900 7107 and use throughout 7108 7109 * inst/unitTests/runit.Date.R (test.Date.getFunctions): Added unit 7110 tests for the get* functions of the Date class 7111 7112 * R/bib.R (bib): Correct expression for default Rcpp bibtex file 7113 71142010-12-04 Dirk Eddelbuettel <edd@debian.org> 7115 7116 * inst/include/Rcpp/Date.h: Remove addition of 1900 in getYear() 7117 71182010-12-04 Romain Francois <romain@r-enthusiasts.com> 7119 7120 * inst/doc/Rcpp-quickref/Rcpp-quickref.Rnw: documentation patch by 7121 Christian Gunnning <xian@unm.edu> 7122 7123 * inst/include/Rcpp/vector/matrix.h: fix SubMatrix. Bug reported by 7124 Christian Gunnning <xian@unm.edu> on Rcpp-devel 7125 7126 * inst/include/Rcpp/vector/SubMatrix.h: factored out of matrix.h 7127 7128 * inst/include/Rcpp/sprintf.h: new sprintf template to format strings 7129 71302010-12-03 Dirk Eddelbuettel <edd@debian.org> 7131 7132 * inst/unitTests/runit.RObject.R: fix 'inherits' test added today 7133 7134 * inst/include/Rcpp/module/Module_generated_Constructor.h: Applied 7135 patch by Tama Ma <pingnang@phys.ethz.ch> for up to seven args in ctor 7136 * inst/include/Rcpp/module/Module_generated_class_constructor.h: Idem 7137 * inst/include/Rcpp/module/Module_generated_ctor_signature.h: Idem 7138 71392010-12-03 Romain Francois <romain@r-enthusiasts.com> 7140 7141 * inst/include/Rcpp/RObject.h : new inline method inherits that 7142 checks if an object inherits from a given class (wrapper around 7143 Rf_inherits) 7144 7145 * inst/unitTests/runit.RObject.R: unit test for the above 7146 71472010-12-02 Douglas Bates <bates@stat.wisc.edu> 7148 7149 * inst/include/Rcpp/generated/Function__operator.h, 7150 inst/include/Rcpp/Function.h: operator() becomes const. 7151 71522010-11-29 Romain Francois <romain@r-enthusiasts.com> 7153 7154 * inst/include/Rcpp/vector/Vector.h: trying to please suncc after 7155 CRAN checks 7156 7157 * R/Module.R: protect the module$refClassGenerators <- generators 7158 line against the case where there are no classes (triggered a 7159 problem with the parser package) 7160 71612010-11-27 Dirk Eddelbuettel <edd@debian.org> 7162 7163 * DESCRIPTION: Release 0.8.9 7164 7165 * debian/*: Similarly updated for new release to Debian 7166 71672010-11-26 Romain Francois <romain@r-enthusiasts.com> 7168 7169 * inst/include/Rcpp/vector/Vector.h: List::create( _["foo"] ) sets 7170 the SEXP to R_MissingArg, usueful for formal arguments 7171 specifications, simpler form than List::create( _["foo"] = 7172 R_MissingArg ) 7173 7174 * inst/include/Rcpp/macros/unroll.h: helper macro RCPP_UNROLL_LOOP 7175 7176 * inst/include/Rcpp/vector/MatrixColumn.h: added 7177 MatrixColumn::operator=( MatrixColumn& ) otherwise it gets 7178 synthetized by the compiler 7179 7180 * inst/include/Rcpp/vector/MatrixRow.h: same for MatrixRow 7181 7182 * inst/include/Rcpp/vector/Matrix.h: added Matrix( SubMatrix ) and 7183 Matrix::operator=( SubMatrix ) 7184 71852010-11-25 Romain Francois <romain@r-enthusiasts.com> 7186 7187 * inst/include/Rcpp/module/Module_generated_function.h: new .function 7188 with formal argument specification 7189 7190 * inst/include/Rcpp/module/Module_generated_CppFunction.h: helper 7191 classes for the above 7192 7193 * R/Module.R: using the formal argument specification if available 7194 7195 * R/populate.R: new R function populate to dump the contents of a 7196 module into an environment or a namespace 7197 7198 * man/populate.Rd: documentation for populate 7199 72002010-11-24 Romain Francois <romain@r-enthusiasts.com> 7201 7202 * R/00_classes.R: formals<- method for C++Function that allows to set 7203 default arguments, etc .. to a C++ function 7204 72052010-11-23 Dirk Eddelbuettel <edd@debian.org> 7206 7207 * inst/doc/Makefile: Call Rscript with --vanilla to skip user settings 7208 72092010-11-23 Romain Francois <romain@r-enthusiasts.com> 7210 7211 * R/00_classes.R: C++Class gains a docstring slot to host self 7212 documentation 7213 7214 * R/Module.R: calling an exposed C++ more efficiently by using the xp 7215 directly rather than traversing the map internally 7216 7217 * R/00_classes.R: C++Function gains a docstring slot to host self 7218 documentation of the internal function. And a "signature" slot to 7219 host the C++ signature of the function 7220 7221 * R/01_show.R: updated show( C++Function ) to display the docstring 7222 and the signature. updated show( C++Class ) to display the docstring. 7223 7224 * inst/include/Rcpp/module/Module_generated_CppFunction.h: self 7225 documentation for exposed C++ functions and extraction of the 7226 signature 7227 7228 * inst/include/Rcpp/module/Module_generated_function.h: idem 7229 72302010-11-22 Romain Francois <romain@r-enthusiasts.com> 7231 7232 * R/00_classes.R: C++OverloadedMethods gains an "info" class methods, 7233 factored out from Module.R 7234 7235 * R/01_show.R: more information printed in show( C++Class ) 7236 7237 * inst/include/Rcpp/Module/Module_generated_get_signature.h: 7238 templates to grab method signatures 7239 7240 * inst/include/Rcpp/Module.h: CppMethod gains a signature method that 7241 returns the signature of the method. 7242 7243 * R/00_classes.R: C++OverloadedMethods gains a "signatures" field 7244 that contains the signature of each overload 7245 7246 * R/Module.R: registered method gain an automatically generated self 7247 description that contains the method(s) signature(s) and the 7248 docstring that is declared in .method 7249 7250 * inst/include/Rcpp/Module/Module_generated_CppMethod.h: implement 7251 signature 7252 7253 * inst/include/Rcpp/Module/Module_generated_Pointer_CppMethod.h: idem 7254 72552010-11-21 Romain Francois <romain@r-enthusiasts.com> 7256 7257 * R/Module.R: internal version of cpp_hasDefaultConstructor 7258 7259 * src/Module.cpp: implementation (Class__has_default_constructor) 7260 7261 * inst/include/Rcpp/Module.h: support (class_.has_default_constructor) 7262 7263 * inst/include/Rcpp/module/Module_generated_class_constructor.h: new interface 7264 for exposing constructors, the init_ disappears and the template arguments 7265 are directly applied to the .constructor function 7266 7267 * inst/include/Rcpp/module/Module_generated_Constructor.h: removed init_* 7268 7269 * inst/include/Rcpp/module/Module_generated_method.h: .method gains a docstring 7270 argument to allow self documentation of exposed methods 7271 7272 * inst/include/Rcpp/module/Module_generated_PointerMethod.h: idem 7273 7274 * R/Module.R: grab method docstrings 7275 72762010-11-20 John M Chambers <jmc@r-project.org> 7277 7278 * R/Module.R: now checks for the existence of a default constructor 7279 for a C++ class and generates a suitable $initialize() method accordingly. 7280 72812010-11-20 Romain Francois <romain@r-enthusiasts.com> 7282 7283 * inst/include/Rcpp/vector/MatrixRow.h: added missing return *this ; 7284 7285 * R/Module.R: dispatch based on void-ness of the methods. For example 7286 if all methods are known to be void, etc ... 7287 7288 * R/00_classes.R: more information in the C++OverloadedMethods ref 7289 class 7290 7291 * src/Module.cpp: new .External CppMethod__invoke_void and 7292 CppMethod__invoke_notvoid that are used when we know for sure that 7293 all overloaded methods are void, or not void 7294 7295 * inst/include/Rcpp/Module.h: class_ gains invoke_void and 7296 invoke_notvoid to support the changes above 7297 72982010-11-18 Douglas Bates <bates@stat.wisc.edu> 7299 7300 * inst/include/Rcpp/module/Module_generated_[class_]Constructor.h: 7301 allow up to 6 arguments to .constructor 7302 73032010-11-18 Romain Francois <romain@r-enthusiasts.com> 7304 7305 * inst/include/Rcpp/Module.h: rework the class_ template to allow 7306 overloaded methods 7307 7308 * R/00_classes.R: The C++Method class disappears and the 7309 C++OverloadedMethods enters. a "C++OverloadedMethods" object points 7310 to a set of overloaded C++ methods that all share the same name. 7311 7312 * R/Module.R: adapt some of the code to cope with changes above 7313 73142010-11-17 Romain Francois <romain@r-enthusiasts.com> 7315 7316 * inst/include/Rcpp/sugar/as_vector.h: added the as_vector function 7317 that turns a sugar matrix expression into a vector of the appropriate 7318 type 7319 7320 * inst/include/Rcpp/vector/Matrix.h: new SubMatrix class 7321 73222010-11-13 Romain Francois <romain@r-enthusiasts.com> 7323 7324 * inst/include/Rcpp/Module.h: expose constructors as the 7325 "cpp_constructor" field of "C++ClassRepresentation" and the 7326 "constructors" slot of "C++Class" 7327 73282010-11-07 Romain Francois <romain@r-enthusiasts.com> 7329 7330 * inst/include/Rcpp/sugar/operators/minus.h: fixed 7331 Minus_Vector_Primitive<RTYPE,false,T> 7332 7333 * inst/unitTests/runit.sugar.R: new test for the above 7334 73352010-11-05 Romain Francois <romain@r-enthusiasts.com> 7336 7337 * inst/include/Rcpp/Module.h: exposing multiple constructors in modules 7338 7339 * src/Module.cpp: The mangled class name is now "Rcpp_" plus the 7340 class name. The previous version used the address of the external 7341 pointer to the module, which was not constant. 7342 73432010-11-04 Douglas Bates <bates@stat.wisc.edu> 7344 7345 * inst/include/Rcpp/module/Module_generated_Constructor.h: remove 7346 redundant 'return's. 7347 73482010-11-04 Romain Francois <romain@r-enthusiasts.com> 7349 7350 * inst/include/Rcpp/Module.h: experimental way to specify which 7351 constructor to use in classes exposed by modules. This is still too 7352 restrictive as it only allows one constructor. 7353 7354 * inst/include/Rcpp/sugar/block/SugarMath.h: extend the SUGAR_MATH_1 7355 macro so that we can apply functions (e.g. sqrt) directly on SEXP 7356 73572010-11-01 Dirk Eddelbuettel <edd@debian.org> 7358 7359 * DESCRIPTION (Version): Release 0.8.8 7360 7361 * debian/*: Similarly updated for new release to Debian 7362 73632010-10-30 Dirk Eddelbuettel <edd@debian.org> 7364 7365 * inst/include/RcppCommon.h: New define IS_GCC_450_OR_LATER 7366 * inst/include/Rcpp/Extractor.h: Do not enable Rcpp::Fast if g++ 7367 4.5.0 or later is used -- we need to figure out what upsets it 7368 73692010-10-23 Romain Francois <romain@r-enthusiasts.com> 7370 7371 * inst/include/Rcpp/vector/MatrixRow.h: Faster row indexing 7372 7373 * inst/include/Rcpp/vector/Matrix.h: added use of _ to get columns 7374 and rows of a matrix. For example if x is a NumericMatrix, x(_,i) 7375 returns the same as x.column(i) and x(i,_) returns the same as 7376 x.row(i) 7377 7378 * inst/unitTests/runit.Matrix.R: unit tests for the above 7379 7380 * inst/include/Rcpp/sugar/functions/sum.h: the sugar version of sum 7381 now takes care of missing values correctly 7382 7383 * inst/include/Rcpp/sugar/functions/cumsum.h: sugar version of cumsum 7384 73852010-10-21 Romain Francois <romain@r-enthusiasts.com> 7386 7387 * inst/include/Rcpp/vector/MatrixColumn.h: Fixed indexing 7388 bug (mismatch between number of rows and number of columns 7389 7390 * inst/unitTests/runit.Matrix.R: test fix above based on the 7391 R-help/Rcpp-devel thread: 7392 http://article.gmane.org/gmane.comp.lang.r.rcpp/851 7393 7394 * inst/include/Rcpp/vector/MatrixColumn.h: Column gains a operator= 7395 taking a sugar expression. Faster indexing (caching the pointer 7396 instead of calling nrow many times) 7397 7398 * inst/include/Rcpp/vector/Matrix.h: first pass at making matrix 7399 indexing faster 7400 74012010-10-21 Dirk Eddelbuettel <edd@debian.org> 7402 7403 * inst/include/Rcpp/Module.h: Reorder instantiation for class_ 7404 74052010-10-20 Dirk Eddelbuettel <edd@debian.org> 7406 7407 * include/Rcpp/XPtr.h: Applied patch by Karl Millar 7408 * include/Rcpp/vector/Vector.h: Idem 7409 74102010-10-19 Dirk Eddelbuettel <edd@debian.org> 7411 7412 * src/posixt.cpp: Correct POSIXct, POSIXt ordering for R 2.12.0 7413 7414 2010-10-14 Dirk Eddelbuettel <edd@debian.org> 7415 7416 * DESCRIPTION (Version): Release 0.8.7 7417 7418 * debian/*: Similarly updated for new release to Debian 7419 74202010-10-10 Romain Francois <romain@r-enthusiasts.com> 7421 7422 * tests/doRUnit.R: workaround to disable tests on windows 64 until we can 7423 figure out what upsets R CMD check. 7424 7425 * R/Module.R: expose the finalizer 7426 74272010-10-07 John M Chambers <jmc@r-project.org> 7428 7429 * R/Module.R: modify cpp_refMethods to substitute the .External 7430 directly with the method and class pointers. 7431 74322010-10-03 Dirk Eddelbuettel <edd@debian.org> 7433 7434 * inst/include/Rcpp/stats/random/r*: Added comment reminding users 7435 read up on Section 6.3 of "Writing R Extensions" and the need to 7436 call GetRNGstate() and PutRNGstate() when using R's RNGs 7437 74382010-09-30 Romain Francois <romain@r-enthusiasts.com> 7439 7440 * inst/include/Rcpp/vector/MatrixRow.h: Matrix row inherits 7441 VectorBase so that it becomes a sugar expression, so that we can do 7442 something like this: 7443 NumericMatrix x( ... ) ; 7444 NumericVector x0 = x.row(0) ; 7445 7446 * inst/include/Rcpp/vector/MatrixColumn.h: idem for columns 7447 7448 * cleanup: run make clean in the inst/doc directory to install 7449 the fake vignettes 7450 74512010-09-27 Romain Francois <romain@r-enthusiasts.com> 7452 7453 * inst/include/Rcpp/traits/is_sugar_expression.h: new trait class 7454 to recognize sugar expressions 7455 7456 * inst/include/Rcpp/vector/Vector.h: operator=( sugar expression) 7457 no longer allocate unnecessary memory. 7458 74592010-09-26 Romain Francois <romain@r-enthusiasts.com> 7460 7461 * inst/include/Rpp/Fast.h: new helper class Rcpp::Fast that allows 7462 faster indexing of Vector 7463 7464 * inst/include/Rcpp/sugar/operators/plus.h: port to operator+ the same 7465 improvements than in operator* 7466 74672010-09-25 Romain Francois <romain@r-enthusiasts.com> 7468 7469 * inst/include/Rcpp/routines.h: declare routines that are registered 7470 7471 * src/Rcpp_init.c: register routines 7472 7473 * R/*.R: use registration information in many .Call and .External 7474 functions to speed things up 7475 7476 * inst/include/Rcpp/RangeIndexer.h: experimenting with loop unrolling 7477 74782010-09-24 John M Chambers <jmc@r-project.org> 7479 7480 * R/Module.R: modify cpp_fields to substitute the .Call 7481 directly with the field and class pointers; supplements the 7482 changes entered by Romain on 9-22. (svn rev 2165, 2141) 7483 7484 * src/Rcpp_init.c: set up registration of .Call's (rev 2167) 7485 74862010-09-24 Romain Francois <romain@r-enthusiasts.com> 7487 7488 * inst/include/Rcpp/sugar/Range.h : Range gains some 7489 operators (++,--,n etc ...) 7490 7491 * inst/examples/ConvolveBenchmarks/convolve3_cpp.cpp: using the new 7492 Range operators 7493 7494 * inst/include/Rcpp/sugar/operators/times.h: speed improvements. Not 7495 using pointer to member functions seems to be beneficial. 7496 7497 * inst/include/Rcpp/sugar/nona/nona.h: sugar function that wraps a 7498 sugar expression in an object that pretends it does not contain any 7499 missing values. This allows many sugar functions and operators to use 7500 their fast versions when we know that the object does not contain 7501 missing values. 7502 75032010-09-22 Romain Francois <romain@r-enthusiasts.com> 7504 7505 * R/Module.R: set [[ and [[<- as regular methods too, which restores 7506 previous behavior 7507 75082010-09-17 Romain Francois <romain@r-enthusiasts.com> 7509 7510 * src/Reference.cpp: new objects are created via a callback to R's 7511 new function, as R_do_new_object did always return the same 7512 environment 7513 7514 * R/00_classes.R: new ref class C++Method to represent C++ methods 7515 and holding their external pointers directly (same idea as C++Field) 7516 7517 * inst/include/Rcpp/Module.h: internal support for 7518 C++Method (template class S4_CppMethod) 7519 75202010-09-17 John M Chambers <jmc@r-project.org> 7521 7522 * R/00_classes.R, R/02_completion.R, et al.: use of environment 7523 underlying the reference classes removes need for slots in 7524 C++Object class (svn rev's 2133, 2134) 7525 7526 75272010-09-16 Romain Francois <romain@r-enthusiasts.com> 7528 7529 * R/00_classes.R: moving classes definition here 7530 7531 * inst/Rcpp/Module.h: added C++ class S4_field that builds S4 objects 7532 of class C++Field. Build the list of fields as part of the creation 7533 of the C++Class objects 7534 7535 * src/Module.cpp: .Call functions CppField__get and CppField__set to 7536 get/set values of an object's field using external pointers 7537 directly (no std::map lookup internally) 7538 7539 * R/Module.R: (unexported) functions .getField and .setField that 7540 call CppField__get and CppField__set 7541 7542 * inst/include/Rcpp/Reference.h: skeleton for a Rcpp::Reference class 7543 that will help dealing with reference classes on the C++ side 7544 7545 * src/Reference.cpp: implementation (needs update) 7546 75472010-09-16 John M Chambers <jmc@r-project.org> 7548 7549 * R/Module.R, tests/modRef.R: un-generic of new(); return a 7550 generator object for C++ classes. Use environment as superclass. 7551 7552 75532010-09-15 Romain Francois <romain@r-enthusiasts.com> 7554 7555 * DESCRIPTION: added the declaration MinimumSvnRev to control which 7556 version of R-devel we need so that Rcpp fully works, currently set to 7557 52905 7558 7559 * R/zzz.R: check the svn revision of R against the declared 7560 MinimumSvnRev requirement and print a message if necessary (this will 7561 only stay for the interim period while we develop 0.8.7 so that we 7562 all are on the same page. 7563 7564 * inst/include/Rcpp/Module.h: added methods to class_Base : 7565 methods_arity and methods_voidness to query the number of arguments 7566 of methods of a class and if the method is void 7567 7568 * R/Module.R: implement referenceMethods (from methods) for 'C++Class' 7569 75702010-09-11 Dirk Eddelbuettel <edd@debian.org> 7571 7572 * src/Date.cpp: Add include of unistd.h to make Solaris happy 7573 75742010-09-09 Dirk Eddelbuettel <edd@debian.org> 7575 7576 * DESCRIPTION: Release 0.8.6 7577 7578 * debian/*: Similarly updated for new release to Debian 7579 75802010-09-08 Dirk Eddelbuettel <edd@debian.org> 7581 7582 * inst/include/RcppCommon.h: Also include typeinfo header file 7583 75842010-09-08 Romain Francois <romain@r-enthusiasts.com> 7585 7586 * inst/include/Rcpp/Module.h : added class_Base::property_names 7587 method to grab the names of all fields (properties) 7588 7589 * src/Module.cpp : added R access (.Call) function 7590 CppClass__properties to grab the names of the fields (property) from 7591 the XP of a class 7592 7593 * inst/include/Rcpp/Module.h : added class_Base::property_is_readonly 7594 method to query if a property is read only 7595 7596 * src/Module.cpp : added R access (.Call) function 7597 CppClass__property_is_readonly to query if a class property is read 7598 only 7599 7600 * inst/include/Rcpp/Module.h : added class_Base::property_class 7601 method to grab the C++ class of a property 7602 7603 * src/Module.cpp : added R access (.Call) function 7604 CppClass__property_class to grab the C++ class of a property 7605 76062010-09-06 Dirk Eddelbuettel <edd@debian.org> 7607 7608 * inst/examples/ConvolveBenchmarks/exampleRCode.r: Rewritten / 7609 simplified using the rbenchmark::benchmark() function 7610 7611 * DESCRIPTION: Added Suggests: on rbenchmark package 7612 76132010-09-04 Dirk Eddelbuettel <edd@debian.org> 7614 7615 * inst/examples/ConvolveBenchmarks/exampleRCode.r: Some cosmetics 7616 7617 * inst/examples/ConvolveBenchmarks/convolve3_cpp.cpp: Remove one 7618 unneccessary loop to set values to zero (which the ctor does for us) 7619 76202010-09-03 Dirk Eddelbuettel <edd@debian.org> 7621 7622 * inst/doc/Rcpp-extending/Rcpp-extending.Rnw: Add highlight definitions 7623 * inst/doc/Rcpp-FAQ/Rcpp-FAQ.Rnw: Idem 7624 * inst/doc/Rcpp-package/Rcpp-package.Rnw: Idem 7625 76262010-09-02 Dirk Eddelbuettel <edd@debian.org> 7627 7628 * src/msvcmath.cpp: Undo unmotivated msvc patch 7629 * inst/include/Rcpp/msvc/: Idem 7630 * inst/include/Rcpp/XPtr.h: Idem 7631 * inst/include/RcppCommon.h: Idem 7632 * src/Date.cpp: Idem 7633 7634 * DESCRIPTION: Added Suggests: on highlight package 7635 76362010-08-20 Romain Francois <romain@r-enthusiasts.com> 7637 7638 * inst/include/Rcpp/complex.h : binary operators for Rcomplex : +,-,*,/ 7639 76402010-08-15 Romain Francois <romain@r-enthusiasts.com> 7641 7642 * inst/include/Rcpp/sugar/SugarBlock.h: more control of the NA behavior 7643 in SUGAR_BLOCK_2. SUGAR_BLOCK_2 will now propagate the NA, and the new 7644 SUGAR_BLOCK_2_NA will use a fixed NA (can be true or false). This can be 7645 useful if the function that is sugar'ed never generates NA. 7646 7647 * inst/include/Rcpp/sugar/undoRmath.h : undo the macros done by Rmath.h 7648 76492010-08-13 Douglas Bates <bates@stat.wisc.edu> 7650 7651 * include/Rcpp.h: undo more defines from Rmath.h 7652 76532010-08-13 Romain Francois <romain@r-enthusiasts.com> 7654 7655 * inst/include/Rcpp/sugar/complex.h: simplify complex sugar functions 7656 Re, Im, Conj, Mod 7657 7658 * inst/include/Rcpp/sugar/complex.h: new sugar functions operating on 7659 complex expressions: exp, log, sqrt, cos, sin, tan, acos, asin, atan, 7660 acosh, asinh, atanh, cosh, sinh, tanh 7661 7662 * inst/unitTests/runit.sugar.R: added regression test for complex functions 7663 which did not handle NA properly before 7664 7665 * DESCRIPTION: no longer requireing GNU make as we dont use it anymore 7666 7667 * src/Makevars: removed the use of ifeq (which was the last thing requiring 7668 GNU make) 7669 76702010-08-12 Romain Francois <romain@r-enthusiasts.com> 7671 7672 * inst/include/Rcpp/sugar/math.h: replace previous versions of floor, 7673 abs, exp, ceil, ceiling with versions generated by the SUGAR_MATH_1 7674 macro 7675 76762010-08-11 Romain Francois <romain@r-enthusiasts.com> 7677 7678 * inst/include/Rcpp/vector/vector.h: Vector gains constructor 7679 taking size and function pointers, acting as generators : 7680 7681 Vector( const int& siz, stored_type (*gen)(void), bool seed = true ) 7682 7683 template <typename U1> 7684 Vector( const int& siz, stored_type (*gen)(U1), const U1& u1, 7685 bool seed = true) 7686 7687 template <typename U1, typename U2> 7688 Vector( const int& siz, stored_type (*gen)(U1,U2), const U1& u1, 7689 const U2& u2, bool seed = true) 7690 7691 so that for example : 7692 7693 NumericVector( 10, norm_rand ) 7694 7695 generates a N(0,1) vector of size 10 7696 7697 * inst/include/Rcpp/stats/random/rlnorm.h: Added rlnorm and rlnorm_ 7698 * inst/include/Rcpp/stats/random/rgamma.h: Added rgamma and rgamma_ 7699 * inst/include/Rcpp/stats/random/rt.h: Added rt and rt_ 7700 * inst/include/Rcpp/stats/random/rbinom.h: Added rbinom and rbinom_ 7701 * inst/include/Rcpp/stats/random/rnchisq.h: Added rnchisq and rnchisq_ 7702 * inst/include/Rcpp/stats/random/rgeom.h: Added rgeom and rgeom_ 7703 * inst/include/Rcpp/stats/random/rhyper.h: Added rhyper and rhyper_ 7704 * inst/include/Rcpp/stats/random/rnbinom_mu.h: Added rnbinom_mu and rnbinom_mu_ 7705 * inst/include/Rcpp/stats/random/rnbinom.h: Added rnbinom and rnbinom_ 7706 * inst/include/Rcpp/stats/random/rpois.h: Added rpois and rpois_ 7707 * inst/include/Rcpp/stats/random/rweibull.h: Added rweibull and rweibull_ 7708 * inst/include/Rcpp/stats/random/rlogis.h: Added rlogis and rlogis_ 7709 * inst/include/Rcpp/stats/random/rwilcox.h: Added rwilcox and rwilcox_ 7710 * inst/include/Rcpp/stats/random/rsignrank.h: Added rsignrank and rsignrank_ 7711 7712 * inst/include/Rcpp/stats/random/rnorm.h: some optimization 7713 * inst/include/Rcpp/stats/random/rf.h: calculate n2/n1 just once 7714 * inst/include/Rcpp/sugar/SugarBlock.h : templates and macros to facilitate 7715 generation of sugar functions that take one or two double parameters 7716 7717 * inst/include/Rcpp/sugar/math.h: using SugarBlock to generate new 7718 sugar functions: 7719 (1 parameter) : gamma, lgamma, digamma, trigamma, tetragamma, 7720 pentagamma, expm1, log1p, factorial, lfactorial, 7721 cos, acosh, atan, cos, cosh, log, log10, sqrt, sin, sinh, tan, tanh 7722 7723 (2 parameter) : choose, lchoose, beta, lbeta, psigamma 7724 77252010-08-10 Douglas Bates <bates@stat.wisc.edu> 7726 7727 * include/Rcpp/stats/nbinom[_mu].h: Replace conflicting data member name 7728 'size' by 'siz' 7729 77302010-08-10 Romain Francois <romain@r-enthusiasts.com> 7731 7732 * inst/include/Rcpp/stats/random/rnorm.h: Added rnorm and rnorm_ 7733 7734 * inst/include/Rcpp/stats/random/runif.h: Added runif and runif_ 7735 7736 * inst/include/Rcpp/stats/random/rbeta.h: Added rbeta and rbeta_ 7737 7738 * inst/include/Rcpp/stats/random/rcauchy.h: Added rcauchy and rcauchy_ 7739 7740 * inst/include/Rcpp/stats/random/rchisq.h: Added rchisq and rchisq_ 7741 7742 * inst/include/Rcpp/stats/random/rexp.h: Added rexp and rexp_ 7743 7744 * inst/include/Rcpp/stats/random/rf.h: Added rf and rf_ 7745 7746 * inst/include/Rcpp/stats/stats.h : fixed name clash reported on Rcpp-devel 7747 http://permalink.gmane.org/gmane.comp.lang.r.rcpp/610 7748 77492010-08-09 Romain Francois <romain@r-enthusiasts.com> 7750 7751 * inst/include/Rcpp/stats/lnorm.h: Added d-p-q (lnorm|weibull|logis|f) 7752 generated by the script 7753 7754 * inst/include/Rcpp/vector/Vector.h: further dispatch to allow generators 7755 to be passed to constructors of Vector 7756 7757 * inst/include/Rcpp/traits/has_iterator.h: new SFINAE detection of 7758 generators 7759 7760 * inst/include/Rcpp/Generator.h : base template class for generators 7761 77622010-08-06 Douglas Bates <bates@stat.wisc.edu> 7763 7764 * unitTests/runit.stats.R: Corrected instances of numeric 7765 arguments passed as integers, deleted tests for binomial with 7766 fixed parameter values. 7767 77682010-08-06 Romain Francois <romain@r-enthusiasts.com> 7769 7770 * ../scripts/stats.R: R script to generate the template code for dpq functions 7771 7772 * include/Rcpp/stats/unif.h: Added d-p-q unif and tests 7773 7774 * include/Rcpp/stats/gamma.h: Added d-p-q gamma and tests 7775 7776 * include/Rcpp/stats/chisq.h: Added d-p-q chisq 7777 77782010-08-05 Douglas Bates <bates@stat.wisc.edu> 7779 7780 * include/Rcpp/stats/beta.h: Added d-p-q beta and tests 7781 7782 * include/Rcpp/stats/binom.h: Added pbinom and qbinom, 7783 and tests of same in runit.stats.R 7784 7785 * include/Rcpp/stats/pois.h: Added ppois and qpois (plus 7786 tests in runit.stats.R). 7787 7788 * include/Rcpp/stats/norm.h: Added pnorm and qnorm and 7789 corresponding tests in unitTests/runit.stats.R 7790 77912010-08-05 Dirk Eddelbuettel <deddelbuettel@wtchi-stat-l2.wolve.com> 7792 7793 * inst/include/Rcpp/stats/norm.h: Added dnorm sugar function 7794 * inst/include/Rcpp/stats/t.h: Added dt, pt, qt sugar functions 7795 * inst/include/unitTests/runit.stats.R: Added corresponding tests 7796 77972010-08-05 Romain Francois <romain@r-enthusiasts.com> 7798 7799 * inst/include/Rcpp/sugar/functions/seq_along.h: added seq(int,int) to 7800 mimic the R syntax : seq( 0, 5 ) 7801 7802 * inst/include/Rcpp/sugar/Range.h: fixed compiler confusion 7803 7804 * inst/include/Rcpp/stats: new sugar functions Rcpp::stats::dpois and 7805 Rcpp::stats::dbinom inspired by Richard Chandler post on Rcpp-devel: 7806 http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2010-August/000940.html 7807 7808 * inst/include/Rcpp/sugar/sum.h: preliminary version of Rcpp::sum (does not 7809 deal with NA properly yet) 7810 78112010-08-04 Romain Francois <romain@r-enthusiasts.com> 7812 7813 * inst/include/Rcpp/sugar/: rework sugar matrix so that operator()(int,int) 7814 is always used instead of operator[](int) 7815 7816 * inst/include/Rcpp/sugar/matrix/outer.h: new implementation based on 7817 LazyVector, so that the value from the vector expression is only 7818 retrieved once 7819 78202010-08-02 Romain Francois <romain@r-enthusiasts.com> 7821 7822 * inst/include/Rcpp/XPtr.h: give default values to tag and prot in XPtr ctor 7823 78242010-07-30 Romain Francois <romain@r-enthusiasts.com> 7825 7826 * inst/doc/Rcpp-quickref/* : new vignette Rcpp-quickref: quick reference guide 7827 to Rcpp API 7828 78292010-07-28 Romain Francois <romain@r-enthusiasts.com> 7830 7831 * inst/include/Rcpp/sugar/exp.h: adapt to stricter standards on solaris/suncc 7832 78332010-07-25 Dirk Eddelbuettel <edd@debian.org> 7834 7835 * DESCRIPTION: Release 0.8.5 7836 7837 * debian/*: Similarly updated for new release to Debian 7838 78392010-07-17 Romain Francois <romain@r-enthusiasts.com> 7840 7841 * inst/include/Rcpp/vector/Vector.h: faster lhs use of names, only 7842 using callback to R if necessary. (discovered while profiling 7843 RProtoBuf) 7844 7845 * inst/include/Rcpp/RObject.h : faster lhs and rhs use of 7846 RObject::slot, using R API functions R_do_slot and R_do_slot_assign 7847 78482010-07-16 Dirk Eddelbuettel <edd@debian.org> 7849 7850 * src/Date.cpp: Small fix which may make Solaris/SunStudio happy 7851 78522010-07-16 Romain Francois <romain@r-enthusiasts.com> 7853 7854 * man/Rcpp-package.Rd : removed old content and point to the 7855 Rcpp-package vignette for current guidelines. 7856 7857 * DESCRIPTION: Updated to mention sugar and modules 7858 78592010-07-10 Romain Francois <romain@r-enthusiasts.com> 7860 7861 * src/Makevars: Remove last call to $shell by turning C++0x 7862 detection off (and into a switch users can edit) which should 7863 make builds more stable 7864 * src/Makevars.win: Idem 7865 * src/cxx0x/cxx0x.R: Detection script deprecated for now 7866 78672010-07-10 Romain Francois <romain@r-enthusiasts.com> 7868 7869 * man/CppClass-class.Rd: changed use of \linkS4Class to suppress a 7870 warning with the development version of R 7871 * man/CppObject-class.Rd: idem 7872 78732010-07-09 Dirk Eddelbuettel <edd@debian.org> 7874 7875 * DESCRIPTION: Release 0.8.4 7876 7877 * debian/*: Similarly updated for new release to Debian 7878 78792010-07-09 Romain Francois <romain@r-enthusiasts.com> 7880 7881 * src/RObject.cpp: adapt the SlotProxy class to deal with the special 7882 case of the .Data slot (slot<- changes the internal SEXP) 7883 7884 * R/Module.R: the C++Class now inherits from "character", to facilitate 7885 S4 method dispatch 7886 7887 * src/Module.cpp: The CppClass ctor sets the .Data of the C++Class object 7888 to an obfuscated name to avoid class names clashes at the R level. 7889 78902010-07-08 Romain Francois <romain@r-enthusiasts.com> 7891 7892 * inst/include/Rcpp/sugar/functions/head.h: new sugar function : head 7893 * inst/include/Rcpp/sugar/functions/tail.h: new sugar function : tail 7894 7895 * inst/include/Rcpp/sugar/functions/tail.h: new sugar function : diag 7896 78972010-07-07 Dirk Eddelbuettel <edd@debian.org> 7898 7899 * inst/README: Updated and now pointing to all the other documentation 7900 79012010-07-07 Romain Francois <romain@r-enthusiasts.com> 7902 7903 * inst/include/Rcpp/sugar/functions/rep.h: version of rep that takes a 7904 primitive as the first argument 7905 79062010-07-07 Dirk Eddelbuettel <edd@debian.org> 7907 7908 * inst/unitTests/runTests.R: Reverted to running all tests now that 7909 tests are reorganised using the one-compile-per-function scheme which 7910 significantly speeds up running of the numerous unit tests 7911 79122010-07-06 Dirk Eddelbuettel <edd@debian.org> 7913 7914 * src/Date.cpp: Imported mktime() from R (which is due to Arthur Olson) 7915 79162010-07-06 Romain Francois <romain@r-enthusiasts.com> 7917 7918 * inst/include/Rcpp/sugar/functions/ifelse.h: using compile time dispatch 7919 based on the NA-ness of the condition type. ifelse handles primitive 7920 arguments on the lhs, rhs or both 7921 7922 * inst/include/Rcpp/sugar/functions/rev.h: new sugar function: rev 7923 79242010-07-05 Romain Francois <romain@r-enthusiasts.com> 7925 7926 * inst/include/Rcpp/RcppCommon.h : no more using variadic macros in 7927 RCPP_DEBUG 7928 7929 * inst/include/Rcpp/vector/Matrix.h: move ncol, nrow, rows and cols 7930 in Matrix (used to be in Vector) 7931 7932 * inst/include/Rcpp/traits/matrix_interface.h: new SFINAE helper to 7933 detect matrix interface (helps matrix sugar expressions) 7934 79352010-07-03 Romain Francois <romain@r-enthusiasts.com> 7936 7937 * inst/include/Rcpp/traits/result_of.h : also deal with functions 7938 taking two arguments (useful for e.g. outer) 7939 7940 * inst/include/Rcpp/vector/MatrixBase.h : new CRTP base class 7941 for Matrix to facilitate sugar syntax on matrices. 7942 7943 * inst/include/Rcpp/sugar/matrix/outer.h : new sugar function: outer 7944 * inst/include/Rcpp/sugar/matrix/row.h: new sugar function: row 7945 * inst/include/Rcpp/sugar/matrix/col.h: new sugar function: col 7946 * inst/include/Rcpp/sugar/matrix/lower_tri.h: new sugar function: lower_tri 7947 * inst/include/Rcpp/sugar/matrix/upper_tri.h: new sugar function: upper_tri 7948 7949 * inst/include/Rcpp/sugar/functions/rep.h: new sugar function : rep 7950 * inst/include/Rcpp/sugar/functions/rep_len.h: new sugar function : rep_len 7951 * inst/include/Rcpp/sugar/functions/rep_each.h: new sugar function : rep_each 7952 79532010-07-02 Dirk Eddelbuettel <edd@debian.org> 7954 7955 * src/RcppStringVector: Now uses std::vector<std::string> 7956 * inst/include/classic/RcppStringVector.h: Idem 7957 7958 * inst/unitTests/runit.List.R: Added simple test for RcppStringVector 7959 79602010-07-01 Dirk Eddelbuettel <edd@debian.org> 7961 7962 * src/RcppDateVector: Index argument is int here as well 7963 * src/RcppDatetimeVector: Idem 7964 * inst/include/classic/RcppDateVector.h: Idem 7965 * inst/include/classic/RcppDatetimeVector.h: Idem 7966 7967 * inst/unitTests/runit.List.R: Added simple test for RcppList 7968 79692010-06-30 Dirk Eddelbuettel <edd@debian.org> 7970 7971 * src/DateVector: Index argument is int; throw declared 7972 * src/DatetimeVector: Idem 7973 * inst/include/Rcpp/DateVector.h: Idem 7974 * inst/include/Rcpp/DatetimeVector.h: Idem 7975 79762010-06-28 Romain Francois <romain@r-enthusiasts.com> 7977 7978 * inst/include/Rcpp/sugar/Im.h: 7979 * inst/include/Rcpp/sugar/Re.h: 7980 * inst/include/Rcpp/sugar/Conj.h: 7981 * inst/include/Rcpp/sugar/Mod.h: added sugar functions for 7982 complex vectors: Re, Im, Conj, Mod 7983 79842010-06-27 Dirk Eddelbuettel <edd@debian.org> 7985 7986 * DESCRIPTION: Release 0.8.3 7987 7988 * debian/*: Similarly updated for new release to Debian 7989 7990 * inst/unitTests/runTests.R: Stop-gap measure to reduce the number of 7991 tests run on Windows as we now have so many tests that the build 7992 exceeds the time limit granted by the win-builder service. The forced 7993 reduction of tests can be overcome by adding --allTests as a 7994 command-line argument on Windows, or by running on another platform. 7995 79962010-06-25 Romain Francois <romain@r-enthusiasts.com> 7997 7998 * inst/include/Rcpp/posix.h: anticipate R 2.12.0 switch of classes 7999 POSIXt and POSIXct 8000 8001 * inst/include/classic: New home for the 'classic' API headers. Also 8002 some refactoring of the internals so that they can interoperate 8003 better withuse the new API. 8004 80052010-06-24 Romain Francois <romain@r-enthusiasts.com> 8006 8007 * inst/include/Rcpp/vector/RangeIndexer.h: factored the RangeIndexer 8008 class out of Vector, so that we can at a later time specialize it for 8009 character vectors, lists, etc ... 8010 80112010-06-24 Dirk Eddelbuettel <edd@debian.org> 8012 8013 * inst/include/Rcpp/Date.h: add struct tm member variable and 8014 sensible (ie non-intra-day) accessor functions; add SEXP ctor 8015 * src/Date.cpp: Implementation of the above 8016 * inst/unitTests/runit.Date.R: tests for the above 8017 8018 * inst/include/Rcpp/Datetime.h: New Datetime class 8019 * src/Datetime.cpp: Implementation for new Datetime class 8020 * inst/unitTests/runit.Datetime.R: first tests for Rcpp::Datetime 8021 * inst/include/Rcpp/Datetime_forward.h: API Integration 8022 8023 * inst/include/Rcpp/DatetimeVector.h: New DatetimeVector class 8024 * src/Datetime.cpp: Implementation for new DatetimeVector class 8025 80262010-06-23 Dirk Eddelbuettel <edd@debian.org> 8027 8028 * src/Date.cpp: Import mktime00() from R's src/main/datetime.c, 8029 completed class implementation 8030 * inst/include/Rcpp/Date.h: Add mktime00() declaration 8031 8032 * inst/include/Rcpp/DateVector.h: New DateVector class 8033 * src/Date.cpp: Implementation for new DateVector class 8034 80352010-06-23 Romain Francois <romain@r-enthusiasts.com> 8036 8037 * inst/include/Rcpp/Date_forward.h: forward declaration of Rcpp::Date and 8038 support for wrap( container of Rcpp::Date ), e.g. wrap( vector<Date> ) 8039 8040 * inst/include/Rcpp/sugar/Range.h: added the concept of range to allow 8041 modification of several elements of a vector. 8042 8043 * inst/examples/ConvolveBenchmarks: version of the convolution function 8044 using sugar indexing. 8045 80462010-06-22 Dirk Eddelbuettel <edd@debian.org> 8047 8048 * inst/include/Rcpp/Date.h: New Date class (not yet complete) 8049 * src/Date.cpp: Implementation for new Date class (not yet complete) 8050 * inst/unitTests/runit.Date.R: first tests for Rcpp::Date 8051 80522010-06-21 Dirk Eddelbuettel <edd@debian.org> 8053 8054 * inst/examples/SugarPerformance/: New example to benchmark the new 8055 syntactic 'sugar' classes 8056 80572010-06-19 Dirk Eddelbuettel <edd@debian.org> 8058 8059 * inst/include/RcppDoxygenExamples.h: Correct three wrong paths for 8060 ConvolveBenchmak example files, and add missing FastLM/ examples 8061 80622010-06-18 Romain Francois <romain@r-enthusiasts.com> 8063 8064 * inst/include/Rcpp/sugar/*: implementation of Rcpp sugar, covering 8065 binary operators (<,>,<=,>=,!=,==) for logical vectors or logical 8066 expressions, arithmetic operators (+,-,*,/) for vectors and 8067 expressions, and several functions similar to the R functions of the 8068 same name, currently: abs, all, any, ceiling, diff, exp, ifelse, 8069 is_na, lapply, pmin, pmax, pow, sapply, seq_along, seq_len, sign 8070 8071 * inst/doc/Rcpp-sugar/Rcpp-sugar.Rnw: vignette documenting Rcpp sugar 8072 80732010-06-17 Romain Francois <romain@r-enthusiasts.com> 8074 8075 * inst/include/Rcpp/Vector.h: split into more manageable files 8076 8077 * inst/include/Rcpp/vector/VectorBase.h: simplify the VectorBase class 8078 so that it is just implementing CRTP. It does not inherit from RObject anymore. 8079 This will help implementation of sugar. 8080 80812010-06-16 Dirk Eddelbuettel <edd@debian.org> 8082 8083 * src/RcppDateVector.cpp: Also provide non-const operator()(int i) 8084 * inst/include/RcppDateVector.h: Idem 8085 80862010-06-16 Romain Francois <romain@r-enthusiasts.com> 8087 8088 * inst/include/Rcpp/InternalFunction.h: new class Rcpp::InternalFunction 8089 * R/Module.R: R support for Rcpp::InternalFunction 8090 8091 * inst/include/Rcpp/Module.h: added the LOAD_RCPP_MODULE macro to 8092 allow loading a module from C++ 8093 8094 * R/Module.R: if the first argument is an external pointer already, 8095 Module assumes it is a module pointer. (R support for the item above) 8096 80972010-06-15 Dirk Eddelbuettel <edd@debian.org> 8098 8099 * src/RcppDatetimeVector.cpp: Use std::vector internally 8100 * inst/include/RcppDatetimeVector.h: Idem 8101 * src/RcppDateVector.cpp: Use std::vector internally 8102 * inst/include/RcppDateVector.h: Idem 8103 81042010-06-14 Dirk Eddelbuettel <edd@debian.org> 8105 8106 * src/RcppDatetimeVector.cpp: Add constructor from int 8107 * inst/include/RcppDatetimeVector.h: Idem 8108 * src/RcppDateVector.cpp: Add constructor from int 8109 * inst/include/RcppDateVector.h: Idem 8110 81112010-06-13 Dirk Eddelbuettel <edd@debian.org> 8112 8113 * src/RcppResultSet.cpp: Proper template specialisation for wrap 8114 * inst/include/RcppResultSet.h: Idem 8115 8116 * src/RcppDateVector.cpp: Add const qualifier to operator()(int i) 8117 * inst/include/RcppDateVector.h: Idem 8118 81192010-06-13 Romain Francois <romain@r-enthusiasts.com> 8120 8121 * inst/include/Rcpp/Vector.h: added new factory functions for Vector: 8122 Vector::import and Vector::import_transform 8123 81242010-06-12 Dirk Eddelbuettel <edd@debian.org> 8125 8126 * src/RcppDate.cpp: Simple RcppDate(SEXP) ctor added 8127 * inst/include/RcppDate.h: Idem 8128 8129 * src/RcppResultSet.cpp: carved out four new wrap() functions by 8130 splitting the existing code in add() methods off 8131 81322010-06-11 Romain Francois <romain@r-enthusiasts.com> 8133 8134 * R/help.R: workaround to allow the syntax "Rcpp ? something" to 8135 bring Rcpp documentation 8136 8137 * inst/include/Rcpp/Module.h: support for exposing public data 8138 members 8139 8140 * inst/doc/Rcpp-modules/Rcpp-modules.Rnw: a section to mention fields 8141 as a way to expose data members 8142 8143 * inst/Rcpp/traits/is_na.h : new helper class Rcpp::traits::is_na 8144 81452010-06-09 Dirk Eddelbuettel <edd@debian.org> 8146 8147 * DESCRIPTION: Release 0.8.2 8148 8149 * debian/*: Similarly updated for new release to Debian 8150 81512010-06-08 Romain Francois <romain@r-enthusiasts.com> 8152 8153 * src/RcppCommon.cpp: track if demangling is available (currently 8154 only available with gcc) 8155 81562010-06-08 Dirk Eddelbuettel <edd@debian.org> 8157 8158 * DESCRIPTION: Release 0.8.1 8159 8160 * debian/*: Similarly updated for new release to Debian 8161 81622010-06-07 Dirk Eddelbuettel <edd@debian.org> 8163 8164 * inst/doc/Rcpp-extending*: Extended mini vignette "Rcpp-extending" 8165 81662010-06-07 Romain Francois <romain@r-enthusiasts.com> 8167 8168 * inst/doc/Rcpp-extending*: Added new mini vignette "Rcpp-extending" 8169 81702010-06-05 Dirk Eddelbuettel <edd@debian.org> 8171 8172 * inst/doc/Rcpp-FAQ*: Extended mini vignette "Rcpp-FAQ" 8173 81742010-06-05 Romain Francois <romain@r-enthusiasts.com> 8175 8176 * inst/doc/Rcpp-FAQ*: Added new mini vignette "Rcpp-FAQ" 8177 81782010-06-04 Romain Francois <romain@r-enthusiasts.com> 8179 8180 * inst/include/Rcpp/Module.h: 8181 * R/Module.R: support for properties of C++ objects 8182 81832010-06-03 Romain Francois <romain@r-enthusiasts.com> 8184 8185 * src/RcppCommn.cpp: added show method for C++Object and C++Class 8186 8187 * inst/include/Rcpp/XPtr.h: getTag and getProtected are deprecated, will be 8188 removed in Rcpp 0.8.2. methods tag and prot should be used instead. The new 8189 methods support both lhs and rhs use. 8190 81912010-06-02 Romain Francois <romain@r-enthusiasts.com> 8192 8193 * inst/include/Rcpp/traits/r_type_traits.h: added missing support for 8194 std::complex<double>, needed by RcppArmadillo 8195 8196 * src/RcppCommon.cpp: added internal .Call function as_character_externalptr 8197 to extract the address of the pointer wrapped by an external pointer 8198 81992010-06-01 Romain Francois <romain@r-enthusiasts.com> 8200 8201 * inst/doc/Rcpp-package*: new mini vignette "Rcpp-package" to improve the 8202 documentation of Rcpp.package.skeleton and details the steps involved in 8203 making a package that uses Rcpp 8204 8205 * inst/doc/Rcpp-modules/Rcpp-modules.Rnw: document how to use modules 8206 in other packages (namespace, etc ...) 8207 8208 * R/Rcpp.package.skeleton: added the module argument 8209 8210 * R/Module.R: prompt method for Module objects to generate skeleton of an Rd 8211 file with the list of functions and classes defined by the module. 8212 82132010-05-30 Romain Francois <romain@r-enthusiasts.com> 8214 8215 * R/Module.R: completion for C++ modules. 8216 82172010-05-29 Romain Francois <romain@r-enthusiasts.com> 8218 8219 * R/Module.R: when a Module is loaded, it creates extensions of the 8220 class C++Object for each internal class to enable S4 dispatch 8221 8222 * R/Module.R: support for completion of methods of C++ objects 8223 82242010-05-28 Romain Francois <romain@r-enthusiasts.com> 8225 8226 * R/cppfunction.R: withdrawn, we now use inline::cxxfunction which is 8227 more flexible and we no longer need to depend on inline 8228 * man/cppfunction.Rd: * 8229 8230 * inst/unitTests/runTests.R: The tests now require a recent version 8231 of inline (>= 0.3.4.2) 8232 82332010-05-27 Romain Francois <romain@r-enthusiasts.com> 8234 8235 * inst/include/Rcpp/Module.h: adding support for registering a free function 8236 that takes a pointer to the class of the wrapped object as first argument 8237 in class_ 8238 82392010-05-26 Romain Francois <romain@r-enthusiasts.com> 8240 8241 * inst/include/Rcpp/Module.h: 8242 * src/Module.cpp : limited support for exposing c++ classes in Rcpp modules 8243 8244 * R/Module.R : classes "C++Class", "C++Object" holding external pointers 8245 and $ method dispatching internally 8246 82472010-05-24 Dirk Eddelbuettel <edd@debian.org> 8248 8249 * src/Rcpp*.cpp: Moved template code from the older API to headers 8250 headers in inst/include/*.h; removed empty source files 8251 82522010-05-21 Romain Francois <romain@r-enthusiasts.com> 8253 8254 * R/exceptions.R: rework rcpp_tryCatch to prevent evaluating the 8255 expression too early (reported by Doug Bates on Rcpp-devel) 8256 8257 * src/Evaluator.cpp: rework Evaluator::run() so that it correctly 8258 evaluates inside an environment (reported by Doug Bates on 8259 Rcpp-devel) 8260 82612010-05-20 Romain Francois <romain@r-enthusiasts.com> 8262 8263 * inst/include/Rcpp/Vector.h : correct throw specs for 8264 vector_from_string (reported by Brian Ripley from solaris) 8265 8266 * inst/include/Rcpp/internal/Proxy_Iterator.h: fixed constness of 8267 several operators in Proxy_Iterator to try to suite suncc/solaris 8268 8269 * inst/include/Rcpp/config.h: define RCPP_ENABLE_MODULES to hide 8270 the experimental module features from the official api 8271 8272 * R/getDLL.R: removed and promoted to getDynLib in inline 8273 82742010-05-19 Romain Francois <romain@r-enthusiasts.com> 8275 8276 * inst/include/Rcpp/as.h: add throw specification to as 8277 specialization, reported by suncc compiler on CRAN checks 8278 8279 * inst/include/Rcpp/Module.h : adding the concept of Rcpp modules, 8280 inspired from boost.python 8281 8282 * R/Module.R: R side support for modules 8283 8284 * R/getDLL.R: generic (s4) function to get the DLL based on either 8285 its name e.g. getDLL( "Rcpp" ) or an object of class CFunc (from the 8286 inline package) 8287 82882010-05-17 Dirk Eddelbuettel <edd@debian.org> 8289 8290 * DESCRIPTION: Release 0.8.0 8291 8292 * debian/*: Similarly updated for new release to Debian 8293 82942010-05-11 Romain Francois <romain@r-enthusiasts.com> 8295 8296 * inst/include/Rcpp/traits/*.h: added support for long long int and 8297 unsigned long long int, which is size_t on win64 8298 82992010-05-10 Romain Francois <romain@r-enthusiasts.com> 8300 8301 * inst/include/Rcpp/Dimension.h: added a const operator[], requested 8302 in the Rcpp-devel thread : 8303 http://article.gmane.org/gmane.comp.lang.r.rcpp/327 8304 8305 * inst/include/Rcpp/preprocessor.h: added __rcpp_info__ pseudo 8306 reflection information to RCPP_XP_FIELD 8307 8308 * inst/unitTests/runit.macros.R: testing RCPP_XP_FIELD 8309 83102010-05-06 Romain Francois <romain@r-enthusiasts.com> 8311 8312 * inst/include/Rcpp/DataFrame.h: DataFrame( RObject::SlotProxy ) and 8313 DataFrame( RObject::AttributeProxy ) constructors 8314 8315 * inst/include/Rcpp/DataFrame.h: DataFrame::create now uses the R 8316 function data.frame and not as.data.frame, which respects the 8317 stringsAsFactors argument. 8318 8319 * inst/include/Rcpp/preprocessor.h: added RCPP_XP_FIELD_SET and 8320 RCPP_XP_FIELD_SET macros to generate getter and setter for a field of 8321 a class handled by an external pointer. RCPP_XP_FIELD is modified to 8322 generate both getter and setter 8323 83242010-05-05 Romain Francois <romain@r-enthusiasts.com> 8325 8326 * inst/include/Rcpp/S4.h: S4 gains a "is" method to identify if an 8327 object is of a given S4 class, following Doug's advice in lme4a 8328 8329 * inst/include/Rcpp/algo.h: new STL-like algorithms Rcpp::any and 8330 Rcpp::any_if 8331 8332 * inst/include/Rcpp/Vector.h: Vector gains a constructor taking an 8333 RObject::SlotProxy and a constructor taking an RObject::AttributeProxy, 8334 allowing this construct NumericVector x( y.slot( "foo" ) ) 8335 83362010-05-04 Romain Francois <romain@r-enthusiasts.com> 8337 8338 * inst/include/Rcpp/preprocessor_generated.h: new macros to hide most of 8339 the boiler plate code 8340 RCPP_FUNCTION_0, ..., RCPP_FUNCTION_1 8341 RCPP_FUNCTION_VOID_0, ... 8342 RCPP_XP_METHOD_0, ... 8343 RCPP_XP_METHOD_CAST_0, ... 8344 RCPP_XP_METHOD_VOID_0, ... 8345 83462010-05-03 Dirk Eddelbuettel <edd@debian.org> 8347 8348 * inst/unitTests/runit.DataFrame.R: unit tests for Rcpp::DataFrame 8349 83502010-05-03 Romain Francois <romain@r-enthusiasts.com> 8351 8352 * inst/include/Rcpp/exceptions.h : move the what methods of exception 8353 classes so that the symbol is defined for sure in the shared 8354 library. This seems to make a difference due to vague linkage 8355 issues. Decrypted from http://gcc.gnu.org/wiki/Visibility 8356 83572010-05-02 Romain Francois <romain@r-enthusiasts.com> 8358 8359 * inst/include/Rcpp/as.h: add throw(not_compatible) in Rcpp::as 8360 8361 * inst/include/Rcpp/clone.h: the clone(SEXP) moves to the headers 8362 83632010-04-28 Romain Francois <romain@r-enthusiasts.com> 8364 8365 * inst/include/Rcpp/Vector.h: changed Vector( size_t ) to Vector( int ) 8366 to allow Vector( 0 ) and Vector::create() 8367 83682010-04-27 Romain Francois <romain@r-enthusiasts.com> 8369 8370 * inst/include/Rcpp/preprocessor.h: new macro RCPP_ENUM_TRAITS to 8371 generate traits needed to support wrap for an enum type (used in 8372 RProtoBuf) 8373 8374 * R/Rcpp.package.skeleton.R: correctly handle the example_code 8375 argument 8376 83772010-04-26 Romain Francois <romain@r-enthusiasts.com> 8378 8379 * inst/include/Rcpp/DataFrame_*.h: new class Rcpp::DataFrame 8380 8381 * inst/include/Rcpp/preprocessor.h: added RCPP_XP_FIELD macro 8382 8383 * inst/include/Rcpp/preprocessor_generated.h: added the set of macros 8384 RCPP_WRAPPER_0, ..., RCPP_WRAPPER_65 to help wrapping existing 8385 C functions into .Call callables functions 8386 83872010-04-16 Dirk Eddelbuettel <edd@debian.org> 8388 8389 * DESCRIPTION: Release 0.7.12 8390 8391 * debian/*: Similarly updated for new release to Debian 8392 8393 * RcppLdpath.R: Remove shQuote() from trying to protect spaces in 8394 Windows pathnames as it breaks backticks expansion usage 8395 83962010-04-06 Romain Francois <romain@r-enthusiasts.com> 8397 8398 * inst/include/Rcpp/traits/*.h: added support for long 8399 84002010-04-04 Romain Francois <romain@r-enthusiasts.com> 8401 8402 * inst/include/* : headers are moved to inst/include so that they are 8403 are not duplicated on multi arch platforms 8404 8405 * R/RcppLdPath.R: RcppCxxFlags is updated to reflect the above change 8406 8407 * src/Makevars: simplified as the headers don't need to be copied to each 8408 arch lib directory anymore 8409 8410 * src/Makevars.win: same 8411 8412 * inst/include/Rcpp/Vector.h : Vector<> gains a templated assignment 8413 operator 8414 84152010-04-02 Romain Francois <romain@r-enthusiasts.com> 8416 8417 * src/Rcpp/Formula.h: new Rcpp::Formula class 8418 * inst/unitTests/runit.Formula.R: unit test for Rcpp::Formula 8419 84202010-03-26 Dirk Eddelbuettel <edd@debian.org> 8421 8422 * DESCRIPTION: Release 0.7.11 8423 8424 * debian/*: Similarly updated for new release to Debian 8425 8426 * inst/examples/FastLM: Updated to use new create() method 8427 8428 * inst/unitTests/runit.Matrix.R: New unit test new Matrix constructors 8429 84302010-03-26 Romain Francois <romain@r-enthusiasts.com> 8431 8432 * src/Rcpp/Vector.h: Fixed bug in diag() 8433 84342010-03-23 Dirk Eddelbuettel <edd@debian.org> 8435 8436 * inst/unitTests/runit.CharacterVector.R: New unit test for bug found by Doug 8437 84382010-03-23 Romain Francois <romain@r-enthusiasts.com> 8439 8440 * src/Rcpp/Vector.h: fixed critical bug. Vector did not have copy constructor 8441 and assignement operators 8442 8443 * src/exceptions.cpp: added the demangle helper function to help debugging 8444 8445 * src/RcppCommon.h: added the DEMANGLE macro and the RCPP_DEBUG macro to help 8446 debugging. 8447 84482010-03-20 Romain Francois <romain@r-enthusiasts.com> 8449 8450 * src/Rcpp/Vector.h : Vector gains a templated fill method to fill all 8451 elements of a vector with the same value 8452 84532010-03-19 Romain Francois <romain@r-enthusiasts.com> 8454 8455 * src/Rcpp/Vector.h : Matrix gains a diag method to create diagonal 8456 matrices 8457 8458 * src/Rcpp/Named.h: Named is no longer a class, but a templated function. 8459 This preserves all the existing interface, but also allows Named to be used 8460 in making simple vectors, e.g through the Vector::create factory functions 8461 8462 * src/Rcpp/Vector.h: Vector gains the "create" factory methods taking up 8463 to 20 arguments that can be named (using the Argument class or the _ 8464 placeholder) 8465 8466 * src/Rcpp/make_list.h: removed since Vector::create does the job more generically 8467 and more efficently 8468 84692010-03-19 Dirk Eddelbuettel <edd@debian.org> 8470 8471 * src/Rcpp/Vector.h: Matrix now also accepts a single int in the 8472 constructor to create matrices of square sizes 8473 8474 * src/RcppFrame.h: Patch by Alistair Gee to make ColDatum more robust 8475 src/RcppFrame.h: Idem 8476 * inst/unitTests/runit.RcppFrame.R: New unit test for RcppFrame 8477 84782010-03-16 Romain Francois <romain@r-enthusiasts.com> 8479 8480 * src/Rcpp/make_list.h: set of helper factories make_list to facilitate 8481 production of named generic vectors. 8482 8483 * src/Rcpp/Named.h: new class Rcpp::Argument similar to Named but does not 8484 contain the object, just the name. The templated Argument::operator= makes 8485 a Named. This allows an application to define a set of arguments that it uses 8486 in order to have a nicer construct. see the runit.Argument.R file for an example 8487 84882010-03-15 Dirk Eddelbuettel <edd@debian.org> 8489 8490 * DESCRIPTION: Release 0.7.10 8491 8492 * debian/*: Similarly updated for new release to Debian 8493 8494 * RcppLdpath.R: Use shQuote() to protect spaces in Windows pathnames 8495 84962010-03-15 Romain Francois <romain@r-enthusiasts.com> 8497 8498 * inst/codebloat/codebloat.R: script to generate code (creating a 8499 pairlist with up to n arguments). 8500 8501 * src/Rcpp/Function.h : Function gains a body method to retrieve 8502 the body of the function (using the BODY macro from Rinternals.h) 8503 85042010-03-14 Romain Francois <romain@r-enthusiasts.com> 8505 8506 * src/Rcpp/S4.h : Rcpp::S4 gains a new constructor taking a string 8507 reference and building a new S4 object of that type. This throws an 8508 exception if the object is not successfully created (e.g the class 8509 is not a known S4 class) 8510 85112010-03-13 Romain Francois <romain@r-enthusiasts.com> 8512 8513 * src/Rcpp/S4.h : new class Rcpp::S4 8514 85152010-03-12 Dirk Eddelbuettel <edd@debian.org> 8516 8517 * DESCRIPTION: Release 0.7.9 8518 8519 * debian/*: Similarly updated for new release to Debian 8520 85212010-03-12 Romain Francois <romain@r-enthusiasts.com> 8522 8523 * inst/unitTests/runit.environments.R: mac os has a different locale 8524 8525 * src/Rcpp/traits/is_convertible.h: the detection is now performed without 8526 the help of cxx0x or tr1 which makes it compatible with gcc 4.2 8527 8528 * src/Rcpp/traits/is_same.h: new traits is_same to help detect if two types 8529 are the same (not currently used) 8530 8531 * src/Rcpp/traits/wrap_type_traits.h: use "unsigned int" instead of "size_t" 8532 in the template specializations (64 bit compatibility) 8533 85342010-03-10 Dirk Eddelbuettel <edd@debian.org> 8535 8536 * R/RcppLdPath.R: More specific about quote-protection of path on Windows 8537 8538 * inst/doc/Rcpp-introduction.Rnw: Applied several fixes kindly suggested 8539 by Matt Kraai 8540 85412010-03-09 Dirk Eddelbuettel <edd@debian.org> 8542 8543 * DESCRIPTION: Release 0.7.8 8544 8545 * debian/*: Similarly updated for new release to Debian 8546 85472010-03-09 Romain Francois <romain@r-enthusiasts.com> 8548 8549 * man/Rcpp.package.skeleton.Rd: some more documentation 8550 85512010-03-07 Dirk Eddelbuettel <edd@debian.org> 8552 8553 * inst/doc/Rcpp-introduction.Rnw: Added vignette based on a recent paper 8554 85552010-03-07 Romain Francois <romain@r-enthusiasts.com> 8556 8557 * src/Rcpp/StringTransformer.h: new class template StringTransformer 8558 that allows using a character by character function to modify 8559 elements of a string vector (example available in package RcppExamples) 8560 8561 * src/Rcpp/Vector.h: string_proxy::iterator is made const char* because 8562 R uses a global cache for the CHARSXP 8563 85642010-03-05 Romain Francois <romain@r-enthusiasts.com> 8565 8566 * src/Rcpp/Vector.h: string_proxy gains begin(), end(), 8567 size(), and operator[] for iterating over characters of the CHARSXP 8568 85692010-03-02 Romain Francois <romain@r-enthusiasts.com> 8570 8571 * src/Rcpp/Vector.h: Vector gains a nested r_type type that is an 8572 integral_constant<int,RTYPE> to facilitate TMP 8573 * src/RcppCommon.{h,cpp}: added RCPP_CALL_VECTOR and RCPP_CALL_MATRIX 8574 macros to facilitate calling a function templated by T = Vector<RTYPE> 8575 the macro hides the boiler-plate switch( TYPEOF(x) ){ case INTSXP : ... } 8576 85772010-03-01 Romain Francois <romain@r-enthusiasts.com> 8578 8579 * src/Rcpp/Vector.h: more typedef : CharacterMatrix, StringMatrix, 8580 GenericMatrix, ExpressionMatrix, ListMatrix 8581 8582 * src/ExpressionVector.cpp : replaced by templates in Vector.h 8583 * src/Rcpp/Vector.h: use templates to cover ExpressionVector additional 8584 methods : eval() and eval(const Environment& ) 8585 85862010-02-28 Romain Francois <romain@r-enthusiasts.com> 8587 8588 * src/Rcpp/Vector.h : more generic code for vectors. All vector 8589 types are now generated from the template Rcpp::Vector<int RTYPE> 8590 where RTYPE is one of INTSXP, LGLSXP, REALSXP, RAWSXP, STRSXP, 8591 VECSXP or EXPRSXP. 8592 85932010-02-24 Romain Francois <romain@r-enthusiasts.com> 8594 8595 * src/Rcpp/exceptions.h: some exception classes factored out 8596 8597 * src/Rcpp/VectorBase.h: now a template, using the 8598 Curiously recurring template pattern (the type parameter is 8599 the derived class) 8600 8601 * src/Rcpp/SEXP_Vector.h: the intermediate class 8602 SEXP_Vector_Base is removed, reverting the change on 8603 2010-02-09. This will facilitate the introduction of the 8604 Curiously recurring template pattern on vectors 8605 8606 * src/Rcpp/MatrixRow.h : Row has been factored out of SimpleVector 8607 into a separate template class Rcpp::MatrixRow 8608 8609 * src/Rcpp/SimpleVector.h: gains a row method that returns 8610 a SimpleVector::Row, aka MatrixRow<SimpleVector> 8611 8612 * src/Rcpp/CharacterVector.h : gains a row method that returns 8613 a CharacterVector::Row, aka MatrixRow<CharacterVector> 8614 8615 * src/Rcpp/SEXP_Vector.h : gains a row method that returns 8616 a SEXP_Vector::Row aka MatrixRow<SEXP_Vector> 8617 8618 * src/Rcpp/MatrixColumn.h : Column class to access elements of a 8619 matrix column 8620 86212010-02-23 Romain Francois <romain@r-enthusiasts.com> 8622 8623 * src/Rcpp/SimpleVector.h: added the class SimpleVector::Row 8624 to support STL algorithms working on a row of a matrix. 8625 8626 * src/Rcpp/internal/ListInitialization.h: new class that 8627 supports use of operator, (inspired from blitz) giving this 8628 notation: IntegerVector x(3); x = 0, 1, 2 ; 8629 86302010-02-21 Romain Francois <romain@r-enthusiasts.com> 8631 8632 * src/Rcpp/as.h: more generic as implementation. primitive 8633 types are handled through templates which for example makes 8634 it possible to as<GPB::int64> in RProtoBuf. std::deque<T> 8635 and std::list<T> become as'able when T is a primitive type 8636 as indicated by the Rcpp::traits::r_type_traits 8637 8638 * src/as.cpp: removed since as is now fully implemented via 8639 templates 8640 86412010-02-19 Romain Francois <romain@r-enthusiasts.com> 8642 8643 * src/Rcpp/as.h: as now delegates to a template class 8644 Exporter since partial specialization was not possible with 8645 the interface of as. It is possible to partially specialize 8646 Exporter. std::vector<T> when T is a primitive type is 8647 now handled through Exporter. Some support Exporter have been 8648 added and used in RcppArmadillo 8649 8650 * src/Rcpp/internal/wrap.h: support for std::complex<double> 8651 and std::complex<float> (needed for RcppArmadillo) 8652 8653 * src/Rcpp/traits/wrap_type_traits.h : The Importer concept 8654 has been introduced to support wrap() of more types. If a 8655 class has a typedef "r_import_type" then the following interface 8656 is assumed and used. The corresponding class must have methods 8657 int size() and r_import_type get(int). As usual further dispatch 8658 is performed based on r_import_type (primitive, etc ...). 8659 RcppArmadillo has an example of this for wrapping arma::field<T> 8660 objects using the FieldImporter<T> class. 8661 86622010-02-18 Romain Francois <romain@r-enthusiasts.com> 8663 8664 * src/Rcpp/Language.h: added fixed_call to support STL algorithms 8665 similar to generate. 8666 8667 * inst/unitTests/runit.Language.R: unit test for fixed_call 8668 8669 * src/Rcpp/Environment.h: Environment gains a find method 8670 which searches for a binding in the associated environment 8671 but also in all its parents, as opposed to get which just 8672 looks in the environment. 8673 86742010-02-17 Dirk Eddelbuettel <edd@debian.org> 8675 8676 * src/Makevars: Simplified as RcppExample.cpp is shipped off 8677 * src/Makevars.win: Simplified as RcppExample.cpp is shipped off 8678 86792010-02-17 Romain Francois <romain@r-enthusiasts.com> 8680 8681 * src/Rcpp/SEXP_Vector.h : The lhs use of operator[](string) has 8682 been improved so that if the name does not exist in the vector, 8683 the vector grows. 8684 8685 * inst/unitTests/runit.GenericVector.R: new unit test 8686 test.List.implicit.push.back about the new operator[](string) 8687 8688 * src/Rcpp/SimpleVector.h : new template class SimpleMatrix<int> 8689 that derives from SimpleVector<int>, with typedefs NumericMatrix 8690 IntegerMatrix, LogicalMatrix, RawMatrix, ComplexMatrix. The actual 8691 functionality comes from SimpleVector but SimpleMatrix has 8692 constructors and assignment operators that behave slighlty 8693 differently : they check that their input is a matrix 8694 8695 * src/Rcpp/traits/wrap_type_traits: added support for float 8696 8697 * src/Rcpp/Rcpp.h: now including RObject here instead of in 8698 RcppCommon.h because RObject is a client of implicit converters 8699 (attr) and so we need to leave a hook for third party code, e.g. 8700 RcppArmadillo 8701 87022010-02-16 Dirk Eddelbuettel <edd@debian.org> 8703 8704 * src/Makevars.wim: Applied improved version kindly supplied by Brian Ripley 8705 8706 * R/RcppExample.R, man/RcppExample.Rd: Moved to RcppExamples package 8707 * man/RcppDate.Rd, man/RcppParams.Rd, man/RcppResultSet.Rd, RcppVector.Rd, 8708 src/RcppExample.cpp: Idem 8709 8710 * inst/examples/FastLM: Slightly reworked, actual code factored out 8711 and used in a per-library demo/test script and a joint benchmark.r 8712 87132010-02-15 Dirk Eddelbuettel <edd@debian.org> 8714 8715 * inst/examples/FastLM: New example directory with two 'fast lm' 8716 implementations using, respectively, GNU GSL (in C) and Armadillo 8717 (in C++); Armadillo is seen as faster for lack of extra copying 8718 87192010-02-14 Romain Francois <romain@r-enthusiasts.com> 8720 8721 * src/Rcpp/Language.h: accepting Function in unary_call and 8722 binary_call to support STL algorithms using R functions. 8723 87242010-02-14 Dirk Eddelbuettel <edd@debian.org> 8725 8726 * DESCRIPTION: Release 0.7.7 8727 8728 * debian/*: Similarly updated for new release to Debian 8729 87302010-02-14 Romain Francois <romain@r-enthusiasts.com> 8731 8732 * src/Rcpp/Language.h: fixing serious bug. The 'code bloat' 8733 constructors taking a std::string did not explicitely 8734 create a symbol, so the created calls were wrong. 8735 8736 * src/Rcpp/Language.h: new template classes Rcpp::unary_call 8737 and Rcpp::binary_call to allow use of Language objects 8738 in STL algorithms. 8739 8740 * inst/unitTests/runit.Language.R: unit test and example 8741 of using unary_call and binary_call 8742 87432010-02-12 Dirk Eddelbuettel <edd@debian.org> 8744 8745 * DESCRIPTION: Release 0.7.6 8746 8747 * NEWS: Updated 8748 8749 * debian/*: Similarly updated for new release to Debian 8750 87512010-02-12 Romain Francois <romain@r-enthusiasts.com> 8752 8753 * src/Rcpp/Environment.h: Environment gains a default 8754 constructor. This is needed for RInside. 8755 87562010-02-10 Romain Francois <romain@r-enthusiasts.com> 8757 8758 * src/Rcpp/SEXP_Vector.h: SEXP_Vector (and therefore 8759 ExpressionVector and GenericVector, a.k.a List) gain 8760 methods push_front, push_back and insert that are templated and 8761 use the 'implicit wrap idiom' to add an element to the front 8762 or, the back or an arbitrary (valid) position of the list, 8763 pushing other elements. Internally the SEXP is actually copied. 8764 8765 * src/Rcpp/SEXP_Vector.h: SEXP_Vector gains an erase method 8766 modelled after std::vector<>::erase to remove elements from 8767 a list. erase has a single iterator (or int) form that removes 8768 one element, and a range based version 8769 erase(iterator first, iterator last) that erases all elements 8770 between first and last. 8771 8772 * src/Rcpp/VectorBase.h: VectorBase gains a version of 8773 offset to support retrieving the offset of a given name of a 8774 vector: offset( const std::string& name) 8775 8776 * src/Rcpp/SimpleVector.h : uses the new offset to perform 8777 names based indexing (FR #808) 8778 * src/Rcpp/SEXP_Vector.h: same 8779 * src/Rcpp/CharacterVector.h: same 8780 8781 * inst/unitTests/runit.GenericVector.R: unit tests for names 8782 based indexing 8783 * inst/unitTests/runit.IntegerVector.R: same 8784 * inst/unitTests/runit.CharacterVector.R: same 8785 87862010-02-09 Dirk Eddelbuettel <edd@debian.org> 8787 8788 * inst/skeleton/Makevars: Use $R_HOME/bin indirection 8789 * inst/skeleton/Makevars.win: Idem 8790 87912010-02-09 Romain Francois <romain@r-enthusiasts.com> 8792 8793 * src/Rcpp/SEXP_Vector.h: The functionality of SEXP_Vector 8794 that was independent of the template parameter was factored out 8795 into a new base class SEXP_Vector_Base. This follows the advice 8796 of item 44 of Effective C++. 8797 8798 * src/Rcpp/SEXP_Vector.h: SEXP_Vector_Base::iterator is introduced 8799 as well as methods begin() and end() to support use of stl 8800 algorithms on lists. 8801 8802 * inst/unitTests/runit.GenericVector.R: new unit test for 8803 testing SEXP_Vector_Base::iterator and illustrating a c++ 8804 version of lapply using std::transform 8805 8806 * src/Rcpp/CharacterVector.h: CharacterVector gains a random 8807 access iterator, begin() and end() to support STL algorithms. 8808 The iterator dereferences to a StringProxy 8809 8810 * src/Rcpp/RObject.h: remove RObject::asFoo methods which were 8811 deprecated in Rcpp 0.7.5. The alternative is to use Rcpp::as<Foo> 8812 88132010-02-08 Dirk Eddelbuettel <edd@debian.org> 8814 8815 * DESCRIPTION: Release 0.7.5 8816 8817 * debian/*: Similarly updated for new release to Debian 8818 88192010-02-07 Romain Francois <francoisromain@free.fr> 8820 8821 * src/RcppSexp.h: class RcppSexp removed (was deprecated) 8822 8823 * src/Rcpp/*.h: defaults copy constructors and assignment 8824 operators have been added for all classes extending RObject. 8825 Otherwise the compiler generates default versions that circumvent 8826 the garbage collection management 8827 88282010-02-06 Dirk Eddelbuettel <edd@debian.org> 8829 8830 * inst/examples/functionCallback/newApiExamples.r: Added simpler 8831 version using the new API 8832 * inst/examples/functionCallback/newApiExamples.r: Updated 8833 8834 * inst/unitTests/runit.RcppVector.R: added test for NA/NaN 8835 * inst/unitTests/runit.RcppMatrix.R: idem 8836 88372010-02-06 Romain Francois <francoisromain@free.fr> 8838 8839 * src/Rcpp/RObject.h : asFoo methods are deprecated. 8840 8841 * src/Rcpp/DottedPair.h : using R_len_t instead of int 8842 to anticipate future changes in R 8843 * src/Rcpp/VectorBase.h: idem 8844 * src/DottedPair.cpp: idem 8845 * src/VectorBase.cpp: idem 8846 * src/as.cpp: idem 8847 8848 * src/Rcpp/SimpleVector.h: SimpleVector is now only parameterized 8849 by the SEXP type. The c type is automatically retrieved using 8850 the storage_type trait class. 8851 88522010-02-05 Dirk Eddelbuettel <edd@debian.org> 8853 8854 * inst/THANKS: Added in order to show our appreciation 8855 88562010-02-04 Romain Francois <francoisromain@free.fr> 8857 8858 * src/Rcpp/DottedPair.h: code bloat to allow creation of 8859 DottedPair containing up to 5 objects without variadic templates 8860 RInside for example needs this. 8861 * src/Rcpp/Language.h: same 8862 * src/Rcpp/Pairlist.h: same 8863 * src/Rcpp/grow.h: same 8864 8865 * src/Rcpp/internal/wrap.h : one more level of dispatch to 8866 identify if there needs a cast between the primitive 8867 iterated over and the target storage type. For example 8868 size_t needs a cast to be stored in an integer vector. This 8869 will be useful for the RProtoBuf package with e.g. types like 8870 google::protobuf::int64 which needs to be cast to double. 8871 Consequently the special handling of bool has been withdrawn 8872 as bool can now be assimilated to a primitive type that does 8873 require casting (to int) 8874 88752010-02-03 Romain Francois <francoisromain@free.fr> 8876 8877 * src/Rcpp/VectorBase.h: VectorBase gains a names method that 8878 uses the proxy pattern to get or set the names of a vector 8879 8880 * src/Rcpp/DottedPair.h: DottedPair gains a << operator to 8881 add an object to the queue of the list. this is much useful 8882 when variadic templates are not available 8883 8884 * src/Rcpp/RObject.h: support for slot assignment. The slot 8885 method now uses the proxy pattern. 8886 8887 * inst/unitTests/runit.S4.R: unit test for slot assignment 8888 88892010-02-02 Romain Francois <francoisromain@free.fr> 8890 8891 * src/internal/r_coerce.h : coercion is now handled by a templated 8892 function r_coerce<int,int>, for example r_coerce<INTSXP,REALSXP> 8893 takes an int, performs coercion and returns a double 8894 8895 * src/traits/has_iterator.h : introduce a trait that uses the 8896 SFINAE idiom to check if a class T has a nested type called 8897 "iterator". This helps wrap dispatch which now uses the 8898 range based wrap implementation in that case 8899 8900 * src/Rcpp/wrap.h: The range based wrap function is exposed 8901 at the Rcpp:: level. The interface is 8902 wrap( InputIterator first, InputIterator last ) 8903 and dispatch is performed internally using iterator traits 8904 89052010-02-01 Romain Francois <francoisromain@free.fr> 8906 8907 * src/traits/wrap_type_traits.h: new namespace Rcpp::traits:: 8908 to host Rcpp type traits used by the template meta programming 8909 dispatching of wrap 8910 89112010-01-31 Dirk Eddelbuettel <edd@debian.org> 8912 8913 * doxyfile: several updates plus improvements related to examples/ 8914 * src/RcppDoxygenExamples.h: A phony empty file needed mainly to 8915 define a few \example tags for Doxygen 8916 89172010-01-31 Romain Francois <francoisromain@free.fr> 8918 8919 * src/Rcpp/internal/wrap.h: more wrap for stl templates are 8920 candidate for wrap (when T can be wrapped) 8921 std::list<T> -> vector or list 8922 std::multiset<T> -> vector or list 8923 std::map<std::string,T> -> named vector or named list 8924 std::multimap<std::string,T> -> named vector or named list 8925 std::tr1::unordered_map<std::string,T> -> named vector or named list 8926 std::tr1::unordered_set<T> -> vector or list 8927 std::tr1::unordered_multiset<T> -> vector or list 8928 8929 * inst/unitTests/runit.wrap.R : unit tests for the new 8930 wrappable types 8931 89322010-01-30 Dirk Eddelbuettel <edd@debian.org> 8933 8934 * DESCRIPTION: Release 0.7.4 8935 8936 * debian/*: Similarly updated for new release to Debian 8937 8938 * inst/unitTests/runit.RcppMatrix.R: also test STL return 8939 * inst/unitTests/runit.RcppVector.R: added 8940 89412010-01-30 Romain Francois <francoisromain@free.fr> 8942 8943 * src/Rcpp/internal/wrap.h: rework wrap using traits and 8944 template meta programming. wrap is now really a template 8945 and has many generated specializations. This file is 8946 a private header and should only be included by RcppCommon.h 8947 8948 * src/Rcpp/Language.h: Language gains Function aware constructors 8949 and eval methods 8950 89512010-01-28 Romain Francois <francoisromain@free.fr> 8952 8953 * src/Rcpp/DottedPair.h: DottedPair::Proxy are no more lazy, i.e 8954 traversal of the pair list happens at construction time, so 8955 that the proxy can be created once and used many times more 8956 efficiently. 8957 8958 * src/Rcpp/DottedPair.h: Pairlist and Language are now derived 8959 from the new virtual class DottedPair since both class were 8960 almost identical 8961 8962 * src/Rcpp/SimpleVector.h: simple vectors gain a range 8963 based assign method and a range based assign constructor 8964 * inst/unitTests/runit.IntegerVector.R: new unit test 8965 test.IntegerVector.range.constructors 8966 8967 * src/Rcpp/Dimension.h: new class Rcpp::Dimension to support 8968 creation of vectors with dimensions 8969 8970 * src/Rcpp/*Vector.h: using Rcpp::Dimension 8971 8972 * src/Rcpp/SimpleVector.h: data is initialized with 0 when 8973 the object is constructed from size or Dimension constructor 8974 8975 * inst/unitTestsrunit.CharacterVector.R: new unit test to test 8976 constructors using Dimension 8977 * inst/unitTests/runit.IntegerVector.R: idem 8978 * inst/unitTests/runit.GenericVector.R: idem 8979 8980 * R/unit.tests.R: new unexported function "test" to trigger 8981 unit tests using installed test cases 8982 8983 * src/Rcpp/CharacterVector.h: minor bug fix in assign 8984 8985 * inst/unitTest/runit.RcppResultSet.R: compare time using 8986 as.numeric to avoid timezone problems 8987 89882010-01-27 Dirk Eddelbuettel <edd@debian.org> 8989 8990 * inst/unitTests/runit.RcppMatrix.R: added 8991 * inst/unitTests/runit.RcppMatrixView.R: added 8992 * inst/unitTests/runit.RcppVector.R: added 8993 * inst/unitTests/runit.RcppVectorView.R: added 8994 89952010-01-27 Romain Francois <francoisromain@free.fr> 8996 8997 * src/Rcpp/CharacterVector.h: CharacterVector gains a default 8998 constructor 8999 9000 * src/Rcpp/CharacterVector.h: CharacterVector gains range 9001 constructors and range based assign methods facilitating 9002 construction from iterators 9003 9004 * inst/unitTests/runit.CharacterVector.R: unit tests for assign 9005 and range based constructors 9006 9007 * src/Rcpp/CharacterVector.h: CharacterVector::StringProxy 9008 gets a printing operator <<(std::ostream& ) 9009 9010 * src/Rcpp/Environment.h: removed the static 9011 Environment::RCPP_NAMESPACE which caused problems when 9012 embedding R 9013 9014 * src/Rcpp/RObject.h: RObject::AttributeProxy::operator RObject 9015 replaced by templated implicit conversion operator, delegating the 9016 actual work to as<>. 9017 9018 * src/Environment.h: Binding::operator RObject is removed since 9019 it can be automatically generated by the templated implicit 9020 conversion operator 9021 9022 * man/RcpUnitTests.Rd: fix html rendering 9023 9024 * inst/doc/Makefile: clean the index.html file before copying it 9025 90262010-01-26 Dirk Eddelbuettel <edd@debian.org> 9027 9028 * src/RcppDatetime.cpp: New SEXP-based constructor 9029 * src/RcppDatetime.h: idem, bug fix for operator- 9030 9031 * src/RcppDate.h: new accessor getJulian() [relative to epoch 9032 just like R's julian()] to complement getJDN() 9033 9034 * inst/unitTests/runit.RcppDatetime.R: added 9035 90362010-01-26 Romain Francois <francoisromain@free.fr> 9037 9038 * src/Rcpp/clone.h: explicit cloning of RObjects. The clone 9039 template function creates a new object of the same class 9040 as the object it is passed in, encapsulating a duplicate 9041 of the SEXP contained by the input RObject. 9042 9043 * src/Rcpp/r_cast.h: new template function to handle casts 9044 from one SEXP to another. This is mostly useful internally 9045 9046 * src/Rcpp/VectorBase.h: VectorBase gains a offset method 9047 that is responsible to calculate the correct offset based 9048 on variable number of size_t arguments. currently the number 9049 of arguments can be 1 (vector indexing) and 2 (matrix indexing) 9050 but arbitrary number of arguments will be added later 9051 for arbitrary array-like indexing. 9052 9053 * src/Rcpp/SimpleVector.h: outsourcing offset calculation 9054 to VectorBase::offset 9055 9056 * src/Rcpp/CharacterVector.h: use offset to implement matrix-like 9057 indexing for matrices of strings 9058 9059 * inst/unitTests/runit.CharacterVector.R: unit test for matrix 9060 indexing (test.CharacterVector.matrix.indexing) 9061 9062 * inst/Rcpp/SEXP_Vector.h: use offset to implement matrix like 9063 indexing on lists 9064 9065 * inst/unitTests/runit.GenericVector.R: unit test for matrix 9066 indexing (test.List.matrix.indexing) 9067 90682010-01-26 Dirk Eddelbuettel <edd@debian.org> 9069 9070 * inst/unitTests/runit.RcppDate.R: added 9071 90722010-01-25 Romain Francois <francoisromain@free.fr> 9073 9074 * src/Rcpp/wrap.h: wrap is back at being a template. The 9075 template parameter T is first converted to SEXP implicitely 9076 and the wrap(SEXP) method is used. This allows clients to only have to 9077 implement an implicit conversion to SEXP operator for their class 9078 and have wrap for free. 9079 9080 * src/Rcpp/SEXP_Vector.h: factored out ExpressionVector and 9081 GenericVector into a templated SEXP_Vector class parameterized 9082 by the SEXP type (VECSXP or EXPRSXP). GenericVector and 9083 ExpressionVector now are generated from the template. This will 9084 ease adding features to both classes. 9085 9086 * src/as.cpp: also use coercion for as<bool>, as<int>, as<double> 9087 as<Rbyte> (FR #768) 9088 9089 * src/Rcpp/as.h: smarter template as<T>, now the template 9090 attempts to create an object by passing the SEXP as the first 9091 parameter, so any class that has a constructor taking a SEXP 9092 can be as<>'ed. see item below for how this can be useful 9093 9094 * src/Rcpp/Environment.h: lhs use of Environment::Binding is now 9095 a bit smarter and uses as<> to implicitely convert the SEXP 9096 to the requested type, so that if as<Foo> makes sense, this 9097 works: Foo foo = env["x"] ; 9098 9099 * src/Rcpp/Environment.h: Environment::assign gains a templated 9100 form so that we can assign anything that can be wrapped to 9101 a name in an environment. 9102 9103 * inst/unitTests/runit.environments.R: new unit test 9104 'test.environment.assign.templated' to test the templated assign 9105 9106 * src/Makevars(.win?): listen to the RCPP_CXX0X environment variable 9107 and if set to "yes" attempt to add c++0x support if possible 9108 91092010-01-24 Dirk Eddelbuettel <edd@debian.org> 9110 9111 * configure.in: Withdrawn as OS X universal binaries are only built 9112 when there is src/Makevars and neither src/Makefile nor configure 9113 * configure: idem 9114 * src/Makevars: Again a static file, content copied from Makevars.in, 9115 -std=c++0x selection back to simply unabling a comment 9116 91172010-01-24 Romain Francois <francoisromain@free.fr> 9118 9119 * src/SimpleVector.h : new template to replace simple vector 9120 classes. now NumericVector, IntegerVector, LogicalVector, 9121 ComplexVector and RawVector are all generated from the same 9122 template class. A first attempt at matrix indexing is added 9123 as part of this. 9124 9125 * inst/unitTests/runit.NumericVector.R: new unit tests about 9126 matrix indexing 9127 9128 * src/Rcpp/VectorBase.h: added the exception not_a_matrix 9129 that is thrown when attempting to perform matrix indexing on 9130 a vector that is not a matrix. 9131 91322010-01-23 Dirk Eddelbuettel <edd@debian.org> 9133 9134 * inst/unitTests/runit.RcppParams.R: added 9135 * inst/unitTests/runit.RcppResultSet.R: added 9136 91372010-01-23 Romain Francois <francoisromain@free.fr> 9138 9139 * src/wrap.cpp: s/copy/std::copy/ 9140 9141 * src/RcppDateTime.h: explicitely include <time.h> (win64 warning) 9142 91432010-01-22 Romain Francois <francoisromain@free.fr> 9144 9145 * src/Makevars.win: disable c++0x entirely (for now) 9146 9147 * src/Rcpp/Environment.h: make sure what() is const. (suncc finding) 9148 9149 * src/RcppCommon.h: pre declare classes, as an attempt to 9150 deal with the suncc warning "RObject may not have a type qualifier." 9151 9152 * src/Rcpp/*.h: make sure RcppCommon.h is the first included header 9153 9154 * src/*cpp: make sure foo.cpp only include Rcpp/foo.h 9155 9156 * src/Environment.cpp: use Evaluator instead of R_ToplevelExec 9157 9158 * src/RcppFunction.{h,cpp}: listen to some suncc warnings 9159 9160 * src/RcppFrame.cpp: listen to some suncc warnings 9161 9162 * src/as.cpp: use transform instead of assign, which should 9163 make the code more portable (particularly suncc) and also 9164 deal with coercion 9165 91662010-01-21 Dirk Eddelbuettel <edd@debian.org> 9167 9168 * DESCRIPTION: Release 0.7.3 9169 9170 * debian/*: Similarly updated for new release to Debian 9171 9172 * INDEX: updated 9173 9174 * configure.in: Some more small cleanups 9175 9176 * inst/skeleton/Makevars.win: Add missing default file 9177 91782010-01-21 Romain Francois <francoisromain@free.fr> 9179 9180 * configure.in: Some small cleanups, add RCPP_CXX0X env var 9181 91822010-01-20 Romain Francois <francoisromain@free.fr> 9183 9184 * src/*: make update private virtual in RObject and couple it with 9185 setSEXP so that it gets called automatically, instead of manually 9186 * src/*: move more code depending on c++0x from cpp files to header 9187 files 9188 91892010-01-20 Dirk Eddelbuettel <edd@debian.org> 9190 9191 * configure.in: Detect C++ capabilties (via g++ major/minor) via 9192 small C++ program embedded in autoconf macro 9193 91942010-01-19 Romain Francois <francoisromain@free.fr> 9195 9196 * configure.in: use the cxx0x.R script to discover if the 9197 compiler being used is c++0x capable 9198 * configure: regenerated from updated configure.in 9199 9200 * src/Makevars.in: using CLINK_CPPFLAGS variable 9201 9202 * src/Makevars.win: using CLINK_CPPFLAGS variable with the 9203 cxx0x.R discovery script 9204 92052010-01-18 Dirk Eddelbuettel <edd@debian.org> 9206 9207 * R/RcppLdpath.R: Rewrote logic for LdFlags() to decide when linking 9208 is static: default now is everywhere but Linux, and choices can be 9209 overriden as before 9210 92112010-01-18 Romain Francois <francoisromain@free.fr> 9212 9213 * inst/discovery/cxx0x.R: replaces the cxx0x.c file to take 9214 care of compiling, etc... 9215 92162010-01-17 Romain Francois <francoisromain@free.fr> 9217 9218 * src/exceptions.cpp: slightly less dumb exception logic 9219 on non GCC compilers. exceptions will now trigger an R error 9220 with a default message (we don't attempt to get the 9221 exception class or message because we don't know how to) 9222 9223 * src/Rcpp/Pairlist.h: Pairlist lacked a default constructor 9224 which is needed when the variadic templates are not 9225 available 9226 9227 * inst/unitTests/*: add -std=c++0x in inline when necessary 9228 9229 * R/RcppLdPath.R : new script RcppCxx0xFlags() and Cxx0xFlags() 9230 that compile, load and call a simple C file in order to check 9231 the compiler version and add the -std=c++0x flag 9232 9233 * inst/discovery/cxx0x.c: discovery script. simple C script that 9234 returns "-std=c++0x" if it is compiled with GCC >= 4.3 and 9235 "" otherwise 9236 92372010-01-16 Dirk Eddelbuettel <edd@debian.org> 9238 9239 * src/Rcpp/*h: call Rf_length() etc as ::Rf_length() to ensure we get 9240 the one from the top-level namespace 9241 92422010-01-16 Romain Francois <francoisromain@free.fr> 9243 9244 * src/Rcpp/Environment.h: Environment gains a new_child method 9245 to create an environment enclosed by this 9246 * inst/unitTests/runit.environments.R: unit test for new_child 9247 9248 * src/Rcpp/ExpressionVector.h: ExpressionVector gains a 9249 convenience methods eval to evaluate itself 9250 * inst/unitTests/runit.ExpressionVector.R: added unit tests 9251 for ExpressionVector::eval 9252 9253 * src/Rcpp/ExpressionVector.h: ExpressionVector gains a 9254 constructor ExpressionVector( const std::string& ) that 9255 parses the string as R code 9256 * inst/unitTests/runit.ExpressionVector.R: added unit tests 9257 to cover the new constructor 9258 9259 * src/Rcpp/Environment.h : the Rcpp namespace is cached because 9260 we use it in many places and retrieving it is an "expensive" 9261 operation that requires a round trip to the R side 9262 * src/Evaluator.cpp: use the cached Rcpp namespace 9263 9264 * R/Rcpp.package.skeleton: now generating example C++ and R 9265 code that uses Rcpp, also the generated Makevars contains 9266 a hack so that the generated package can pass check (after 9267 edition of Rd files, NAMESPACE, etc ...) 9268 * inst/skeleton: added example code used by the skeleton 9269 generator 9270 92712010-01-15 Romain Francois <francoisromain@free.fr> 9272 9273 * src/Rcpp/NumericVector.h: cache the start of the array to 9274 improve performance of operator[] 9275 * src/NumericVector.cpp: idem 9276 9277 * src/Rcpp/IntegerVector.h: 9278 * src/Rcpp/RawVector.h: 9279 * src/Rcpp/ComplexVector.h: 9280 * src/Rcpp/LogicalVector.h: idem 9281 9282 * src/IntegerVector.cpp: 9283 * src/RawVector.cpp: 9284 * src/ComplexVector.cpp: 9285 * src/LogicalVector.cpp: idem 9286 92872010-01-13 Romain Francois <francoisromain@free.fr> 9288 9289 * R/cpp.package.skeleton.R: new function cpp.package.skeleton 9290 to extend the code generation performed by package.skeleton 9291 to Rcpp features 9292 9293 * man/cpp.package.skeleton.Rd: documentation for cpp.package.skeleton 9294 9295 * src/Rcpp/VectorBase.h: new virtual class Rcpp::VectorBase 9296 to manage common things of all vectors (length, names, etc ...) 9297 all Vector classes now derive from VectorBase 9298 9299 * src/Rcpp/Environment.h: Environment::Binding gains a templated 9300 conversion operator, to facilitate distance 2 implicit conversion 9301 making this possible: 9302 Environment env("package:stats") ; 9303 Function f = env["rnorm"] ; 9304 9305 * src/Rcpp/GenericVector.h: GenericVector::Proxy gains an 9306 assignement operator to deal with Environment::Binding. This is 9307 to work around distance 1 implicit conversion restrictions 9308 9309 * src/Rcpp/NumericVector.h: operator[], begin and end are 9310 promoted to inline member functions 9311 * src/Rcpp/IntegerVector.h: idem 9312 * src/Rcpp/RawVector.h: idem 9313 * src/Rcpp/LogicalVector.h: idem 9314 93152010-01-12 Dirk Eddelbuettel <edd@debian.org> 9316 9317 * DESCRIPTION: Release 0.7.2 9318 9319 * debian/*: Similarly updated for new release to Debian 9320 9321 * .Rbuildignore: Add 'inst/doc/{html,latex,man} as we no 9322 longer ship the voluminous doxygen-generated content 9323 9324 * inst/doc/examples/ConvolveBenchmarks/convolve2*: Added simple 9325 benchmark on the well-known vector convolution example from 9326 'Writing R Extensions' to compare C and C++ implementations 9327 * inst/doc/examples/ConvolveBenchmarks/buildAndRun.sh: idem 9328 inst/doc/examples/ConvolveBenchmarks/exampleRCode.r: idem 9329 93302010-01-12 Romain Francois <francoisromain@free.fr> 9331 9332 * inst/doc/examples/ConvolveBenchmarks/convolve2*: Added additional 9333 C++ examples to convolution benchmark highlighting performance gains 9334 93352010-01-11 Romain Francois <francoisromain@free.fr> 9336 9337 * src/Rcpp/CharacterVector.h: StringProxy gains operator+= 9338 * src/CharacterVector.cpp: implementation 9339 9340 * src/Rcpp/*Vector.h: operator[] now throws index out of bounds 9341 exception when needed (FR#770) 9342 * src/*Vector.cpp: same 9343 9344 * src/Rcpp/Environment.h: operator[](string) for environment 9345 allowing to get/set values of a binding in this environment. 9346 The Environment::Binding class has been created to act as 9347 a proxy. 9348 * src/Environment.cpp: idem 9349 * inst/unitTests/runit.environments.R: unit tests for the above 9350 93512010-01-10 Romain Francois <francoisromain@free.fr> 9352 9353 * src/Rcpp/Pairlist.h: operator[] for pairlist using proxies 9354 * src/Pairlist.cpp : idem 9355 * inst/unitTests/runit.Pairlist.R: new unit tests 9356 9357 * src/Rcpp/Language.h: same for Language 9358 * src/Language.cpp : idem 9359 * inst/unitTests/runit.Language.R: new unit tests 9360 9361 * inst/unitTests/runit.Function.R: added unit test for function 9362 throwing exceptions 9363 9364 * src/Function.cpp: grab the condition message and not the call 9365 93662010-01-09 Romain Francois <francoisromain@free.fr> 9367 9368 * src/Rcpp/RObject.h: attr can now be used to get or set the 9369 attribute (used to be read only). This is another manifestation 9370 of the proxy pattern. The rhs can be anything wrap can handle 9371 9372 * inst/unitTests/runit.RObject.R: added test.RObject.attr.set 9373 unit test (setting attribute). 9374 9375 * src/Rcpp/Function.h: Function::operator() now throws an 9376 exception if an R error occurs. 9377 93782010-01-08 Dirk Eddelbuettel <edd@debian.org> 9379 9380 * configure.in: provide basic support for c++ compiler version detection 9381 at build-time so that we can add -std=c++0x when applicable; 9382 provide defaults in case we do not use g++ 9383 * src/Makevars.in: copied from Makevars, set C++ flags from configure 9384 * configure.win: simply log what g++ version is being used 9385 93862010-01-08 Romain Francois <francoisromain@free.fr> 9387 9388 * src/Rcpp/wrap.h: added wrap( size_t ) to disambiguate it 9389 9390 * int/unitTests/runit.XPTr.R: forgot to set the finalizer on the 9391 external pointer 9392 9393 * src/Rcpp/Pairlist.h: Pairlist gains a push_back, replace, 9394 length, size, remove and insert methods 9395 9396 * src/Rcpp/Language.h: idem for Language 9397 93982010-01-07 Romain Francois <francoisromain@free.fr> 9399 9400 * src/Rcpp/Pairlist.h: gains a push_front method 9401 9402 * src/Rcpp/wrap.h : now the result type of the various wrap 9403 functions depends on the parameters. wrap( bool ) makes a 9404 LogicalVector, etc ... wrap(SEXP) dispatches to the 9405 appropriate Rcpp:: class depending on TYPEOF 9406 9407 * src/Rcpp/RObject.h: added methods "isS4", "slot" 9408 and "hasSlot" to deal with S4 objects 9409 * inst/unitTests/runit.S4.R: unit tests 9410 9411 * src/Rcpp/ComplexVector.h: new class Rcpp::ComplexVector 9412 to manage ... complex vectors (CPLXSXP) 9413 * src/ComplexVector.cpp: implementation 9414 * inst/unitTests/runit.ComplexVector.R: unit tests 9415 9416 * src/Rcpp/Promise.h: new class Rcpp::Promise to manage 9417 promises (PROMSXP). only read access so far (no way to force 9418 the promise) 9419 * src/Promise.cpp: implementation 9420 9421 * src/Rcpp/RObject.h: the result of attr is now an RObject 9422 rather than a SEXP. This does not change previous behavior 9423 because of the implicit conversion 9424 9425 * src/Rcpp/ExpressionVector.h: new class Rcpp::ExpressionVector 9426 which shares a lot with GenericVector. 9427 * src/ExpressionVector.cpp: implementation 9428 * inst/unitTests/runit.ExpressionVector.R: unit tests 9429 9430 * src/Rcpp/CharacterVector.h: new class Rcpp::CharacterVector 9431 to manage character vectors (STRSXP). StringVector is a 9432 convenience typedef equivalent to CharacterVector 9433 * src/CharacterVector.cpp: implementation 9434 * inst/unitTests/runit.CharacterVector.R: unit tests 9435 9436 * src/Rcpp/WeakReference.h: new class Rcpp::WeakReference 9437 to wrap WEAKREFSXP with accessors to the key and value 9438 * src/WeakReference.cpp: implementation 9439 9440 * src/Rcpp/Rcpp_Rinternals.h: borrowed from Rinternals so that 9441 we can use VECTOR_PTR (which R forbids unless we define 9442 USE_RINTERNALS, but defining it disables NO_R_REMAP) 9443 9444 * src/Rcpp/GenericVector.h : added begin and end to allow 9445 stl type iteration over generic vectors. Now using the 9446 Proxy pattern (from Item 30 of More Effective C++) to 9447 allow getting and setting the elements of the list through 9448 the operator[]. 9449 9450 * int/unitTests/runit.GenericVector.R: examples are reworked 9451 using [] where set and get were used. 9452 94532010-01-06 Dirk Eddelbuettel <edd@debian.org> 9454 9455 * src/RcppCommon.h: Protect definition of logTxt by #ifndef 9456 * inst/doc/Rcpp-unitTests.Rnw: Minor LaTeX tweak 9457 94582010-01-06 Romain Francois <francoisromain@free.fr> 9459 9460 * src/Rcpp/wrap.h : wrap can now use initializer lists (available 9461 on on GCC >= 4.4). 9462 * src/wrap.cpp: implementation 9463 * int/unitTests/runit.wrap.R: unit tests 9464 9465 * src/RObject.cpp : make methods RObject::asFoo 9466 calling Rcpp::as<Foo> to avoid code duplication 9467 94682010-01-05 Romain Francois <francoisromain@free.fr> 9469 9470 * src/Rcpp/GenericVector.h : new class Rcpp::GenericVector 9471 and an alias Rcpp::List to handle lists (VECSXP), aka generic 9472 vectors 9473 * src/GenericVector.cpp : implementation 9474 * inst/unitTests/runit.GenericVector.R: unit tests 9475 9476 * src/Rcpp/IntegerVector.h : new class Rcpp::IntegerVector 9477 to manage integer vector (INTSXP). IntegerVector can be 9478 constructed from SEXP of appropriate type, from an int which 9479 simply allocates a vector that big, or using an 9480 initialization list (the last is GCC >= 4.4 only). 9481 Additionally IntegerVector defines begin() and end() so that 9482 they can be used in STL algorithms 9483 * src/IntegerVector.cpp : implementation 9484 * inst/unitTests/runit.IntegerVector.R: unit tests 9485 9486 * src/Rcpp/NumericVector.h : same as above, but for numeric 9487 vectors (REALSXP) 9488 * src/NumericVector.cpp : implementation 9489 * inst/unitTests/runit.NumericVector.R: unit tests 9490 9491 * src/Rcpp/RawVector.h : same as above, but for numeric 9492 vectors (RAWSXP) 9493 * src/RawVector.cpp : implementation 9494 * inst/unitTests/runit.RawVector.R: unit tests 9495 9496 * src/Rcpp/LogicalVector.h : same as above, but for numeric 9497 vectors (RAWSXP) 9498 * src/LogicalVector.cpp : implementation 9499 * inst/unitTests/runit.LogicalVector.R: unit tests 9500 9501 * src/RcppCommon.h: improve the conditional compiling logic 9502 with macros HAS_VARIADIC_TEMPLATES and HAS_INIT_LISTS instead 9503 of CXX0X. This ensures the package can be compiled with 9504 older GCC, with lower functionality 9505 9506 * src/RcppCommon.{h,cpp}: added a capabilities function that 9507 can be used to bring the result of the two above macros to R 9508 9509 * R/RcppLdPaths.R: added unexported function RcppCapabilities 9510 to call the internal capabilities. capabilities is an alias 9511 to RcppCapabilities so that we can call Rcpp::capabilities() 9512 95132010-01-04 Romain Francois <francoisromain@free.fr> 9514 9515 * src/Rcpp/Function.h: new class Rcpp::Function to manage functions 9516 (closures, primitives and builtins) all share the Function class 9517 (at least for now). This is implemented as a functor taking 9518 variable number of arguments, so it looks pretty similar to the 9519 R function 9520 9521 * src/Function.cpp: implementation 9522 9523 * inst/unitTests/runit.Function.R: unit tests 9524 9525 * src/Rcpp/Pairlist.h: new class Rcpp::Pairlist to manage dotted 9526 pair lists (LISTSXP). unsurprisingly this shares a lot of 9527 similarities with Language class 9528 9529 * src/Pairlist.cpp: implementation 9530 9531 * inst/unitTests/runit.Pairlist.R: unit tests for Rcpp::Pairlist 9532 9533 * src/Rcpp/wrap.h: wrap no more a template. this was not a good 9534 idea as it prevented implicit conversion to SEXP behavior when 9535 wrap'ing a RObject. 9536 9537 * src/Rcpp/Environment.h: added the remove method 9538 9539 * src/unitTests/runit.environments.R: remove unit test 9540 9541 * src/unitTests/runit.Language.R: remove verbose=TRUE in cfunction 9542 call (generated noise) 9543 9544 * src/wrap.cpp: added a few missing PROTECT 9545 95462010-01-04 Dirk Eddelbuettel <edd@debian.org> 9547 9548 * src/excections.cpp: Get rid of another unused variable 9549 * src/RcppCommon.cpp: Idem 9550 95512010-01-03 Romain Francois <francoisromain@free.fr> 9552 9553 * src/Rcpp/Environment.h: Environment gains the parent 9554 method that returns the parent environment 9555 9556 * src/Rcpp/as.h: template as<> to convert SEXP to classic 9557 C++ types, factored out of RObject 9558 9559 * src/as.cpp: specific implementations. as<int>, as<bool> 9560 as<string>, ... 9561 9562 * inst/unitTests/runit.as.R: unit tests 9563 9564 * src/Rcpp/wrap.h : factored out from RObject. there is now a 9565 template wrap in addition to the specific implementations. The 9566 template generates a warning and return NULL 9567 9568 * src/wrap.cpp: specific implementations of the wrap template 9569 (factored out of RObject) 9570 9571 * src/Rcpp/pairlist.h : variadic templates to 9572 recursively generate a pairlist 9573 (CAR and CDR) from any number of "wrap("'able objects. 9574 (factored out of Language) 9575 9576 * src/pairlist.cpp: end of recursion for the above 9577 9578 * src/Rcpp/grow.h : grow a pairlist with any wrappable 9579 object. Used in pairlist 9580 9581 * src/grow.cpp : specific implementation for Named object 9582 to allow tagging the head of the pairlist. 9583 9584 * src/Rcpp/Named.h : new class Named that is used to specify 9585 named elements in a pairlist. 9586 9587 * src/Named.cpp: implementation 9588 9589 * src/Rcpp/RObject.h: added wrap(const char* const) RObject factory 9590 method 9591 9592 * src/Rcpp/RObject.h: rework the garbage collection mechanism so that 9593 it is automatic and hidden. methods preserve and release are now 9594 private to the RObject class and the SEXP may only be changed using 9595 the protected setSEXP member function. isPreserved and forgetPreserve 9596 are defunct. 9597 9598 * src/Rcpp/RObject.h: RObject gains assignment operators and copy constructors 9599 9600 * src/RcppCommon.h: added the CXX0X define that controls whether 9601 we can use C++0x features offered by the gcc. currently the define 9602 is hardcoded, but this will eventually be a configure guess. The 9603 canUseCXX0X function can be called to bring this back to R 9604 9605 * R/RcppLdPath.R: added the canUseCXX0X R function to query 9606 the internal canUseCXX0X function, use this in RcppCxxFlags so that 9607 code linking against Rcpp (inline code or packages) can take 9608 advantage of it 9609 9610 * src/Rcpp/Language.h : new class Rcpp::Language to manage calls 9611 (LANGSXP SEXP) 9612 9613 * src/Language.cpp : implementation 9614 9615 * inst/unitTests/runit.Language.R: unit tests 9616 9617 * src/Rcpp/Environment.h : added constructors and made the SEXP based 9618 constructor smarter (using as.environment) 9619 9620 * inst/unitTests/runit.environments.R: more unit tests 9621 9622 * src/Rcpp/Symbol.h: new class Rcpp::Symbol to encapsulate 9623 symbols. This allows to use Symbol("rnorm") instead of the most cryptic 9624 Rf_install("rnorm") 9625 9626 * src/Symbol.cpp: implementation 9627 9628 * inst/unitTests/runit.Symbol.R: unit tests 9629 96302010-01-03 Dirk Eddelbuettel <edd@debian.org> 9631 9632 * doxyfile: updated to current doxygen standard using -u 9633 96342010-01-02 Dirk Eddelbuettel <edd@debian.org> 9635 9636 * DESCRIPTION: Release 0.7.1 9637 9638 * debian/*: Similarly updated for new release to Debian 9639 96402010-01-02 Romain Francois <francoisromain@free.fr> 9641 9642 * pkg/src/RcppSexp.h: Added to preserve existing interface, 9643 implementation use the redesigned class src/RObject.h 9644 96452010-01-01 Romain Francois <francoisromain@free.fr> 9646 9647 * pkg/src/Rcpp/RObject.h: RObject::RObject constructors are 9648 replaced by the Rcpp::wrap set of functions. Currently the wrap 9649 functions make a RObject object but it is likely that as new 9650 classes become available in the new API, wrap will return 9651 instances of classes that extend RObject. 9652 9653 * pkg/src/Rcpp/RObject.h: s/protect/preserve/, added methods 9654 isPreserved and forgetPreserve 9655 9656 * ** : adapted examples, code, and unit tests to reflect both 9657 above items 9658 96592009-12-31 Romain Francois <francoisromain@free.fr> 9660 9661 * src/Rcpp/Evaluator.h : new class Rcpp::Evaluator that eases 9662 evaluation of R expression with error capture. so that we can for example 9663 throw C++ exceptions 9664 9665 * src/Evaluator.cpp : implementation of Rcpp::Evaluator 9666 9667 * inst/unitTests/runit.evaluator: unit tests of Rcpp::Evaluator 9668 9669 * inst/Rcpp/RObject.h: RObject::RObject(SEXP) now initializes isProtected 9670 9671 * inst/src/Environment.cpp: use of exceptions 9672 96732009-12-30 Romain Francois <francoisromain@free.fr> 9674 9675 * src/Rcpp/Environment.h : added support for environment through the 9676 Rcpp::Environment class 9677 9678 * src/Environment.cpp: idem 9679 9680 * inst/unitTests/runit.environments.R: testing the above 9681 9682 * src/RcppCommon.h: now includes <R_ext/Callbacks.h>, needed for the 9683 environment support 9684 96852009-12-30 Romain Francois <francoisromain@free.fr> 9686 9687 * src/Makevars* : adapt for allowong copy of the Rcpp directory 9688 9689 * src/Rcpp_RObject.h: replace by src/Rcpp/RObject.h 9690 9691 * src/Rcpp_XPtr.h: replaced by src/Rcpp/XPtr.h 9692 9693 * src/*.cpp: adapt to the Rcpp directory 9694 9695 * cleanup: idem 9696 96972009-12-30 Romain Francois <francoisromain@free.fr> 9698 9699 * inst/unitTests/runit.RObject.R: new unit tests 9700 9701 * inst/unitTests/runit.exceptions.R: idem 9702 9703 * inst/unitTests/runit.XPtr.R: idem 9704 9705 * man/RcppUnitTests.Rd: shows and link unit test reports generated at 9706 build time 9707 97082009-12-29 Romain Francois <francoisromain@free.fr> 9709 9710 * src/Rcpp_RObject.{h,cpp}: new namespace Rcpp and new class 9711 Rcpp::RObject to replace RcppSexp with the same functionality. 9712 9713 * src/Rcpp_XPtr.h: replaces RcppXPtr.h and the class is now 9714 Rcpp::XPtr<> and extends Rcpp::RObject 9715 9716 * inst/examples/RcppInline/external_pointer.r: use the new namespace 9717 9718 * inst/examples/RcppInline/RcppInlineWithLibsExamples.r: idem 9719 9720 * inst/examples/RcppInline/RcppSexpTests.r: idem 9721 9722 * DESCRIPTION: marked as version 0.7.0.5 9723 9724 * inst/doc/*: fake (empty) vignette and unit test trigger 9725 9726 * inst/unitTests/*: prepare the space for unit tests 9727 9728 * tests/doRUnit.R : added the usual RUnit tests trigger 9729 97302009-12-29 Romain Francois <francoisromain@free.fr> 9731 9732 * src/RcppXPtr.h: now RcppXPtr extends RcppSexp and RcppSexp manages 9733 garbarge collection, attributes, etc ... 9734 9735 * src/exceptions.cpp: replaces src/exception_handling.cpp 9736 9737 * DESCRIPTION: now suggesting RUnit. 9738 97392009-12-29 Romain Francois <francoisromain@free.fr> 9740 9741 * src/RcppXPtr.h: added operator SEXP() to class 9742 RcppXPtr to ease implicit conversion from RcppXPtr to SEXP. 9743 This means we can directly return the RcppXPtr object to R when the 9744 return type of the function is SEXP. (no need to explicitely call 9745 asSexp anymore) 9746 9747 * src/RcppSexp.{h,cpp} : idem 9748 97492009-12-29 Romain Francois <francoisromain@free.fr> 9750 9751 * src/RcppXPtr.h: new smart external pointer wrapper. The RcppXPtr 9752 template can be used to wrap a external pointer (SEXP) so that it 9753 looks like the dumb pointer it is wrapping (as far as the * and -> 9754 operator are concerned). The template parameter controls the type 9755 of object that is wrapped by the pointer. 9756 9757 * src/Rcpp.h: importing the RcppXPtr.h header 9758 9759 * src/RcppExample.cpp: added an example of RcppXPtr usage 9760 9761 * inst/examples/RcppInline/external_pointer.r: added example using 9762 the RcppXPtr template 9763 9764 * DESCRIPTION: marking this as 0.7.0.4 9765 97662009-12-28 Romain Francois <francoisromain@free.fr> 9767 9768 * R/exceptions.R: s/uncaught_cpp_exception/cpp_exception/ and added a 9769 'class' argument to hold the class name of the C++ exception 9770 (range_error, etc ...) 9771 9772 * inst/examples/RcppInline/UncaughtExceptions.r: extend examples to 9773 show how to grab details of the C++ exception 9774 9775 * src/exception_handling.cpp: factored out from RcppCommon.cpp, now 9776 able to grab the class name of the exception and its message. 9777 97782009-12-27 Dirk Eddelbuettel <edd@debian.org> 9779 9780 * R/RcppInline.R: Removed as we now use cfunction() from inline (>= 0.3.4) 9781 * man/{RcppInline,internals}.Rd: idem 9782 9783 * NAMESPACE: removed entries related to cfunction and methods 9784 9785 * DESCRIPTION: Added 'Suggests: inline (>= 0.3.4) 9786 9787 * inst/examples/RcppInline/*R: Add library(inline) or require(inline) 9788 97892009-12-27 Romain Francois <francoisromain@free.fr> 9790 9791 * src/RcppCommon.{h,cpp} : added experimental uncaught exception 9792 management 9793 9794 * R/zzz.R : added .onAttach, used to register the uncaught exception 9795 management on package attach 9796 9797 * R/exceptions.R : added R side of the exception management, unexported 9798 as it is only used by internal C++ code 9799 9800 * inst/examples/RcppInline/UncaughtExceptions.r: demo of the 9801 uncaught exception system 9802 9803 * src/RcppSexp.{h,cpp} : added method isNULL to test if the 9804 underlying SEXP is NULL 9805 9806 * src/RcppSexp.{h,cpp} : added some methods to deal with attributes 9807 attributeNames : the names of the attributes as a vector<string> 9808 hasAttribute : test whether the SEXP has the given attribute 9809 attr : extract the attribute (might return NULL) 9810 9811 * src/RcppSexp.{h,cpp} : added RcppSexp(bool), RcppSexp(vector<bool>) 9812 constructors and RcppSexp.asBool(), RcppSexp.asStdVectorBool() methods 9813 9814 * inst/examples/RcppInline/RcppSexpTests.r: examples/tests of the 9815 above items 9816 98172009-12-26 Romain Francois <francoisromain@free.fr> 9818 9819 * src/RcppSexp.{h,cpp} : added std::set<{int,double,Rbyte,string}> as 9820 accepted input type for the RcppSexp class (needed by RProtoBuf) 9821 9822 * inst/examples/RcppInline/RcppSexpTests.r: examples/tests of the above 9823 98242009-12-21 Romain Francois <francoisromain@free.fr> 9825 9826 * src/RcppSexp.{h,cpp} : support for raw vector added into RcppSexp 9827 9828 * inst/examples/RcppInline/RcppSexpTests.r: examples of raw vector 9829 support 9830 98312009-12-20 Dirk Eddelbuettel <edd@debian.org> 9832 9833 * inst/examples/RcppInline/RcppInlineWithLibsExamples.r: Minor 9834 simplifications using new RcppSexp types, added third example 9835 98362009-12-19 Dirk Eddelbuettel <edd@debian.org> 9837 9838 * DESCRIPTION: Release 0.7.0 9839 9840 * DESCRIPTION: Descrition fields reworded and expanded to explicitly 9841 mention 'inlining' ability as well as simple SEXP support. 9842 9843 * src/RcppSexp.{h,cpp}: Switch to R_PreserveObject and R_ReleaseObject 9844 with a big thanks to Romain for the most appropriate suggestion 9845 * src/RcppSexp.{h,cpp}: Added converters for vectors of 9846 int, double, and std::string vectors 9847 * src/RcppResultsSetp.{h,cpp}: Added simple single SEXP return 9848 * src/RcppCommon.{h,cpp}: Adding simple logging facility 9849 * inst/examples/RcppInline/RcppSexpTests.r: expanded for new types 9850 98512009-12-18 Dirk Eddelbuettel <edd@debian.org> 9852 9853 * R/RcppInline.R: Another improvement for Rcpp use 9854 * inst/examples/RcppInline/RcppSimpleExamples.r: Another simple case 9855 98562009-12-17 Dirk Eddelbuettel <edd@debian.org> 9857 9858 * R/RcppInline.R: Improved / simplified in light of getting it to 9859 work on Windoze too so switched to setting env var explicitly; 9860 also split into three args for CPPFLAGS, CXXFLAGS and LIBS 9861 * man/RcppInline.Rd: Updated accordingly to reflect new args 9862 * inst/examples/RcppInline/RcppInlineWithLibsExamples.r: Idem 9863 98642009-12-16 Dirk Eddelbuettel <edd@debian.org> 9865 9866 * src/RcppSexp.{h,cpp}: Added simple RcppSexp class for simple 9867 conversion from and to single-element SEXPs -- currently limited 9868 to int, double, std::string 9869 * inst/examples/RcppInline/RcppSexpTests.r: Simple tests for this 9870 98712009-12-15 Dirk Eddelbuettel <edd@debian.org> 9872 9873 * DESCRIPTION: License changed to 'GPL (>= 2)' 9874 * COPYING: Changed from LGPL 2.1 to GPL 2 (or later) 9875 * src/*.{h,cpp}: Relicensed under GPL 2 (or later) 9876 98772009-12-13 Dirk Eddelbuettel <edd@debian.org> 9878 9879 * R/RcppInline.R: Extended to for additional header and library 9880 arguments so that we can work with arbitrary other projects 9881 * man/RcppInline.Rd: Added documentation for these arguments 9882 * inst/examples/RcppInline/RcppInlineWithLibsExamples.r: New 9883 examples using GNU GSL to show how to compile + link via inline 9884 98852009-12-11 Dirk Eddelbuettel <edd@debian.org> 9886 9887 * R/RcppInline.R: Imported function 'cfunction' from the inline 9888 package, along with small patch to directly support Rcpp. The 9889 inclusion may be temporary -- if our patch is integrated into 9890 inline we may just depend on that package 9891 * man/RcppInline.Rd: Imported from inline, plus change for Rcpp 9892 * inst/examples/RcppInline/RcppInlineExample.r: Small example 9893 taken from the 'Intro to HPC with R' tutorials 9894 9895 * R/RcppVersion.R: Removed as unused as redundant given read.dcf() in R 9896 * man/RcppVersion.R: idem 9897 * NAMESPACE: updated accordingly 9898 * INDEX: idem 9899 99002009-11-18 Dirk Eddelbuettel <edd@debian.org> 9901 9902 * DESCRIPTION: Add Dominick back into Authors per his new request 9903 reversing his requests to be removed from last December 9904 99052009-11-17 Dirk Eddelbuettel <edd@debian.org> 9906 9907 * man/RcppParams.Rd: applied patch by Frank S. Thomas to fix example 9908 99092009-11-15 Dirk Eddelbuettel <edd@debian.org> 9910 9911 * src/RcppDateVector.{cpp,h}: Moved out of Rcpp.{h,cpp} 9912 * src/RcppDatetimeVector.{cpp,h}: idem 9913 * src/RcppFunction.{cpp,h}: idem 9914 * src/RcppMatrix.{cpp,h}: idem 9915 * src/RcppMatrixView.{cpp,h}: idem 9916 * src/RcppNumList.{cpp,h}: idem 9917 * src/RcppResultSet.{cpp,h}: idem 9918 * src/RcppStringVector.{cpp,h}: idem 9919 * src/RcppStringVectorView.{cpp,h}: idem 9920 * src/RcppVector.{cpp,h}: idem 9921 * src/RcppVectorView.{cpp,h}: idem 9922 * src/RcppCommon.cpp: takes remaining utility function from Rcpp.cpp 9923 99242009-11-09 Dirk Eddelbuettel <edd@debian.org> 9925 9926 * DESCRIPTION: Release 0.6.8 9927 9928 * src/RcppParams.{cpp,h}: Code reorginsation, moved out of Rcpp.{h,cpp} 9929 * src/RcppDate.{cpp,h}: idem 9930 * src/RcppDatetime.{cpp,h}: idem 9931 * src/RcppCommon.h: New header file for common defines and includes 9932 * src/Makevars{,.win}: Updated and generalised to reflect new files 9933 99342009-11-08 Dirk Eddelbuettel <edd@debian.org> 9935 9936 * DESCRIPTION: Release 0.6.7 9937 9938 * man/RcppVector.Rd: Remove erraneous use of \R in \title{} section 9939 noticed by the Rd parser in R-devel (with thanks to Kurt Hornik) 9940 99412009-11-06 Dirk Eddelbuettel <edd@debian.org> 9942 9943 * src/RcppList.{h,cpp}: Added a simple class to accept list() 9944 objects in order to cope with non-rectangular data-types -- this 9945 comes from the RProtoBuf code currently only on r-forge where 9946 we need accept lists that are potentially nested. 9947 The API for RcppList is not fully fleshed out and needs a few 9948 more append() member functions. Also length is currently fixed. 9949 9950 * cleanup: Change header file removal to Rcpp*.h 9951 9952 * inst/README: Added short README about history and status 9953 9954 * inst/doc/: Updated doxygen documentation 9955 99562009-09-29 Dirk Eddelbuettel <edd@debian.org> 9957 9958 * inst/examples/functionCallback/*: Added simple C++ / R example of 9959 defining an R function that is passed to and called from C++ 9960 99612009-08-03 Dirk Eddelbuettel <edd@debian.org> 9962 9963 * DESCRIPTION: Release 0.6.6 9964 9965 * src/Rcpp.{h,cpp}: Added exists() method for RcppParams to test 9966 for existence of a named parameter. 9967 9968 * inst/doc/: Updated doxygen documentation 9969 99702009-04-01 Dirk Eddelbuettel <edd@debian.org> 9971 9972 * DESCRIPTION: Release 0.6.5 9973 9974 * COPYING: Added 9975 99762009-03-30 Dirk Eddelbuettel <edd@debian.org> 9977 9978 * src/Makevars: Add $(R_ARCH) to target directory path when copying 9979 the header file as an OS X user reported not finding it with 9980 default settings. 9981 99822009-03-01 Dirk Eddelbuettel <edd@debian.org> 9983 9984 * DESCRIPTION: Release 0.6.4 9985 9986 * .Rbuildignore: Added to exclude debian/ from source tarball 9987 99882009-02-25 Dirk Eddelbuettel <edd@debian.org> 9989 9990 * src/Makevars.win: Renamed from Makefile.win, added missing mkdir 9991 * cleanup: Remove a few more Windows files 9992 99932009-02-24 Dirk Eddelbuettel <edd@debian.org> 9994 9995 * inst/doc/{html,latex,man}: Added new documentation of the C++ classes 9996 * doxyfile: Added Doxygen configuration file for doc generation 9997 99982009-02-22 Dirk Eddelbuettel <edd@debian.org> 9999 10000 * src/Rcpp.{h,cpp}: cleaner use of namespace 'std' by formal prefix 10001 rather than via 'using namespace std' 10002 * src/Rcpp.h: define R_NO_MAP and use Rf_* form of R API functions 10003 100042009-02-18 Dirk Eddelbuettel <edd@debian.org> 10005 10006 * src/Rcpp.{h,cpp}: Added a few explicit casts, and removed unused 10007 loop variable; all to make 'g++ -Wall' happy 10008 100092009-02-10 Dirk Eddelbuettel <edd@debian.org> 10010 10011 * src/Rcpp.{cpp,h}: Expanded a few of the throw() messages 10012 100132009-01-09 Dirk Eddelbuettel <edd@debian.org> 10014 10015 * DESCRIPTION: Release 0.6.3 10016 10017 * R/RcppLdpath.R: Also defined shorter functions CxxFlags() and 10018 LdFlags() which cat() the longer forms RcppCxxFlags() and 10019 RcppLdFlags() to further simplify use via litter or Rscript in 10020 Makefile or Makevars 10021 10022 * man/Rcpp-package.Rd: Mention short form CxxFlags() and LdFlags() 10023 10024 * src/Makevars: Applied another build correction for OS X suggested 10025 by Simon Urbanek 10026 10027 * src/Rcpp.{cpp,h}: Added 'view-only' classes RcppVectorView, 10028 RcppMatrixView and RcppStringVectorView contributed by David Reiss 10029 100302008-12-02 Dirk Eddelbuettel <edd@debian.org> 10031 10032 * DESCRIPTION: Release 0.6.2 10033 10034 * R/RcppLdPath.R: Correct output for the default Linux case 10035 100362008-11-30 Dirk Eddelbuettel <edd@debian.org> 10037 10038 * DESCRIPTION: Release 0.6.1 10039 10040 * src/Makevars: Added, replacing src/Makefile: thanks to Simon for a 10041 rewrite that provides OS X support 10042 * src/Makefile: Retired 10043 * src/Makefile.win: Now build libRcpp.a instead of Rcpp.a 10044 10045 * src/Rcpp.{cpp,h}: Removed #ifdef statements related to QuantLib and 10046 Date ops as we no longer need to split this off -- one build for all 10047 uses; also added another date offset for the difference between the 10048 Unix epoch of Jan 1, 1970 and what certain spreadsheets use (which is 10049 what QuantLib) follows. With this change, Rcpp is completely 10050 decoupled from QuantLib headers, yet can be used from QuantLib 0.2.10 10051 or later. However, this also removes data conversion from R/Rcpp to 10052 QL as Rcpp no longer 'knows' QL. 10053 10054 * R/RcppLdPath.R: Adds new functions RcppLdPath() to return lib/ 10055 directory path, and RcppLdFlags() to return arguments, including the 10056 optional rpath settings on Linux 10057 10058 * R/RcppExample.R: Added new example 'RcppVectorExample()', extended 10059 default print method for examples 10060 10061 * man/Rcpp-package.Rd: Expanded / updated documentation of package 10062 use when building other packages 10063 10064 * cleanup: Removing static libraries too but do not remove src/Makevars 10065 100662008-11-05 Dirk Eddelbuettel <edd@debian.org> 10067 10068 * Release 0.6.0 10069 10070 * New maintainer 10071 10072 * src/Makefile{,.win}: New files, including functionality from both 10073 configure and RcppSrc/Makefile; we now build two libraries, one for 10074 use by the package which also runs the example, and one for users to 10075 link against 10076 * src/Makevars.in: Removed 10077 * src/Rcpp.{cpp,h}: moved in from ../RcppSrc 10078 10079 * src/Rcpp.{cpp,h}: Add new type RcppDatetime corresponding to 10080 POSIXct in with full support for microsecond time resolution 10081 between R and C++ 10082 10083 * man/*: Several new manual pages added 10084 10085 * configure{,.in,.win}: Removed as src/Makefile* can handle this more 10086 easily 10087 10088 * DESCRIPTION: Minor cleanup and reformatting, Date: now uses 10089 svn:keyword Date property 10090 10091 * NAMESPACE: Renamed RcppTemplateVersion to RcppVersion, 10092 deleted RcppDemo 10093 10094 * demo/ directory removed as vignette("RcppAPI") is easier and more 10095 reliable to show vignette documentation 10096 10097 * R/zzz.R: RcppTemplateDemo() removed, vignette("RcppAPI") is easier 10098 * man/RcppTemplateDemo.Rd removed as well 10099 10100 * R/RcppExample.R: reindented, rewritten to set default arguments 10101 10102 * R/RcppTemplateVersion.R: renamed to RcppVersion.R 10103 * man/RcppTemplateVersion.Rd: renamed to RcppVersion.Rd 10104 10105 * RcppSrc/Rcpp.{cpp,h}: moved to src/ directory 10106 * RcppSrc/Makefile{,.win}: removed 10107 10108 * inst/doc/RcppAPI.{Rnw,pdf}: Added footnote onto titlepage about how 10109 this document has not (yet) been updated along with the channges made 10110