beautypg.com

Ex: ease checking program correctness – Google RLint: Reformatting R Code to Follow the Google Style Guide User Manual

Page 13

background image

Google Confidential and Proprietary

Ex: Ease checking program correctness

Code

if (format(Sys.time(), "%Y") == "2014") {

print(paste("UseR!", "2014")

}

Is anything wrong?