Changed ' to " in R code and roxygen documentation