get_dependent_packages function

get packages required to run R code