Skip to content

sdcMicro

Statistical Disclosure Control Methods for Anonymization of Data and Risk Estimation

v5.8.0 · Jan 9, 2026 · GPL-2

Description

Data from statistical agencies and other institutions are mostly confidential. This package, introduced in Templ, Kowarik and Meindl (2017) <doi:10.18637/jss.v067.i04>, can be used for the generation of anonymized (micro)data, i.e. for the creation of public- and scientific-use files. The theoretical basis for the methods implemented can be found in Templ (2017) <doi:10.1007/978-3-319-50272-4>. Various risk estimation and anonymization methods are included. Note that the package includes a graphical user interface published in Meindl and Templ (2019) <doi:10.3390/a12090191> that allows to use various methods of this package.

Downloads

1.1K

Last 30 days

3517th

1.1K

Last 90 days

1.1K

Last year

CRAN Check Status

5 WARNING
2 NOTE
7 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang WARNING
r-devel-linux-x86_64-debian-gcc WARNING
r-devel-linux-x86_64-fedora-clang WARNING
r-devel-linux-x86_64-fedora-gcc WARNING
r-devel-macos-arm64 OK
r-devel-windows-x86_64 WARNING
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
WARNING r-devel-linux-x86_64-debian-clang

whether package can be installed

Found the following significant warnings:
  ./RankSwapping.h:87:30: warning: arithmetic between enumeration type '(unnamed enum at 0Main.cpp:38:1)' and floating-point type 'double' is deprecated [-Wdeprecated-enum-float-conversion]
  ./RankSwapping.h:87:37: warning: arithmetic between floating-point type 'double' and enumeration type '(unnamed enum at 0Main.cpp:38:1)' is deprecated [-Wdeprecated-enum-float-conversion]
  ./RankSwapping.h:102:44: warning: arithmetic between enumeration type '(unnamed enum at 0Main.cpp:38:1)' and floating-point type 'double' is deprecated [-Wdeprecated-enum-float-conversion]
  ./RankSwapping.h:209:30: warning: arithmetic between enumeration type '(unnamed enum at 0Main.cpp:38:1)' and floating-point type 'double' is deprecated [-Wdeprecated-enum-float-conversion]
  ./RankSwapping.h:209:37: warning: arithmetic between floating-point type 'double' and enumeration type '(unnamed enum at 0Main.cpp:38:1)' is deprecated [-Wdeprecated-enum-float-conversion]
  ./RankSwapping.h:225:45: warning: arithmetic between enumeration type '(unnamed enum at 0Main.cpp:38:1)' and floating-point type 'double' is deprecated [-Wdeprecated-enum-float-conversion]
  Mdav.cpp:183:34: warning: arithmetic between enumeration type '(unnamed enum at ./Mdav.h:27:1)' and floating-point type 'double' is deprecated [-Wdeprecated-enum-float-conversion]
  Mdav.cpp:183:41: warning: arithmetic between floating-point type 'double' and enumeration type '(unnamed enum at ./Mdav.h:27:1)' is deprecated [-Wdeprecated-enum-float-conversion]
  Mdav.cpp:189:48: warning: arithmetic between enumeration type '(unnamed enum at ./Mdav.h:27:1)' and floating-point type 'TDist' (aka 'float') is deprecated [-Wdeprecated-enum-float-conversion]
See ‘/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/sdcMicro.Rcheck/00install.out’ for details.
* used C compiler: ‘Debian clang version 21.1.8 (3+b1)’
* used C++ compiler: ‘Debian clang version 21.1.8 (3+b1)’
WARNING r-devel-linux-x86_64-debian-gcc

whether package can be installed

Found the following significant warnings:
  RankSwapping.h:87:30: warning: arithmetic between enumeration type ‘<unnamed enum>’ and floating-point type ‘double’ is deprecated [-Wdeprecated-enum-float-conversion]
  RankSwapping.h:87:37: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
  RankSwapping.h:102:44: warning: arithmetic between enumeration type ‘<unnamed enum>’ and floating-point type ‘double’ is deprecated [-Wdeprecated-enum-float-conversion]
  RankSwapping.h:209:30: warning: arithmetic between enumeration type ‘<unnamed enum>’ and floating-point type ‘double’ is deprecated [-Wdeprecated-enum-float-conversion]
  RankSwapping.h:209:37: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
  RankSwapping.h:225:45: warning: arithmetic between enumeration type ‘<unnamed enum>’ and floating-point type ‘double’ is deprecated [-Wdeprecated-enum-float-conversion]
  Mdav.cpp:183:34: warning: arithmetic between enumeration type ‘<unnamed enum>’ and floating-point type ‘double’ is deprecated [-Wdeprecated-enum-float-conversion]
  Mdav.cpp:183:41: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
  Mdav.cpp:189:48: warning: arithmetic between enumeration type ‘<unnamed enum>’ and floating-point type ‘TDist’ {aka ‘float’} is deprecated [-Wdeprecated-enum-float-conversion]
See ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/sdcMicro.Rcheck/00install.out’ for details.
* used C compiler: ‘gcc-15 (Debian 15.2.0-14) 15.2.0’
* used C++ compiler: ‘g++-15 (Debian 15.2.0-14) 15.2.0’
WARNING r-devel-linux-x86_64-fedora-clang

whether package can be installed

Found the following significant warnings:
  ./RankSwapping.h:87:30: warning: arithmetic between enumeration type '(unnamed enum at 0Main.cpp:38:1)' and floating-point type 'double' is deprecated [-Wdeprecated-enum-float-conversion]
  ./RankSwapping.h:87:37: warning: arithmetic between floating-point type 'double' and enumeration type '(unnamed enum at 0Main.cpp:38:1)' is deprecated [-Wdeprecated-enum-float-conversion]
  ./RankSwapping.h:102:44: warning: arithmetic between enumeration type '(unnamed enum at 0Main.cpp:38:1)' and floating-point type 'double' is deprecated [-Wdeprecated-enum-float-conversion]
  ./RankSwapping.h:209:30: warning: arithmetic between enumeration type '(unnamed enum at 0Main.cpp:38:1)' and floating-point type 'double' is deprecated [-Wdeprecated-enum-float-conversion]
  ./RankSwapping.h:209:37: warning: arithmetic between floating-point type 'double' and enumeration type '(unnamed enum at 0Main.cpp:38:1)' is deprecated [-Wdeprecated-enum-float-conversion]
  ./RankSwapping.h:225:45: warning: arithmetic between enumeration type '(unnamed enum at 0Main.cpp:38:1)' and floating-point type 'double' is deprecated [-Wdeprecated-enum-float-conversion]
  Mdav.cpp:183:34: warning: arithmetic between enumeration type '(unnamed enum at ./Mdav.h:27:1)' and floating-point type 'double' is deprecated [-Wdeprecated-enum-float-conversion]
  Mdav.cpp:183:41: warning: arithmetic between floating-point type 'double' and enumeration type '(unnamed enum at ./Mdav.h:27:1)' is deprecated [-Wdeprecated-enum-float-conversion]
  Mdav.cpp:189:48: warning: arithmetic between enumeration type '(unnamed enum at ./Mdav.h:27:1)' and floating-point type 'TDist' (aka 'float') is deprecated [-Wdeprecated-enum-float-conversion]
See ‘/data/gannet/ripley/R/packages/tests-clang/sdcMicro.Rcheck/00install.out’ for details.
* used C compiler: ‘clang version 22.1.0 (https://github.com/llvm/llvm-project 4434dabb69916856b824f68a64b029c67175e532)’
* used C++ compiler: ‘clang version 22.1.0 (https://github.com/llvm/llvm-project 4434dabb69916856b824f68a64b029c67175e532)’
WARNING r-devel-linux-x86_64-fedora-gcc

whether package can be installed

Found the following significant warnings:
  RankSwapping.h:87:30: warning: arithmetic between enumeration type ‘<unnamed enum>’ and floating-point type ‘double’ is deprecated [-Wdeprecated-enum-float-conversion]
  RankSwapping.h:87:37: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
  RankSwapping.h:102:44: warning: arithmetic between enumeration type ‘<unnamed enum>’ and floating-point type ‘double’ is deprecated [-Wdeprecated-enum-float-conversion]
  RankSwapping.h:209:30: warning: arithmetic between enumeration type ‘<unnamed enum>’ and floating-point type ‘double’ is deprecated [-Wdeprecated-enum-float-conversion]
  RankSwapping.h:209:37: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
  RankSwapping.h:225:45: warning: arithmetic between enumeration type ‘<unnamed enum>’ and floating-point type ‘double’ is deprecated [-Wdeprecated-enum-float-conversion]
  Mdav.cpp:183:34: warning: arithmetic between enumeration type ‘<unnamed enum>’ and floating-point type ‘double’ is deprecated [-Wdeprecated-enum-float-conversion]
  Mdav.cpp:183:41: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
  Mdav.cpp:189:48: warning: arithmetic between enumeration type ‘<unnamed enum>’ and floating-point type ‘TDist’ {aka ‘float’} is deprecated [-Wdeprecated-enum-float-conversion]
See ‘/data/gannet/ripley/R/packages/tests-devel/sdcMicro.Rcheck/00install.out’ for details.
* used C compiler: ‘gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’
* used C++ compiler: ‘g++ (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’
OK r-devel-macos-arm64

*


            
WARNING r-devel-windows-x86_64

whether package can be installed

Found the following significant warnings:
  RankSwapping.h:87:30: warning: arithmetic between enumeration type '<unnamed enum>' and floating-point type 'double' is deprecated [-Wdeprecated-enum-float-conversion]
  RankSwapping.h:87:37: warning: arithmetic between floating-point type 'double' and enumeration type '<unnamed enum>' is deprecated [-Wdeprecated-enum-float-conversion]
  RankSwapping.h:102:44: warning: arithmetic between enumeration type '<unnamed enum>' and floating-point type 'double' is deprecated [-Wdeprecated-enum-float-conversion]
  RankSwapping.h:209:30: warning: arithmetic between enumeration type '<unnamed enum>' and floating-point type 'double' is deprecated [-Wdeprecated-enum-float-conversion]
  RankSwapping.h:209:37: warning: arithmetic between floating-point type 'double' and enumeration type '<unnamed enum>' is deprecated [-Wdeprecated-enum-float-conversion]
  RankSwapping.h:225:45: warning: arithmetic between enumeration type '<unnamed enum>' and floating-point type 'double' is deprecated [-Wdeprecated-enum-float-conversion]
  Mdav.cpp:183:34: warning: arithmetic between enumeration type '<unnamed enum>' and floating-point type 'double' is deprecated [-Wdeprecated-enum-float-conversion]
  Mdav.cpp:183:41: warning: arithmetic between floating-point type 'double' and enumeration type '<unnamed enum>' is deprecated [-Wdeprecated-enum-float-conversion]
  Mdav.cpp:189:48: warning: arithmetic between enumeration type '<unnamed enum>' and floating-point type 'TDist' {aka 'float'} is deprecated [-Wdeprecated-enum-float-conversion]
See 'd:/Rcompile/CRANpkg/local/4.6/sdcMicro.Rcheck/00install.out' for details.
* used C compiler: 'gcc.exe (GCC) 14.3.0'
* used C++ compiler: 'g++.exe (GCC) 14.3.0'
NOTE r-oldrel-macos-arm64

installed package size

  installed size is  7.0Mb
  sub-directories of 1Mb or more:
    libs   4.1Mb
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is  7.0Mb
  sub-directories of 1Mb or more:
    libs   4.1Mb
OK r-oldrel-windows-x86_64

*


            
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

WARNING 7 OK · 2 NOTE · 5 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
WARNING r-devel-linux-x86_64-debian-clang

whether package can be installed

Found the following significant warnings:
  ./RankSwapping.h:87:30: warning: arithmetic between enumeration type '(unnamed enum at 0Main.cpp:38:1)' and floating-point type 'double' is deprecated [-Wdeprecated-enum-float-conversion]
  ./RankSwapping.h:87:37: warning: arithmetic between floating-point type 'double' and enumeration type '(unnamed enum at 0Main.cpp:38:1)' is deprecated [-Wdeprecated-enum-float-conversion]
  ./RankSwapping.h:102:44: warning: arithmetic between enumeration type '(unna
WARNING r-devel-linux-x86_64-debian-gcc

whether package can be installed

Found the following significant warnings:
  RankSwapping.h:87:30: warning: arithmetic between enumeration type ‘<unnamed enum>’ and floating-point type ‘double’ is deprecated [-Wdeprecated-enum-float-conversion]
  RankSwapping.h:87:37: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
  RankSwapping.h:102:44: warning: arithmetic between enumeration type ‘<unnamed enum>’ and floating-point type ‘double
WARNING r-devel-linux-x86_64-fedora-clang

whether package can be installed

Found the following significant warnings:
  ./RankSwapping.h:87:30: warning: arithmetic between enumeration type '(unnamed enum at 0Main.cpp:38:1)' and floating-point type 'double' is deprecated [-Wdeprecated-enum-float-conversion]
  ./RankSwapping.h:87:37: warning: arithmetic between floating-point type 'double' and enumeration type '(unnamed enum at 0Main.cpp:38:1)' is deprecated [-Wdeprecated-enum-float-conversion]
  ./RankSwapping.h:102:44: warning: arithmetic between enumeration type '(unna
WARNING r-devel-linux-x86_64-fedora-gcc

whether package can be installed

Found the following significant warnings:
  RankSwapping.h:87:30: warning: arithmetic between enumeration type ‘<unnamed enum>’ and floating-point type ‘double’ is deprecated [-Wdeprecated-enum-float-conversion]
  RankSwapping.h:87:37: warning: arithmetic between floating-point type ‘double’ and enumeration type ‘<unnamed enum>’ is deprecated [-Wdeprecated-enum-float-conversion]
  RankSwapping.h:102:44: warning: arithmetic between enumeration type ‘<unnamed enum>’ and floating-point type ‘double
WARNING r-devel-windows-x86_64

whether package can be installed

Found the following significant warnings:
  RankSwapping.h:87:30: warning: arithmetic between enumeration type '<unnamed enum>' and floating-point type 'double' is deprecated [-Wdeprecated-enum-float-conversion]
  RankSwapping.h:87:37: warning: arithmetic between floating-point type 'double' and enumeration type '<unnamed enum>' is deprecated [-Wdeprecated-enum-float-conversion]
  RankSwapping.h:102:44: warning: arithmetic between enumeration type '<unnamed enum>' and floating-point type 'double
NOTE r-oldrel-macos-arm64

installed package size

  installed size is  7.0Mb
  sub-directories of 1Mb or more:
    libs   4.1Mb
NOTE r-oldrel-macos-x86_64

installed package size

  installed size is  7.0Mb
  sub-directories of 1Mb or more:
    libs   4.1Mb

Dependency Network

Dependencies Reverse dependencies car carData rmarkdown knitr data.table xtable robustbase cluster MASS e1071 Rcpp ggplot2 shiny haven rhandsontable +5 more dependencies sdcMicro

Version History

new 5.8.0 Mar 9, 2026