Clean up edicts in R.