[Yuima-commits] r609 - in pkg: . yuima

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Apr 29 18:37:23 CEST 2017


Author: iacus
Date: 2017-04-29 18:37:23 +0200 (Sat, 29 Apr 2017)
New Revision: 609

Added:
   pkg/README-yuima-Rcpp.txt
Modified:
   pkg/yuima/DESCRIPTION
   pkg/yuima/NAMESPACE
Log:
important for Rcpp and C code

Added: pkg/README-yuima-Rcpp.txt
===================================================================
--- pkg/README-yuima-Rcpp.txt	                        (rev 0)
+++ pkg/README-yuima-Rcpp.txt	2017-04-29 16:37:23 UTC (rev 609)
@@ -0,0 +1,20 @@
+When you add Rcpp or other C code,
+please always do, within R-devel Console,
+
+move to svn/pkg
+run R-devel
+and type
+
+tools::package_native_routine_registration_skeleton('yuima',,,FALSE)
+
+take the output and update the file
+
+yuima/src/yuima_init.c
+
+with the above output
+# see the help of "package_native_routine_registration_skeleton"
+library(tools)
+?package_native_routine_registration_skeleton
+
+# this page is also of interest
+# http://stackoverflow.com/questions/42313373/r-cmd-check-note-found-no-calls-to-r-registerroutines-r-usedynamicsymbols

Modified: pkg/yuima/DESCRIPTION
===================================================================
--- pkg/yuima/DESCRIPTION	2017-04-27 01:54:37 UTC (rev 608)
+++ pkg/yuima/DESCRIPTION	2017-04-29 16:37:23 UTC (rev 609)
@@ -1,7 +1,7 @@
 Package: yuima
 Type: Package
 Title: The YUIMA Project Package for SDEs
-Version: 1.6.3
+Version: 1.6.4
 Depends: R(>= 2.10.0), methods, zoo, stats4, utils, expm, cubature, mvtnorm
 Imports: Rcpp (>= 0.12.1)
 Author: YUIMA Project Team

Modified: pkg/yuima/NAMESPACE
===================================================================
--- pkg/yuima/NAMESPACE	2017-04-27 01:54:37 UTC (rev 608)
+++ pkg/yuima/NAMESPACE	2017-04-29 16:37:23 UTC (rev 609)
@@ -244,6 +244,7 @@
 S3method(plot, yuima.llag) # Oct. 10, 2015
 S3method(plot, yuima.mllag) # Oct. 10, 2015
 
-useDynLib(yuima)
+useDynLib(yuima) #,.registration = TRUE)
 
 
+



More information about the Yuima-commits mailing list