{"action":"created","issue":{"url":"https://api.github.com/repos/RcppCore/Rcpp/issues/463","repository_url":"https://api.github.com/repos/RcppCore/Rcpp","labels_url":"https://api.github.com/repos/RcppCore/Rcpp/issues/463/labels{/name}","comments_url":"https://api.github.com/repos/RcppCore/Rcpp/issues/463/comments","events_url":"https://api.github.com/repos/RcppCore/Rcpp/issues/463/events","html_url":"https://github.com/RcppCore/Rcpp/issues/463","id":148523287,"number":463,"title":"Rcpp 0.12.4.4 unit test crash on i386 / new toolchain","user":{"login":"dtenenba","id":2286826,"avatar_url":"https://avatars.githubusercontent.com/u/2286826?v=3","gravatar_id":"","url":"https://api.github.com/users/dtenenba","html_url":"https://github.com/dtenenba","followers_url":"https://api.github.com/users/dtenenba/followers","following_url":"https://api.github.com/users/dtenenba/following{/other_user}","gists_url":"https://api.github.com/users/dtenenba/gists{/gist_id}","starred_url":"https://api.github.com/users/dtenenba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtenenba/subscriptions","organizations_url":"https://api.github.com/users/dtenenba/orgs","repos_url":"https://api.github.com/users/dtenenba/repos","events_url":"https://api.github.com/users/dtenenba/events{/privacy}","received_events_url":"https://api.github.com/users/dtenenba/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2016-04-15T00:50:20Z","updated_at":"2016-04-15T16:53:27Z","closed_at":null,"body":"Hello, running `R CMD check Rcpp_0.12.4.4.tar.gz` results in:\r\n\r\n```\r\n...\r\n** running tests for arch 'i386' ...\r\n  Running 'doRUnit.R'\r\nWarning message:\r\nrunning command '\"E:/biocbld/BBS-3~1.3-B/R/bin/i386/R\" CMD BATCH --vanilla  \"doRUnit.R\" \"d\r\noRUnit.Rout\"' had status 3\r\n ERROR\r\nRunning the tests in 'tests/doRUnit.R' failed.\r\nLast 13 lines of output:\r\n  Executing test function test.Module.Constructor  ...  done successfully.\r\n\r\n\r\n\r\n  Executing test function test.Module.copy.constructor  ...  done successfully.\r\n\r\n\r\n\r\n  Executing test function test.Module.destructor  ...\r\n  This application has requested the Runtime to terminate it in an unusual way.\r\n  Please contact the application's support team for more information.\r\n  terminate called after throwing an instance of 'Rcpp::exception'\r\n    what():  external pointer is not valid\r\n** running tests for arch 'x64' ...\r\n  Running 'doRUnit.R'\r\nWarning message:\r\nrunning command '\"E:/biocbld/BBS-3~1.3-B/R/bin/x64/R\" CMD BATCH --vanilla  \"doRUnit.R\" \"do\r\nRUnit.Rout\"' had status 1\r\n ERROR\r\nRunning the tests in 'tests/doRUnit.R' failed.\r\nLast 13 lines of output:\r\n  test.wrap_vector_wstring: (1 checks) ... OK (0 seconds)\r\n  test.wstring_param: (1 checks) ... OK (0 seconds)\r\n  test.wstring_return: (1 checks) ... OK (0 seconds)\r\n  >\r\n  > ## Return success or failure to R CMD CHECK\r\n  > if (getErrors(tests)$nFail > 0) {\r\n  +     stop(\"TEST FAILED!\")\r\n  + }\r\n  > if (getErrors(tests)$nErr > 0) {\r\n  +     stop(\"TEST HAD ERRORS!\")\r\n  + }\r\n  Error: TEST HAD ERRORS!\r\n  Execution halted\r\n...\r\n```\r\n\r\nThis is with the 4.9.3 toolchain and the `sessionInfo()` below.\r\n\r\nThe contents of  `Rcpp.Rcheck/tests_i386/doRUnit.Rout.fail`  are:\r\n\r\n```\r\n\r\nR version 3.3.0 beta (2016-04-10 r70462) -- \"Supposedly Educational\"\r\nCopyright (C) 2016 The R Foundation for Statistical Computing\r\nPlatform: i386-w64-mingw32/i386 (32-bit)\r\n\r\nR is free software and comes with ABSOLUTELY NO WARRANTY.\r\nYou are welcome to redistribute it under certain conditions.\r\nType 'license()' or 'licence()' for distribution details.\r\n\r\nR is a collaborative project with many contributors.\r\nType 'contributors()' for more information and\r\n'citation()' on how to cite R or R packages in publications.\r\n\r\nType 'demo()' for some demos, 'help()' for on-line help, or\r\n'help.start()' for an HTML browser interface to help.\r\nType 'q()' to quit R.\r\n\r\n> # Copyright (C) 2009 - 2014 Dirk Eddelbuettel and Romain Francois\r\n> # Earlier copyrights Gregor Gorjanc, Martin Maechler and Murray Stokely as detailed below\r\n> #\r\n> # This file is part of Rcpp.\r\n> #\r\n> # Rcpp is free software: you can redistribute it and/or modify it\r\n> # under the terms of the GNU General Public License as published by\r\n> # the Free Software Foundation, either version 2 of the License, or\r\n> # (at your option) any later version.\r\n> #\r\n> # Rcpp is distributed in the hope that it will be useful, but\r\n> # WITHOUT ANY WARRANTY; without even the implied warranty of\r\n> # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r\n> # GNU General Public License for more details.\r\n> #\r\n> # You should have received a copy of the GNU General Public License\r\n> # along with Rcpp.  If not, see <http://www.gnu.org/licenses/>.\r\n> \r\n> ## doRUnit.R --- Run RUnit tests\r\n> ##\r\n> ## with credits to package fUtilities in RMetrics\r\n> ## which credits Gregor Gojanc's example in CRAN package  'gdata'\r\n> ## as per the R Wiki http://wiki.r-project.org/rwiki/doku.php?id=developers:runit\r\n> ## and changed further by Martin Maechler\r\n> ## and more changes by Murray Stokely in HistogramTools\r\n> ## and then used adapted in RProtoBuf\r\n> ## and now used here with two additional env var setters/getters\r\n> ##\r\n> ## Dirk Eddelbuettel, Feb 2014\r\n> \r\n> stopifnot(require(RUnit, quietly=TRUE))\r\n> stopifnot(require(Rcpp, quietly=TRUE))\r\n> \r\n> ## Set a seed to make the test deterministic\r\n> set.seed(42)\r\n> \r\n> ## Define tests\r\n> testSuite <- defineTestSuite(name=\"Rcpp Unit Tests\",\r\n+                              dirs=system.file(\"unitTests\", package = \"Rcpp\"),\r\n+                              testFuncRegexp = \"^[Tt]est.+\")\r\n> \r\n> ## without this, we get (or used to get) unit test failures\r\n> Sys.setenv(\"R_TESTS\"=\"\")\r\n> \r\n> ## force tests to be executed if in dev release which we define as\r\n> ## having a sub-release, eg 0.9.15.5 is one whereas 0.9.16 is not\r\n> if (length(strsplit(packageDescription(\"Rcpp\")$Version, \"\\\\.\")[[1]]) > 3) {\t# dev release, and\r\n+     if (Sys.getenv(\"RunAllRcppTests\") != \"no\") { \t\t\t\t# if env.var not yet set\r\n+         message(\"Setting \\\"RunAllRcppTests\\\"=\\\"yes\\\" for development release\\n\")\r\n+         Sys.setenv(\"RunAllRcppTests\"=\"yes\")\r\n+     }\r\n+ }\r\nSetting \"RunAllRcppTests\"=\"yes\" for development release\r\n\r\n> \r\n> ## Run tests\r\n> tests <- runTestSuite(testSuite)\r\n\r\n\r\nExecuting test function test.DataFrame.AttributeProxy  ... Error : could not convert using R function : as.data.frame\r\n done successfully.\r\n\r\n\r\n\r\nExecuting test function test.DataFrame.CreateOne  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.DataFrame.CreateTwo  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.DataFrame.CreateTwo.stringsAsFactors  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.DataFrame.FromSEXP  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.DataFrame.SlotProxy  ... Error : could not convert using R function : as.data.frame\r\n done successfully.\r\n\r\n\r\n\r\nExecuting test function test.DataFrame.index.byName  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.DataFrame.index.byPosition  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.DataFrame.nrows  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.DataFrame.string.element  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Date.components  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Date.ctor.diffs  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Date.ctor.int  ... Error : not compatible with requested type\r\n done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Date.ctor.mdy  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Date.ctor.notFinite  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Date.ctor.sexp  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Date.ctor.string  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Date.ctor.ymd  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Date.getFunctions  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Date.operators  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.DateVector.operator.SEXP  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.DateVector.wrap  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Datetime.ctor.diffs  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Datetime.ctor.notFinite  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Datetime.fromString  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Datetime.get.functions  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Datetime.operators  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Datetime.wrap  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.DatetimeVector.ctor  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.vector.Date  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Function  ... Error : cannot convert to function\r\nError : cannot convert to function\r\nError : cannot convert to function\r\nError : cannot convert to function\r\nError : cannot convert to function\r\n done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Function.binary.call  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Function.cons.env  ... Error in function_cons_env(\"fun_child\", parent_env) : \r\n  could not find function \"fun_child\"\r\n done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Function.cons.ns  ... Error : there is no namespace called \"Rcppp\"\r\nError in function_cons_ns(\"sourceCppp\", \"Rcpp\") : \r\n  could not find function \"sourceCppp\"\r\n done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Function.env  ... Error : not a closure\r\nError : not a closure\r\n done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Function.eval  ... Error : \r\n done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Function.namespace.env  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Function.unary.call  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Function.variadic  ... Error : not compatible with requested type\r\n done successfully.\r\n\r\n\r\n\r\nExecuting test function test.internal_function_add  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.internal_function_concatenate  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Formula  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Formula.SEXP  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Language  ... Error : could not convert using R function : as.call\r\nError : could not convert using R function : as.call\r\nError : could not convert using R function : as.call\r\nError : could not convert using R function : as.call\r\nError : could not convert using R function : as.call\r\nError : could not convert using R function : as.call\r\n done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Language.binary.call  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Language.fixed.call  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Language.function  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Language.in.env  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Language.inputoperator  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Language.push.back  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Language.square  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Language.unary.call  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Language.unary.call.index  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Language.variadic  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Pairlist  ... Error : could not convert using R function : as.pairlist\r\nError : could not convert using R function : as.pairlist\r\n done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Pairlist.insert  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Pairlist.push.back  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Pairlist.push.front  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Pairlist.remove  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Pairlist.replace  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Pairlist.size  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Pairlist.square  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Pairlist.variadic  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.ListOf.arith  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.ListOf.assign  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.ListOf.assign.names  ... Error : no name 'b' found\r\n done successfully.\r\n\r\n\r\n\r\nExecuting test function test.ListOf.attr.foo  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.ListOf.convert.fail  ... Error : not compatible with requested type\r\n done successfully.\r\n\r\n\r\n\r\nExecuting test function test.ListOf.convert.implicit  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.ListOf.identity  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.ListOf.lapply.sum  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.ListOf.names  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.ListOf.nested  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.ListOf.sapply.sum  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.ListOf.sub.calls  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.CharacterMatrix  ... Matrix.cpp: In function 'Rcpp::NumericMatrix matrix_scalar_plus(const NumericMatrix&, int)':\r\nMatrix.cpp:317:16: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:\r\n     return x + y;\r\n                ^\r\nIn file included from E:/sandbox/Rcpp.buildbin-libdir/Rcpp/include/Rcpp/Vector.h:58:0,\r\n                 from E:/sandbox/Rcpp.buildbin-libdir/Rcpp/include/Rcpp.h:38,\r\n                 from Matrix.cpp:22:\r\nE:/sandbox/Rcpp.buildbin-libdir/Rcpp/include/Rcpp/vector/Matrix.h:252:41: note: candidate 1: Rcpp::Matrix<RTYPE, StoragePolicy> Rcpp::operator+(const Rcpp::Matrix<RTYPE, StoragePolicy>&, const typename Rcpp::Matrix<RTYPE, StoragePolicy>::stored_type&) [with int RTYPE = 14; StoragePolicy = Rcpp::PreserveStorage; typename Rcpp::Matrix<RTYPE, StoragePolicy>::stored_type = double]\r\n     inline Matrix<RTYPE, StoragePolicy> operator __OPERATOR__ (const Matrix<RTYPE, StoragePolicy> &lhs,                       \\\r\n                                         ^\r\nE:/sandbox/Rcpp.buildbin-libdir/Rcpp/include/Rcpp/vector/Matrix.h:259:1: note: in expansion of macro 'RCPP_GENERATE_MATRIX_SCALAR_OPERATOR'\r\n RCPP_GENERATE_MATRIX_SCALAR_OPERATOR(+)\r\n ^\r\nMatrix.cpp:317:16: note: candidate 2: operator+(SEXP, int) <built-in>\r\n     return x + y;\r\n                ^\r\nMatrix.cpp: In function 'Rcpp::NumericMatrix matrix_scalar_plus2(const NumericMatrix&, int)':\r\nMatrix.cpp:322:16: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:\r\n     return y + x;\r\n                ^\r\nIn file included from E:/sandbox/Rcpp.buildbin-libdir/Rcpp/include/Rcpp/Vector.h:58:0,\r\n                 from E:/sandbox/Rcpp.buildbin-libdir/Rcpp/include/Rcpp.h:38,\r\n                 from Matrix.cpp:22:\r\nE:/sandbox/Rcpp.buildbin-libdir/Rcpp/include/Rcpp/vector/Matrix.h:268:41: note: candidate 1: Rcpp::Matrix<RTYPE, StoragePolicy> Rcpp::operator+(const typename Rcpp::Matrix<RTYPE, StoragePolicy>::stored_type&, const Rcpp::Matrix<RTYPE, StoragePolicy>&) [with int RTYPE = 14; StoragePolicy = Rcpp::PreserveStorage; typename Rcpp::Matrix<RTYPE, StoragePolicy>::stored_type = double]\r\n     inline Matrix<RTYPE, StoragePolicy> operator __OPERATOR__ (const typename Matrix<RTYPE, StoragePolicy>::stored_type &lhs, \\\r\n                                         ^\r\nE:/sandbox/Rcpp.buildbin-libdir/Rcpp/include/Rcpp/vector/Matrix.h:276:1: note: in expansion of macro 'RCPP_GENERATE_SCALAR_MATRIX_OPERATOR'\r\n RCPP_GENERATE_SCALAR_MATRIX_OPERATOR(+)\r\n ^\r\nMatrix.cpp:322:16: note: candidate 2: operator+(int, SEXP) <built-in>\r\n     return y + x;\r\n                ^\r\n done successfully.\r\n\r\n\r\n\r\nExecuting test function test.CharacterMatrix.column  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.CharacterMatrix.column.const  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.CharacterMatrix.diag  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.CharacterMatrix.row  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.CharacterMatrix.row.const  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.CharacterMatrix.transpose  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.GenericMatrix  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.IntegerMatrix.accessor.with.bounds.checking  ... Error : index out of bounds\r\nError : index out of bounds\r\nError : index out of bounds\r\nError : index out of bounds\r\nError : index out of bounds\r\n done successfully.\r\n\r\n\r\n\r\nExecuting test function test.IntegerMatrix.diag  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.IntegerMatrix.transpose  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.IntegerVector.matrix.indexing  ... Error : not a matrix\r\n done successfully.\r\n\r\n\r\n\r\nExecuting test function test.List.column  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.List.column.const  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.List.row  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.List.row.const  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Matrix.Scalar.op  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.NumericMatrix  ... Error : not a matrix\r\n done successfully.\r\n\r\n\r\n\r\nExecuting test function test.NumericMatrix.Ctors  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.NumericMatrix.SubMatrix  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.NumericMatrix.colsum  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.NumericMatrix.column  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.NumericMatrix.column.const  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.NumericMatrix.const.Column  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.NumericMatrix.cumsum  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.NumericMatrix.no.init  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.NumericMatrix.opequals  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.NumericMatrix.row  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.NumericMatrix.row.const  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.NumericMatrix.rownames.colnames.proxy  ... Error : dimension extent is '2' while length of names is '3'\r\nError : not compatible with STRSXP\r\n done successfully.\r\n\r\n\r\n\r\nExecuting test function test.NumericMatrix.rowsum  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.NumericMatrix.transpose  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Module  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Module.Constructor  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Module.copy.constructor  ...  done successfully.\r\n\r\n\r\n\r\nExecuting test function test.Module.destructor  ... \r\nThis application has requested the Runtime to terminate it in an unusual way.\r\nPlease contact the application's support team for more information.\r\nterminate called after throwing an instance of 'Rcpp::exception'\r\n  what():  external pointer is not valid\r\n\r\n```\r\n\r\n```\r\n> sessionInfo()\r\nR version 3.3.0 beta (2016-04-10 r70462)\r\nPlatform: i386-w64-mingw32/i386 (32-bit)\r\nRunning under: Windows Server 2008 R2 x64 (build 7601) Service Pack 1\r\n\r\nlocale:\r\n[1] LC_COLLATE=English_United States.1252\r\n[2] LC_CTYPE=English_United States.1252\r\n[3] LC_MONETARY=English_United States.1252\r\n[4] LC_NUMERIC=C\r\n[5] LC_TIME=English_United States.1252\r\n\r\nattached base packages:\r\n[1] stats     graphics  grDevices utils     datasets  methods   base�\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/RcppCore/Rcpp/issues/comments/210544775","html_url":"https://github.com/RcppCore/Rcpp/issues/463#issuecomment-210544775","issue_url":"https://api.github.com/repos/RcppCore/Rcpp/issues/463","id":210544775,"user":{"login":"dtenenba","id":2286826,"avatar_url":"https://avatars.githubusercontent.com/u/2286826?v=3","gravatar_id":"","url":"https://api.github.com/users/dtenenba","html_url":"https://github.com/dtenenba","followers_url":"https://api.github.com/users/dtenenba/followers","following_url":"https://api.github.com/users/dtenenba/following{/other_user}","gists_url":"https://api.github.com/users/dtenenba/gists{/gist_id}","starred_url":"https://api.github.com/users/dtenenba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtenenba/subscriptions","organizations_url":"https://api.github.com/users/dtenenba/orgs","repos_url":"https://api.github.com/users/dtenenba/repos","events_url":"https://api.github.com/users/dtenenba/events{/privacy}","received_events_url":"https://api.github.com/users/dtenenba/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T16:53:27Z","updated_at":"2016-04-15T16:53:27Z","body":"Nope:\r\n\r\n```\r\n> attr <- system.file(package = \"Rcpp\", \"unitTests/cpp/Attributes.cpp\")\r\n> Rcpp::sourceCpp(attr)\r\nAttributes.o:Attributes.cpp:(.text+0x140): multiple definition of `comments_test(std::stri\r\nng)'\r\ne:/biocbld/bbs-3.3-bioc/R/library/Rcpp/unitTests/cpp/attributes.o:attributes.cpp:(.text+0x\r\n140): first defined here\r\nAttributes.o:Attributes.cpp:(.text+0x160): multiple definition of `parse_declaration_test(\r\nstd::string)'\r\ne:/biocbld/bbs-3.3-bioc/R/library/Rcpp/unitTests/cpp/attributes.o:attributes.cpp:(.text+0x\r\n160): first defined here\r\ncollect2.exe: error: ld returned 1 exit status\r\nC:/Rtools/mingw_64/bin/g++  -I\"e:/biocbld/BBS-3~1.3-B/R/include\" -DNDEBUG     -I\"e:/biocbl\r\nd/bbs-3.3-bioc/R/library/Rcpp/include\" -I\"e:/biocbld/bbs-3.3-bioc/R/library/Rcpp/unitTests\r\n/cpp\"  -I\"c:/local323/include\"     -O2 -Wall  -mtune=core2 -c Attributes.cpp -o Attributes\r\n.o\r\nC:/Rtools/mingw_64/bin/g++ -shared -s -static-libgcc -o sourceCpp_3.dll tmp.def e:/biocbld\r\n/bbs-3.3-bioc/R/library/Rcpp/unitTests/cpp/attributes.o Attributes.o -Lc:/local323/lib/x64\r\n -Lc:/local323/lib -Le:/biocbld/BBS-3~1.3-B/R/bin/x64 -lR\r\nError in Rcpp::sourceCpp(attr) : Error occurred building shared library.\r\n> traceback()\r\n2: stop(\"Error occurred building shared library.\")\r\n1: Rcpp::sourceCpp(attr)\r\n> sessionInfo()\r\nR version 3.3.0 beta (2016-04-10 r70462)\r\nPlatform: x86_64-w64-mingw32/x64 (64-bit)\r\nRunning under: Windows Server 2008 R2 x64 (build 7601) Service Pack 1\r\n\r\nlocale:\r\n[1] LC_COLLATE=English_United States.1252\r\n[2] LC_CTYPE=English_United States.1252\r\n[3] LC_MONETARY=English_United States.1252\r\n[4] LC_NUMERIC=C\r\n[5] LC_TIME=English_United States.1252\r\n\r\nattached base packages:\r\n[1] stats     graphics  grDevices utils     datasets  methods   base\r\n\r\nother attached packages:\r\n[1] Rcpp_0.12.4.5 RUnit_0.4.31\r\n\r\nloaded via a namespace (and not attached):\r\n[1] tools_3.3.0\r\n>\r\n```\r\n\r\n"}}