r - I'm writing a package. How can make it such that when library(my_package) is called, other packages are loaded as well? -
title should pretty clear hope. i'm writing package called forecasting, imports dplyr among other packages. imports written in description file, able force these other packages installed along forecasting - there equivalent way loading of package? in other words, there way when load package library(forecasting), automatically loads dplyr , other packages?
thanks
yes.
re-read "writing r extensions". depends: forces both initial installation loading of depended-upon packages.
but these days want imports: along importfrom() in namespace file more fine-grained.
but first things first: working depends.
Comments
Post a Comment