remove test lines in R scripts