I am starting to write some Julia functions that rely on other packages for their computations. For example, in R
, I will write the following if my function depends on the dplyr
package.
foo <- function(x){
require(dplyr) # the body part will use the package `dplyr`
#body
}
What's the equivalent in Julia and, are they any best practices/suggestions when it comes to that? By now I am using using Pkg
inside the body of the functions, but I am not sure about it. Thank you.