Cleaned up R checks