Skip to content

Commit

Permalink
Handle visibility of binary code symbols correctly for R releases 3.3…
Browse files Browse the repository at this point in the history
….0 through 3.3.3
  • Loading branch information
melff committed Oct 23, 2018
1 parent 99606ff commit f001b13
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
2 changes: 1 addition & 1 deletion pkg/DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Package: memisc
Type: Package
Title: Management of Survey Data and Presentation of Analysis Results
Version: 0.99.16.3
Date: 2018-10-22
Date: 2018-10-23
Author: Martin Elff (with contributions from Christopher N. Lawrence, Dave Atkins, Jason W. Morgan, Achim Zeileis)
Maintainer: Martin Elff <memisc@elff.eu>
Description: An infrastructure for the management of survey data including
Expand Down
7 changes: 5 additions & 2 deletions pkg/inst/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
2018-10-23:
- Handle visibility of binary code symbols correctly for R releases 3.3.0 through 3.3.3

2018-10-22:
- Defined dollar and double-bracket operators for 'importer' objects to facilitate
creating codebooks for individual variables.

2018-10-20:
- The 'subset' method for 'importer' objects now accepts the names of
variables to be selected also as a character vector.
- Fixed 'format_html' for codebooks of data frames with factors.
- Fixed 'format_html' for codebooks of data frames with factors.

2018-10-15:
- A 'setCodeplan' and 'codeplan<-' assignment function is created that
Expand All @@ -15,7 +18,7 @@
2018-10-14:
- A 'codeplan' function creates a data frame that
describes the structure of an "importer" or "data.set" object.

2018-10-05:
- 'mtable' objects exported to HTML now include a legend for significance symbols.

Expand Down
10 changes: 0 additions & 10 deletions pkg/src/init-memisc.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include "memisc.h"
#include <Rversion.h>

#if R_VERSION >= R_Version(3,4,0)
#include <R_ext/Visibility.h>
#include <R_ext/Rdynload.h>
void attribute_visible R_init_memisc(DllInfo *dll)
Expand All @@ -10,12 +9,3 @@ void attribute_visible R_init_memisc(DllInfo *dll)
R_useDynamicSymbols(dll, FALSE);

}
#else
#include <R_ext/Rdynload.h>
void R_init_memisc(DllInfo *dll)
{
R_registerRoutines(dll, NULL, CallMethods, NULL, NULL);
R_useDynamicSymbols(dll, FALSE);

}
#endif

0 comments on commit f001b13

Please sign in to comment.