summaryrefslogtreecommitdiff
path: root/devel/R-Rcpp
AgeCommit message (Collapse)AuthorFilesLines
2020-01-11(devel/R-Rcpp) Updated to 1.0.3mef2-7/+13
(pkgsrc changes): - Add some TEST_DEPENDS, but make test does not complete yet - Still more TEST_DEPENDS are necessary (of which not packaged yet) (upstream changes): ( https://cran.r-project.org/web/packages/Rcpp/news.html ) Changes in Rcpp version 1.0.3 (2019-11-08) - Changes in Rcpp API: Compilation can be sped up by skipping Modules headers via a toggle RCPP_NO_MODULES (Kevin in #995 for #993). Compilation can be sped up by toggling RCPP_NO_RTTI which implies RCPP_NO_MODULES (Dirk in #998 fixing #998). XPtr tags are now preserved in as<> (Stephen Wade in #1003 fixing #986, plus Dirk in #1012). A few more temporary allocations are now protected from garbage collection (Romain Francois in #1010, and Dirk in #1011). - Changes in Rcpp Modules: Improved initialization via explicit Rcpp:: prefix (Riccardo Porreca in #980). - Changes in Rcpp Deployment: A unit test for Rcpp Class exposure was updated to not fail under r-devel (Dirk in #1008 fixing #1006). - Changes in Rcpp Documentation: The Rcpp-modules vignette received a major review and edit (Riccardo Porreca in #982). Minor whitespace alignments and edits were made in three vignettes following the new pinp release (Dirk). New badges for DOI and CRAN and BioConductor reverse dependencies have been added to README.md (Dirk). Vignettes are now included pre-made (Dirk in #1005 addressing #1004)). The Rcpp FAQ has two new entries on 'no modules / no rtti' and exceptions across shared libraries (Dirk in #1009).
2019-09-26R-Rcpp: do not check *.deb files for RELRO.wiz1-1/+2
2019-08-08Update all R packages to canonical form.brook1-6/+4
The canonical form [1] of an R package Makefile includes the following: - The first stanza includes R_PKGNAME, R_PKGVER, PKGREVISION (as needed), and CATEGORIES. - HOMEPAGE is not present but defined in math/R/Makefile.extension to refer to the CRAN web page describing the package. Other relevant web pages are often linked from there via the URL field. This updates all current R packages to this form, which will make regular updates _much_ easier, especially using pkgtools/R2pkg. [1] http://mail-index.netbsd.org/tech-pkg/2019/08/02/msg021711.html
2019-07-31R-Rcpp: update to version 1.0.2.brook3-14/+14
Update to the canonical form of an R package and fix the LICENSE field.
2019-04-20Update to 1.0.1wen2-7/+7
Upstream changes: Changes in Rcpp version 1.0.1 (2019-03-17) Changes in Rcpp API: Subsetting is no longer limited by an integer range (William Nolan in #920 fixing #919). Error messages from subsetting are now more informative (Qiang and Dirk). Shelter increases count only on non-null objects (Dirk in #940 as suggested by Stepan Sindelar in #935). AttributeProxy::set() and a few related setters get Shiled<> to ensure rchk is happy (Romain in #947) fixing #946). Changes in Rcpp Attributes: A new plugin was added for C++20 (Dirk in #927) Fixed an issue where 'stale' symbols could become registered in RcppExports.cpp, leading to linker errors and other related issues (Kevin in #939 fixing #733 and #934). The wrapper macro gets an UNPROTECT to ensure rchk is happy (Romain in #949) fixing #948). Changes in Rcpp Documentation: Three small corrections were added in the 'Rcpp Quickref' vignette (Zhuoer Dong in #933 fixing #932). The Rcpp-modules vignette now has documentation for .factory (Ralf Stubner in #938 fixing #937). Changes in Rcpp Deployment: Travis CI again reports to CodeCov.io (Dirk and Ralf Stubner in #942 fixing #941).
2018-12-21Update to 1.0.0wen2-7/+7
Upstream changes: Changes in Rcpp version 1.0.0 (2018-11-05) Happy tenth birtday to Rcpp, and hello release 1.0 ! Changes in Rcpp API: The empty destructor for the Date class was removed to please g++-9 (prerelease) and -Wdeprecated-copy (Dirk). The constructor for NumericMatrix(not_init(n,k)) was corrected (Romain in #904, Dirk in #905, and also Romain in #908 fixing #907). Rcpp::String no longer silently drops embedded NUL bytes in strings but throws new Rcpp exception embedded_nul_in_string. (Kevin in #917 fixing #916). Changes in Rcpp Deployment: The Dockerfile for Continuous Integration sets the required test flag (for release versions) inside the container (Dirk). Correct the R CMD check call to skip vignettes (Dirk). Changes in Rcpp Attributes: A new [[Rcpp::init]] attribute allows function registration for running on package initialization (JJ in #903). Sort the files scanned for attributes in the C locale for stable output across systems (JJ in #912). Changes in Rcpp Documentation: The 'Rcpp Extending' vignette was corrected and refers to EXPOSED rather than EXPORTED (Ralf Stubner in #910). The 'Unit test' vignette is no longer included (Dirk in #914). Changes in Rcpp version 0.12.19 (2018-09-20) Changes in Rcpp API: The no_init() accessor for vectors and matrices is now wrapped in Shield<>() to not trigger rchk warnings (Kirill Mueller in #893 addressing #892). STRICT_R_HEADERS will be defined twelve months from now; until then we protect it via RCPP_NO_STRICT_HEADERS which can then be used to avoid the definition; downstream maintainers are encouraged to update their packages as needed (Dirk in #900 beginning to address #898). Changes in Rcpp Attributes: Added [[Rcpp::init]] attribute for registering C++ functions to run during package initialization (JJ in #903 addressing #902). Changes in Rcpp Modules: Improved exposeClass functionality along with added test (Martin Lysy in #886 fixing #879). Changes in Rcpp Documentation: Two typos were fixed in the Rcpp Sugar vignette (Patrick Miller in #895). Several vignettes now use the collapse argument to show output in the corresponding code block. Changes in Rcpp Deployment: The old LdFlags() build helper was marked as deprecated [but removed for release] (Dirk in #887). Dockerfiles for continuous integration, standard deployment and 'plus sized' deployment are provided along with builds (Dirk in #894). Travis CI now use the rcpp/ci container for tests (Dirk in #896). Changes in Rcpp version 0.12.18 (2018-07-21) Changes in Rcpp API: The StringProxy::operator== is now const correct (Romain in #855 fixing #854). The Environment::new_child() is now const (Romain in #858 fixing #854). Next eval codes now properly unwind (Lionel in the large and careful #859 fixing #807). In debugging mode, more type information is shown on abort() (Jack Wasey in #860 and #882 fixing #857). A new class was added which allow suspension of the RNG synchronisation to address an issue seen in RcppDE (Kevin in #862). Evaluation calls now happen in the base environment (which may fix an issue seen between conflicted and some BioConductor packages) (Kevin in #863 fixing #861). Call stack display on error can now be controlled more finely (Romain in #868). The new Rcpp_fast_eval is used instead of Rcpp_eval though this still requires setting RCPP_USE_UNWIND_PROTECT before including Rcpp.h (Qiang Kou in #867 closing #866). The Rcpp::unwindProtect() function extracts the unwinding from the Rcpp_fast_eval() function and makes it more generally available. (Lionel in #873 and #877). The tm_gmtoff part is skipped on AIX too (#876). Changes in Rcpp Attributes: The sourceCpp() function now evaluates R code in the correct local environment in which a function was compiled (Filip Schouwenaars in #852 and #869 fixing #851). Filenames are now sorted in a case-insenstive way so that the RcppExports files are more stable across locales (Jack Wasey in #878). Changes in Rcpp Sugar: The sugar functions min and max now recognise empty vectors (Dirk in #884 fixing #883).
2018-07-28Remove MASTER_SITES= from individual R package Makefiles.brook1-2/+1
Each R package should include ../../math/R/Makefile.extension, which also defines MASTER_SITES. Consequently, it is redundant for the individual packages to do the same. Package-specific definitions also prevent redefining MASTER_SITES in a single common place.
2018-05-31Update to 0.12.17wen2-7/+7
Upstream changes: Changes in Rcpp version 0.12.17 (2018-05-09) Changes in Rcpp API: The random number Generator class no longer inhreits from RNGScope (Kevin in #837 fixing #836). A spurious parenthesis was removed to please gcc8 (Dirk fixing #841) The optional Timer class header now undefines FALSE which was seen to have side-effects on some platforms (Romain in #847 fixing #846). Optional StoragePolicy attributes now also work for string vectors (Romain in #850 fixing #849). Changes in Rcpp Documentation: A few old typesetting conventions from the prior Rnw format have been corrected (Peter Hickey in #831; Joris Meys; Dirk) Two internal links to the introduction published in JSS have been updated to the changed filename given the newer TAS introduction. Some remaining backticks were replaced with straight quotes (Ralf Stubner in #845). A citation to the Rcpp introducion in the The American Statistician has been added to the introductory and FAQ vignettes. Changes in Rcpp version 0.12.16 (2018-03-08) Changes in Rcpp API: Rcpp now sets and puts the RNG state upon each entry to an Rcpp function, ensuring that nested invocations of Rcpp functions manage the RNG state as expected (Kevin in #825 addressing #823). The R::pythag wrapper has been commented out; the underlying function has been gone from R since 2.14.0, and ::hypot() (part of C99) is now used unconditionally for complex numbers (Dirk in #826). The long long type can now be used on 64-bit Windows (Kevin in #811 and again in #829 addressing #804). Changes in Rcpp Attributes: Code generated with cppFunction() now uses .Call() directly (Kirill Mueller in #813 addressing #795). Changes in Rcpp Documentation: The Rcpp FAQ vignette is now indexed as 'Rcpp-FAQ'; a stale Gmane reference was removed and entry for getting compilers under Conda was added. The top-level README.md now has a Support section. The Rcpp.bib reference file was refreshed to current versions.
2018-04-05R-Rcpp: Add CHECK_SSP_SKIP for some useless files.jperkin1-1/+3
2018-01-22Update to 0.12.15wen2-8/+9
Upstream changelog is too long, please visit: https://github.com/RcppCore/Rcpp/blob/master/ChangeLog
2016-12-17Update to 0.12.8wen2-7/+7
Upstream changes: 2016-11-16 Dirk Eddelbuettel <edd@debian.org> * DESCRIPTION: Release 0.12.8 * inst/NEWS.Rd: Release 0.12.8 * vignettes/Rcpp.bib: Release 0.12.8 * inst/include/Rcpp/config.h: Release 0.12.8 * README.md: Updated counts for dependents and tests * debian/*: Changes for Debian release of 0.12.8 2016-11-15 Dirk Eddelbuettel <edd@debian.org> * DESCRIPTION: Nathan Russell added to Authors 2016-11-14 Jim Hester <james.f.hester@gmail.com> * inst/include/Rcpp/exceptions.h: Improved exception call stack * inst/include/Rcpp/routines.h: Ditto * inst/src/api.cpp: Ditto * R/exections.R: Print and format method for stack straces * inst/unitTests/runit.exceptions.R: Unit tests * inst/unitTests/cpp/exceptions.cpp: Ditto 2016-11-13 Dirk Eddelbuettel <edd@debian.org> * R/Attributes.R (mergeIntoBuildEnv): Correct 'empty' return 2016-11-10 Dirk Eddelbuettel <edd@debian.org> * inst/include/Rcpp/date_datetime/newDateVector.h: Added constructor using VectorBase<> 2016-11-05 Daniel C. Dillon <dcdillon@gmail.com> * inst/include/Rcpp/date_datetime/newDatetimeVector.h: Added constructor to instantiate newDatetimeVector from VectorBase. 2016-11-04 Nathan Russell <russell.nr2012@gmail.com> * inst/include/Rcpp/macros/dispatch.h: Modify variadic macros to not use GNU extensions * DESCRIPTION: roll minor version 2016-11-03 Nathan Russell <russell.nr2012@gmail.com> * inst/include/Rcpp/hash/IndexHash.h: Add casts to eliminate signed / unsigned comparison warning * inst/include/Rcpp/hash/SelfHash.h: Idem * inst/unitTests/cpp/sugar.cpp: Added unit tests for sugar function unique() * inst/unitTests/runit.sugar.R: Idem 2016-10-30 Dirk Eddelbuettel <edd@debian.org> * src/api.cpp: New capabilities field for new date(time) vectors * inst/unitTests/runit.Date.R (test.DatetimeVector.ctor): Differentiate in test as case of 'Inf' is handling differently by new and old datetime classes (and passed through as is by new ones which is better) * inst/unitTests/runit.InternalFunctionCPP11.R: Small cosmetic edit 2016-10-24 Qiang Kou <qkou@umail.iu.edu> * inst/include/Rcpp/sugar/Range.h : fix range sugar ambiguity * inst/unitTests/cpp/sugar.cpp: range sugar unit test * inst/unitTests/runit.sugar.R: range sugar unit test 2016-10-24 Nathan Russell <russell.nr2012@gmail.com> * inst/include/Rcpp/vector/MatrixBase.h: Change sugar functions eye(), ones(), and zeros() into static methods in MatrixBase * inst/include/Rcpp/traits/one_type.h: Idem * inst/include/Rcpp/traits/traits.h: Idem * inst/unitTests/cpp/Matrix.cpp: Idem * inst/unitTests/runit.Matrix.R: Idem 2016-10-24 Qiang Kou <qkou@umail.iu.edu> * inst/include/Rcpp/sugar/Range.h: Range sugar uses R_xlen_t as start/end type 2016-10-23 Nathan Russell <russell.nr2012@gmail.com> * inst/include/Rcpp/sugar/matrix/eye.h: New functions eye(), ones(), and zeros() * inst/include/Rcpp/sugar/matrix/matrix_functions.h: Idem * inst/unitTests/cpp/sugar.cpp: Unit tests for new functions * inst/unitTests/runit.sugar.R: Idem * inst/unitTests/runit.dispatch.R (test.ExpressionVector): Use expression rather than parse, correct typo 2016-10-22 Qiang Kou <qkou@umail.iu.edu> * inst/include/Rcpp/hash/IndexHash.h: change hashing function to return unsigned int * inst/include/Rcpp/hash/SelfHash.h: Ditto 2016-10-21 Qiang Kou <qkou@umail.iu.edu> * inst/include/Rcpp/barrier.h: Change string_elt/vector_elt to accept R_xlen_t * inst/include/Rcpp/routines.h: Ditto * src/barrier.cpp: Ditto 2016-10-19 Dirk Eddelbuettel <edd@debian.org> * inst/include/Rcpp/date_datetime/Datetime.h (Rcpp): Additional operator+ for int argument 2016-10-18 Dirk Eddelbuettel <edd@debian.org> * inst/include/Rcpp/date_datetime/Date.h (Rcpp): Add operator double() * inst/include/Rcpp/date_datetime/Datetime.h (Rcpp): Ditto 2016-10-17 Dirk Eddelbuettel <edd@debian.org> * inst/include/Rcpp/date_datetime/newDatetimeVector.h (Rcpp): Allow setting of timezone attribute; default not-set leads to local as in R 2016-10-16 Dirk Eddelbuettel <edd@debian.org> * inst/include/Rcpp.h (RCPP_NEW_DATE_DATETIME_VECTORS): Add a new compile-time #define to switch between 'old' (existing) and 'new' DateVector and DatimeVector classes. Currently uses 'new' for testing plan to switch to proper deprecation schedule. * inst/include/Rcpp/date_datetime/date_datetime.h: New header file (and directory) regrouping all Date and Datetime headers, scalar and vector * inst/include/Rcpp/date_datetime/Date.h: Moved one directory down * inst/include/Rcpp/date_datetime/Datetime.h: Ditto * inst/include/Rcpp/date_datetime/oldDateVector.h: Moved and renamed * inst/include/Rcpp/date_datetime/oldDatetimeVector.h: Ditto * inst/include/Rcpp/date_datetime/newDateVector.h: New implementation inheriting from NumericVector, still optional * inst/include/Rcpp/date_datetime/newDatetimeVector.h: Ditto 2016-09-05 Dirk Eddelbuettel <edd@debian.org> * DESCRIPTION (Version): Roll minor version * cleanup: Clean two more file type from vignettes/ 2016-09-04 Nathan Russell <russell.nr2012@gmail.com> * inst/include/Rcpp/sugar/functions/rowSums.h: New functions rowSums(), colSums(), rowMeans(), and colMeans() * inst/include/Rcpp/sugar/functions/functions.h: Idem * inst/unitTests/cpp/sugar.cpp: Unit tests for new functions * inst/unitTests/runit.sugar.R: Idem 2016-09-04 Dirk Eddelbuettel <edd@debian.org> * DESCRIPTION: Release 0.12.7 * inst/NEWS.Rd: Release 0.12.7 * vignettes/Rcpp.bib: Release 0.12.7 * inst/include/Rcpp/config.h: Release 0.12.7 * README.md: Updated counts for dependents and tests * debian/*: Changes for Debian release of 0.12.7 2016-09-02 Simon Dirmeier <simon.dirmeier@bsse.ethz.ch> * src/attributes.cpp: Remove leading underscore in header guard 2016-08-14 James J Balamuta <balamut2@illinois.edu> * inst/examples/FastLM/lmGSL.R: Updated example to use new GSL templates 2016-08-11 Dirk Eddelbuettel <edd@debian.org> * .travis.yml: Switch to using run.sh for Travis CI 2016-08-09 Artem Klevtsov <a.a.klevtsov@gmail.com> * inst/include/Rcpp/macros/dispatch.h: Add variadic conditional macro when C++11 compiler used * ints/include/unitTests/cpp/dispatch.cpp: Add unit tests for RCPP_RETURN_VECTOR and RCPP_RETURN_MATRIX macro * ints/include/unitTests/runit.dispatch.R: Idem 2016-08-05 James J Balamuta <balamut2@illinois.edu> * inst/examples/FastLM/fastLMviaArmadillo.r: format fix * inst/examples/FastLM/lmGSL.R: Updated example to use Rcpp attributes instead of cxxfunction * inst/examples/FastLM/lmArmadillo.R: Idem * inst/examples/functionCallback/newApiExample.r: Idem * inst/examples/RcppInline/RcppInlineExample.r: Idem * inst/examples/RcppInline/RcppInlineWithLibsExamples.r: Idem * inst/examples/RcppInline/UncaughtExceptions.r: Idem * inst/examples/RcppInline/external_pointer.r: Idem 2016-08-04 James J Balamuta <balamut2@illinois.edu> * src/attributes.cpp: Correct variable re-declaration * inst/examples/RcppGibbs/RcppGibbs.R: Updated example to use Rcpp attributes instead of cxxfunction * inst/examples/RcppGibbs/timeRNGs.R: Idem 2016-08-03 Dirk Eddelbuettel <edd@debian.org> * .gitattributes: Added to have ChangeLog and NEWS.Rd merge via union 2016-08-02 James J Balamuta <balamut2@illinois.edu> * R/Rcpp.package.skeleton.R: Added autogeneration warning * src/attributes.cpp: Fixed invalid C++ Identifiers and modified export header to warn against hand edits * vignettes/Rcpp-package.Rnw: Updated code generation snippets * man/Rcpp.package.skeleton.Rd: Add warning on hand edits to the autogenerated RcppExports files. * man/compileAttributes.Rd: Idem 2016-08-02 Qiang Kou <qkou@umail.iu.edu> * inst/include/Rcpp/String.h: CE_UTF8 as default encoding * inst/unitTests/cpp/String.cpp: Update unit test * inst/unitTests/runit.String.R: Idem 2016-08-01 Nathan Russell <russell.nr2012@gmail.com> * inst/include/Rcpp/vector/Vector.h: Added decreasing option for Vector sort * inst/include/Rcpp/internal/NAComparator.h: Idem * inst/unitTests/cpp/Vector.cpp: Idem * inst/unitTests/runit.Vector.R: Idem 2016-07-31 Qiang Kou <qkou@umail.iu.edu> * inst/examples/SugarPerformance/sugarBenchmarks.R: Remove usage of Rf_eval * inst/include/Rcpp/Environment.h: Idem * inst/include/Rcpp/Module.h: Idem * inst/include/Rcpp/exceptions.h: Idem * inst/include/Rcpp/proxy/FieldProxy.h: Idem * inst/include/Rcpp/r_cast.h: Idem * inst/unitTests/cpp/language.cpp: Idem * src/barrier.cpp: Idem 2016-07-24 Dirk Eddelbuettel <edd@debian.org> * inst/unitTests/cpp/rmath.cpp: Added RNG unit tests for sugar variants * inst/unitTests/runit.rmath.R: Idem 2016-07-22 James J Balamuta <balamut2@illinois.edu> * inst/unitTests/cpp/rmath.cpp: Added unit tests for Rmath RNGs * inst/unitTests/runit.rmath.R: idem * inst/include/Rcpp/Environment.h: Added get() & find() that accept a symbol * inst/include/Rcpp.h: Modified header load order so that Symbol.h is now placed before Environment.h 2016-07-21 Dirk Eddelbuettel <edd@debian.org> * DESCRIPTION (Version): Roll minor release 2016-07-18 Kevin Ushey <kevin@rstudio.com> * inst/include/Rcpp/r/headers.h: Ensure NORET macro is set appropriately
2016-07-27Update to 0.12.6wen2-7/+7
Upstream changes: Changes in Rcpp version 0.12.6 (2016-07-18) Changes in Rcpp API: The long long data type is used only if it is available, to avoid compiler warnings (Kirill Müller in #488). The compiler is made aware that stop() never returns, to improve code path analysis (Kirill Müller in #487 addressing issue #486). String replacement was corrected (Qiang in #479 following mailing list bug report by Masaki Tsuda) Allow for UTF-8 encoding in error messages via RCPP_USING_UTF8_ERROR_STRING macro (Qin Wenfeng in #493) The R function Rf_warningcall is now provided as well (as usual without leading Rf_) (#497 fixing #495) Changes in Rcpp Sugar: Const-ness of min and max functions has been corrected. (Dan Dillon in PR #478 fixing issue #477). Ambiguities for matrix/vector and scalar operations have been fixed (Dan Dillon in PR #476 fixing issue #475). New algorithm header using iterator-based approach for vectorized functions (Dan in PR #481 revisiting PR #428 and addressing issue #426, with futher work by Kirill in PR #488 and Nathan in #503 fixing issue #502). The na_omit() function is now faster for vectors without NA values (Artem Klevtsov in PR #492) Changes in Rcpp Attributes: Add cacheDir argument to sourceCpp() to enable caching of shared libraries across R sessions (JJ in #504). Code generation now deals correctly which packages containing a dot in their name (Qiang in #501 fixing #500). Changes in Rcpp Documentation: A section on default parameters was added to the Rcpp FAQ vignette (James Balamuta in #505 fixing #418). The Rcpp-attributes vignette is now mentioned more prominently in question one of the Rcpp FAQ vignette. The Rcpp Quick Reference vignette received a facelift with new sections on Rcpp attributes and plugins begin added. (James Balamuta in #509 fixing #484). The bib file was updated with respect to the recent JSS publication for RProtoBuf.
2016-07-04Updated R-Rcpp to 0.12.5.wiz2-7/+7
From Lukasz Siemiradzki in PR 51305. 2016-05-14 Dirk Eddelbuettel <edd@debian.org> * DESCRIPTION: Release 0.12.5 * inst/NEWS.Rd: Release 0.12.5 * vignettes/Rcpp.bib: Release 0.12.5 * inst/include/Rcpp/config.h: Release 0.12.5 * debian/*: Changes for Debian release of 0.12.5 * vignettes/Rcpp.bib: Updated references 2016-05-13 Dirk Eddelbuettel <edd@debian.org> * DESCRIPTION: Rolled minor version * R/compilerCheck.R: Minimal R function to check g++ version sufficiency * man/compilerCheck.Rd: Documentation 2016-05-11 Dirk Eddelbuettel <edd@debian.org> * R/Rcpp.package.skeleton.R: Modified to create a package without notes, warnings, or error even pkgKitten is not available * R/Rcpp.package.skeleton.R (.playWithPerPackageHelpPage): Added new helper function to be used when pkgKitten is not available * inst/skeleton/manual-page-stub.Rd: Stub for per-package help page used when pkgKitten is not available 2016-05-10 Dirk Eddelbuettel <edd@debian.org> * R/Rcpp.package.skeleton.R: Also correct Title: and Description: to satisfy R CMD check in R-release and (current) R-devel 2016-05-08 Dirk Eddelbuettel <edd@debian.org> * inst/unitTests/cpp/Matrix.cpp: Made four scalar/matrix tests less ambiguous for overloads by using double as scalar 2016-05-06 Dirk Eddelbuettel <edd@debian.org> * R/loadRcppModules.R (loadRcppModules): Add call to .Deprecated pointing out that loadModule is preferred * man/Rcpp-deprecated.Rd: Added to list deprecated functions * man/loadRcppModules-deprecated.Rd: Renamed to -deprecated, added link to loadModule which is the preferred method * vignettes/Rcpp-modules.Rnw: Updated with respect to loadRcppModules deprecation and loadModule being preferred 2016-04-15 Kevin Ushey <kevinushey@gmail.com> * src/attributes.cpp: Add a missing 'winslash = "/"' 2016-04-14 J.J. Allaire <jj@rstudio.org> * src/attributes.cpp: Correct handling of dependent file paths on Windows (use winslash = "/") 2016-04-13 Dirk Eddelbuettel <edd@debian.org> * DESCRIPTION (Version): Rolling minor version and Date 2016-04-11 Ben Goodrich <goodrich.ben@gmail.com> * R/Module.R: Avoid calling as.character() on C++Object to prevent race 2016-04-02 Dirk Eddelbuettel <edd@debian.org> * DESCRIPTION: Rolled to minor version 0.12.4.3 * inst/include/Rcpp/config.h: Ditto * ChangeLog: Added entries for PRs 453 and 454 * inst/NEWS.Rd: Add two missing \item uses * R/Module.R: Rename copy to copyObject to avoid function name collisions * inst/unitTests/runit.Module.R: Ditto * man/copyObject.Rd: Ditto * inst/NEWS.Rd: Ditto * NAMESPACE: Ditto * inst/unitTests/runit.environments.R: Skip test.environment.child test 2016-03-31 Romain Francois <romain@r-enthusiasts.com> * R/Modules.R: New top-level functions copy, destruct and is_destructed * NAMESPACE: New functions copy, destruct and is_destructed exported * man/copy.Rd: New manual page * man/destruct.Rd: Ditto * inst/include/Rcpp/module/class.h: Add copy constructortor + destructor * inst/include/Rcpp/module/class_Base.h: Ditto * src/Module.cpp: Ditto * src/Rcpp_init.cpp: Ditto * src/internal.h: Ditto * inst/include/Rcpp/traits/traits.h: New trait detecting copy contructor * inst/include/Rcpp/traits/has_copy_constructor.h: Ditto * inst/unitTests/runit.Module.R: Test new copy constructor and destructor * inst/unitTests/cpp/Module.cpp: Ditto 2016-03-29 Daniel C. Dillon <dcdillon@gmail.com> * inst/include/Rcpp/String.h: Correct Rcpp::String for Rcpp::Nullable 2016-03-27 Qin Wenfeng <mail@qinwenfeng.com> * R/Attributes.R: Support new R 3.3.0 Windows toolchain 2016-03-26 Dirk Eddelbuettel <edd@debian.org> * DESCRIPTION: Rolled Date and minor Version 2016-03-23 Sergio Marques <sergio.rtmarques@gmail.com> * src/api.cpp: Also check a flag __MUSL__ to accomodate Alpine
2016-04-09Update to 0.12.4wen2-10/+9
Upstream changes: Changes in Rcpp version 0.12.4 (2016-03-22) Changes in Rcpp API: New accessors as() and clone() were added to the Nullable class (Dan in PR #423 closing #421) The Nullable<>::operator SEXP() and Nullable<>::get() now also work for const objects (Kirill Mueller in PR #417). A subsetting error was fixed (Qiang via #432 closing #431). Changes in Rcpp Sugar: Added new Sugar function median() (Nathan in PR #425 closing #424) Added new Sugar function cbind() (Nathan in PR #447 closing #407) Changes in Rcpp Attributes: A plugin for C++14 was added (Dan in PR #427) Changes in Rcpp Documentation: An entry was added to the Rcpp-FAQ vignette describing the required packages for vignette building (#422). Use on OS X was further detailed (James Balamuta in #433 with further review by Bob Rudis). An entry was added concerning the hard-code limit of arguments to some constructor and function (cf #435). The Rcpp-FAQ vignette now contains a table of content. Typos and indentation were corrected in the Rcpp Sugar vignette (#445 by Colin Gillespie). Changes in Rcpp version 0.12.3 (2016-01-10) Changes in Rcpp API: Const iterators now CharacterVector now behave like regular iterators (PR #404 by Dan fixing #362). Math operators between matrix and scalars type have been added (PR #406 by Qiang fixing #365). A missing std::hash function interface for Rcpp::String has been addded (PR #408 by Qiang fixing #84). Changes in Rcpp Attributes: Avoid invalid function names when generating C++ interfaces (PR #403 by JJ fixing #402). Insert additional space around & in function interface (PR #400 by Kazuki Fukui fixing #278). Changes in Rcpp Modules: The copy constructor now initialized the base class (PR #411 by Joshua Pritikin fixing #410) Changes in Rcpp Repository: Added a file Contributing.md providing some points to potential contributors (PR #414 closing issue #413) Changes in Rcpp version 0.12.2 (2015-11-14) Changes in Rcpp API: Correct return type in product of matrix dimensions (PR #374 by Florian) Before creating a single String object from a SEXP, ensure that it is from a vector of length one (PR #376 by Dirk, fixing #375). No longer use STRING_ELT as a left-hand side, thanks to a heads-up by Luke Tierney (PR #378 by Dirk, fixing #377). Rcpp Module objects are now checked more carefully (PR #381 by Tianqi, fixing #380) An overflow in Matrix column indexing was corrected (PR #390 by Qiang, fixing a bug reported by Allessandro on the list) Nullable types can now be assigned R_NilValue in function signatures. (PR #395 by Dan, fixing issue #394) operator<<() now always shows decimal points (PR #396 by Dan) Matrix classes now have a transpose() function (PR #397 by Dirk fixing #383) operator<<() for complex types was added (PRs #398 by Qiang and #399 by Dirk, fixing #187) Changes in Rcpp Attributes: Enable export of C++ interface for functions that return void. Changes in Rcpp Sugar: Added new Sugar function cummin(), cummax(), cumprod() (PR #389 by Nathan Russell fixing #388) Enabled sugar math operations for subsets; e.g. x[y] + x[z]. (PR #393 by Kevin and Qiang, implementing #392) Changes in Rcpp Documentation: The NEWS file now links to GitHub issue tickets and pull requests. The Rcpp.bib file with bibliographic references was updated.
2015-11-03Add SHA512 digests for distfiles for devel categoryagc1-1/+2
Issues found with existing distfiles: distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip distfiles/fortran-utils-1.1.tar.gz distfiles/ivykis-0.39.tar.gz distfiles/enum-1.11.tar.gz distfiles/pvs-3.2-libraries.tgz distfiles/pvs-3.2-linux.tgz distfiles/pvs-3.2-solaris.tgz distfiles/pvs-3.2-system.tgz No changes made to these distinfo files. Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-09-26Update to 0.12.1wen2-6/+6
Upstream changes please visit: http://ftp5.gwdg.de/pub/misc/cran/web/packages/Rcpp/news.html
2014-09-19Initial import of Rcpp v0.11.2 as devel/R-Rcpp.brook4-0/+77
The Rcpp package provides R functions as well as a C++ library which facilitate the integration of R and C++. R data types (SEXP) are matched to C++ objects in a class hierarchy. All R types are supported (vectors, functions, environment, etc ...) and each type is mapped to a dedicated class. For example, numeric vectors are represented as instances of the Rcpp::NumericVector class, environments are represented as instances of Rcpp::Environment, functions are represented as Rcpp::Function, etc ... The "Rcpp-introduction" vignette provides a good entry point to Rcpp. Rcpp also provides Rcpp modules, a framework that allows exposing C++ functions and classes to the R level. The "Rcpp-modules" vignette details the current set of features of Rcpp-modules. Rcpp includes a concept called Rcpp sugar that brings many R functions into C++. Sugar takes advantage of lazy evaluation and expression templates to achieve great performance while exposing a syntax that is much nicer to use than the equivalent low-level loop code. The "Rcpp-sugar" vignette gives an overview of the feature. Note: this commit is part of reorganizing some of the recently imported R packages, which are being reimported into more appropriate categories (and removed from math) as a result of a recent discussion on tech-pkg and privately with wiz@. See the thread starting with: http://mail-index.netbsd.org/tech-pkg/2014/09/05/msg013558.html