[Depmix-commits] r663 - in pkg/depmixS4: R src

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Aug 24 09:31:48 CEST 2018


Author: ingmarvisser
Date: 2018-08-24 09:31:47 +0200 (Fri, 24 Aug 2018)
New Revision: 663

Modified:
   pkg/depmixS4/R/allGenerics.R
   pkg/depmixS4/src/fb.c
Log:
=added useDynlib to Namespace

Modified: pkg/depmixS4/R/allGenerics.R
===================================================================
--- pkg/depmixS4/R/allGenerics.R	2018-08-23 14:46:45 UTC (rev 662)
+++ pkg/depmixS4/R/allGenerics.R	2018-08-24 07:31:47 UTC (rev 663)
@@ -6,13 +6,13 @@
 # 17-6-2011: added dynamic lib statement to include the C code 
 # version of forward backward routine
 
-#.onLoad <- function(lib, pkg) { 
-#    library.dynam("depmixS4", pkg, lib)
-#}
+.onLoad <- function(lib, pkg) { 
+    library.dynam("depmixS4", pkg, lib)
+}
 
-#.onUnLoad <- function(libpath) {
-#    library.dynam.unload("depmixS4",libpath)
-#}
+.onUnLoad <- function(libpath) {
+    library.dynam.unload("depmixS4",libpath)
+}
 
 utils::globalVariables(c("donlp2", "donlp2Control"))
 

Modified: pkg/depmixS4/src/fb.c
===================================================================
--- pkg/depmixS4/src/fb.c	2018-08-23 14:46:45 UTC (rev 662)
+++ pkg/depmixS4/src/fb.c	2018-08-24 07:31:47 UTC (rev 663)
@@ -1,4 +1,4 @@
-//#include "fb.h"
+#include "fb.h"
 
 // extern "C" {
 



More information about the depmix-commits mailing list