Skip to contents

Not ordinarily called by users; it is automatically called by functions like changeFieldLocal, changeFieldForeign and rez_mutate. This function ensures that the fields in a DF you wish to change are actually a good idea to change. It produces an error if a primary key is among the fields you wish to change, and warnings otherwise. This is automatically called if you use a rezonateR-internal function such as rez_mutate.

Usage

rez_validate_fieldchange(
  df,
  changedFields,
  changingStatus = F,
  fieldaccess = ""
)

Arguments

df

The rezrDF you are planning to change.

changedFields

The fields you want to change.