I have written a basic script within R Studio to do some wrangling of data from wide to long format so that data can go into company database. It is now time to make it executable so other users can run script and get data into the database.
I have followed the instruction at this link https://www.r-bloggers.com/2015/02/making-r-files-executable-under-windows/
which discusses this topic and it appears to work, however, when I libraries that need loading the script does not appear to work or I get an error message saying
"The procedure entry point EXTPTR could not be located in the dynamic link library
I am thinking it is something to do with how the libraries have been loaded (or not loaded) into the windows system environment?
Any tips/direction/ advice is appreciated