Learn R Programming

dsTidyverse (version 1.1.1)

checkPermissivePrivacyControlLevel: checkPermissivePrivacyControlLevel

Description

This serverside function check that the server is running in "permissive" privacy control level.

Usage

checkPermissivePrivacyControlLevel(privacyControlLevels)

Value

Returns an error if the method is not permitted; otherwise, no value is returned.

Arguments

privacyControlLevels

is a vector of strings which contains the privacy control level names which are permitted by the calling method.

Author

Wheater, Dr SM., DataSHIELD Team.

Details

Tests whether the R option "datashield.privacyControlLevel" is set to "permissive", if it isn't will cause a call to stop() with the message "BLOCKED: The server is running in 'non-permissive' mode which has caused this method to be blocked".