function [OK, err, warnings] = remoteClearPlain(keysToRemove)
% Clear a collection of keys from the value store

% Copyright 2020 The MathWorks, Inc.

wc = parallel.internal.general.WarningsCollector();

try
    spmdlang.ValueStore.remove(keysToRemove);
    OK = true;
    err = [];
catch E
    OK = false;
    err = E;
end
warnings = wc.Warnings;
end
