yap4r
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
# Generated by using Rcpp::compileAttributes() -> do not edit by hand
|
||||
# Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
|
||||
|
||||
query <- function(p_name, p_module, sexp) {
|
||||
.Call(`_yap4r_query`, p_name, p_module, sexp)
|
||||
}
|
||||
|
||||
next <- function() {
|
||||
.Call(`_yap4r_next`)
|
||||
}
|
||||
|
||||
cut <- function() {
|
||||
.Call(`_yap4r_cut`)
|
||||
}
|
||||
|
||||
ask <- function(i) {
|
||||
.Call(`_yap4r_ask`, i)
|
||||
}
|
||||
|
15
packages/real/yap4r/R/zzz.R
Normal file
15
packages/real/yap4r/R/zzz.R
Normal file
@@ -0,0 +1,15 @@
|
||||
|
||||
## Up until R 2.15.0, the require("methods") is needed but (now)
|
||||
## triggers an warning from R CMD check
|
||||
#.onLoad <- function(libname, pkgname){
|
||||
# #require("methods") ## needed with R <= 2.15.0
|
||||
# loadRcppModules()
|
||||
#}
|
||||
|
||||
|
||||
## For R 2.15.1 and later this also works. Note that calling loadModule() triggers
|
||||
## a load action, so this does not have to be placed in .onLoad() or evalqOnLoad().
|
||||
loadModule("mod_yap4r", TRUE)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user