From 4504a28c574f9a773412b007b4c8696cd45798b2 Mon Sep 17 00:00:00 2001 From: alexkowa Date: Tue, 11 Apr 2017 09:28:20 +0200 Subject: [PATCH] CRAN Version 4.7.0 --- DESCRIPTION | 4 ++-- NAMESPACE | 2 +- src/gowerD.cpp | 5 +++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index c166549..b1ecaea 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: VIM -Version: 4.6.8 -Date: 2017-02-23 +Version: 4.7.0 +Date: 2017-04-11 Title: Visualization and Imputation of Missing Values Author: Matthias Templ, Andreas Alfons, Alexander Kowarik, Bernd Prantner Maintainer: Matthias Templ diff --git a/NAMESPACE b/NAMESPACE index b62a93d..21936f6 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -140,4 +140,4 @@ importFrom(utils,flush.console) importFrom(utils,head) importFrom(vcd,labeling_border) importFrom(vcd,mosaic) -useDynLib(VIM) +useDynLib(VIM, .registration = TRUE) diff --git a/src/gowerD.cpp b/src/gowerD.cpp index 2492789..7b22574 100644 --- a/src/gowerD.cpp +++ b/src/gowerD.cpp @@ -2,6 +2,11 @@ #include #include +void R_init_VIM(DllInfo* info) { + R_registerRoutines(info, NULL, NULL, NULL, NULL); + R_useDynamicSymbols(info, TRUE); +} + using namespace std; using namespace Rcpp; double distW(double x,double y, int type, double weight=1, double weightsum=1,double levOrder=1,