myPkg Test package in response to SO question How to save the file to user working directory when building R package?. Installation remotes::install_github("mevers/myPkg") Example library(myPkg) myPkg_fun()