Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RcppCore/Rcpp
/ asLogical
Function
asLogical
inst/tinytest/cpp/RObject.cpp:46–48 ·
view source on GitHub ↗
[[Rcpp::export]]
Source
from the content-addressed store, hash-verified
44
45
// [[Rcpp::export]]
46
bool asLogical( bool b){
47
return !b ;
48
}
49
50
// [[Rcpp::export]]
51
std::vector<int> asStdVectorInt( SEXP x){
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected