This repository has been archived by the owner on Dec 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
82 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
.Rhistory | ||
.RData | ||
.Ruserdata | ||
*.bc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
# Generated by roxygen2: do not edit by hand | ||
|
||
importFrom(Rcpp,compileAttributes) | ||
useDynLib(RcppNoInitTest, .registration = TRUE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Generated by using Rcpp::compileAttributes() -> do not edit by hand | ||
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 | ||
|
||
#' @importFrom Rcpp compileAttributes | ||
#' @useDynLib RcppNoInitTest, .registration = TRUE | ||
test <- function() { | ||
.Call(`_RcppNoInitTest_test`) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
|
||
Function Rcpp::Rcpp_eval(SEXPREC*, SEXPREC*) | ||
[UP] unprotected variable identity while calling allocating function Rf_install /home/kirill/git/R/rchk/trunk/packages/lib/Rcpp/include/Rcpp/api/meat/Rcpp_eval.h:85 | ||
[UP] unprotected variable identity while calling allocating function Rf_lang3(S:evalq,?,?) /home/kirill/git/R/rchk/trunk/packages/lib/Rcpp/include/Rcpp/api/meat/Rcpp_eval.h:85 | ||
[UP] unprotected variable identity while calling allocating function Rf_install /home/kirill/git/R/rchk/trunk/packages/lib/Rcpp/include/Rcpp/api/meat/Rcpp_eval.h:88 | ||
|
||
Function Rcpp::Rcpp_protect(SEXPREC*) | ||
[PB] has possible protection stack imbalance /home/kirill/git/R/rchk/trunk/packages/lib/Rcpp/include/Rcpp/protection/Shield.h:25 | ||
|
||
Function Rcpp::Shelter<SEXPREC*>::operator()(SEXPREC*) | ||
[PB] has possible protection stack imbalance /home/kirill/git/R/rchk/trunk/packages/lib/Rcpp/include/Rcpp/protection/Shelter.h:30 | ||
|
||
Function Rcpp::Shelter<SEXPREC*>::~Shelter() | ||
[PB] has an unsupported form of unprotect (not constant, not variable), results will be incomplete /home/kirill/git/R/rchk/trunk/packages/lib/Rcpp/include/Rcpp/protection/Shelter.h:34 | ||
[UP] unsupported form of unprotect, unprotecting all variables, results will be incomplete /home/kirill/git/R/rchk/trunk/packages/lib/Rcpp/include/Rcpp/protection/Shelter.h:34 | ||
|
||
Function Rcpp::Shield<SEXPREC*>::~Shield() | ||
[PB] has negative depth /home/kirill/git/R/rchk/trunk/packages/lib/Rcpp/include/Rcpp/protection/Shield.h:33 | ||
[UP] attempt to unprotect more items (1) than protected (0), results will be incomplete /home/kirill/git/R/rchk/trunk/packages/lib/Rcpp/include/Rcpp/protection/Shield.h:33 | ||
[PB] has possible protection stack imbalance /home/kirill/git/R/rchk/trunk/packages/lib/Rcpp/include/Rcpp/protection/Shield.h:34 | ||
|
||
Function Rcpp::internal::is_Rcpp_eval_call(SEXPREC*) | ||
[UP] unprotected variable identity_fun while calling allocating function Rf_install /home/kirill/git/R/rchk/trunk/packages/lib/Rcpp/include/Rcpp/exceptions.h:247 | ||
[UP] unprotected variable identity_fun while calling allocating function Rf_install /home/kirill/git/R/rchk/trunk/packages/lib/Rcpp/include/Rcpp/exceptions.h:248 | ||
|
||
Function _RcppNoInitTest_test | ||
[UP] ignoring variable <unnamed var: %14 = alloca %struct.SEXPREC*, align 8> as it has address taken, results will be incomplete | ||
[PB] has possible protection stack imbalance /home/kirill/git/R/RcppNoInitTest/src/RcppExports.cpp:17 | ||
|
||
Function _ZNK4Rcpp14no_init_vectorcvNS_6VectorIXT_ET0_EEILi13ENS_15PreserveStorageEEEv | ||
[UP] calling allocating function Rcpp::Vector<13, Rcpp::PreserveStorage>::Vector(SEXPREC*)(?,V) with argument allocated using Rf_allocVector /home/kirill/git/R/rchk/trunk/packages/lib/Rcpp/include/Rcpp/vector/no_init.h:40 | ||
Analyzed 171 functions, traversed 1013 states. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// Generated by using Rcpp::compileAttributes() -> do not edit by hand | ||
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 | ||
|
||
#include <Rcpp.h> | ||
|
||
using namespace Rcpp; | ||
|
||
// test | ||
IntegerVector test(); | ||
RcppExport SEXP _RcppNoInitTest_test() { | ||
BEGIN_RCPP | ||
Rcpp::RObject rcpp_result_gen; | ||
Rcpp::RNGScope rcpp_rngScope_gen; | ||
rcpp_result_gen = Rcpp::wrap(test()); | ||
return rcpp_result_gen; | ||
END_RCPP | ||
} | ||
|
||
static const R_CallMethodDef CallEntries[] = { | ||
{"_RcppNoInitTest_test", (DL_FUNC) &_RcppNoInitTest_test, 0}, | ||
{NULL, NULL, 0} | ||
}; | ||
|
||
RcppExport void R_init_RcppNoInitTest(DllInfo *dll) { | ||
R_registerRoutines(dll, NULL, CallEntries, NULL, NULL); | ||
R_useDynamicSymbols(dll, FALSE); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#include <Rcpp.h> | ||
|
||
using namespace Rcpp; | ||
|
||
//' @importFrom Rcpp compileAttributes | ||
//' @useDynLib RcppNoInitTest, .registration = TRUE | ||
// [[Rcpp::export]] | ||
IntegerVector test() { | ||
IntegerVector ret = no_init(1); | ||
return ret; | ||
} |