r cmd check cleanup