add support for R and R packages
add default values to prevent upgrade errors