Closed michelledayusfs closed 2 years ago
Do I just have to load those packages? I thought patchmax would do that for me but maybe not?
Looks like installing the package within R won’t automatically install these dependencies, but if you were to install using “install_github” then those dependencies would be loaded. I think this means that we want people to install the package using the “install_github” rather than building the package from within R.
https://stackoverflow.com/questions/5805049/package-dependencies-when-installing-from-source-in-r
devtools::install_github("myname/mypackage") On Jun 7, 2022, 1:21 PM -0700, Michelle Day @.***>, wrote:
Do I just have to load those packages? I thought patchmax would do that for me but maybe not? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were assigned.Message ID: @.***>
Okay, something I can test as michelledayosu.
Also probably good that my computer died and I have to build back up to all the packages again.
I can confirm that remotes::install_github(“forsys-sp/forsysr”, auth_token=“your token”) is the way that we want people to install the package on you their machine. People will only need to use GitHub Desktop if they want to push and pull from the repository. On Jun 7, 2022, 1:29 PM -0700, Michelle Day @.***>, wrote:
Also probably good that my computer died and I have to build back up to all the packages again. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were assigned.Message ID: @.***>
This was resolved with the remotes::install_deps("your_filepath_here/Patchmax_0.1.1.zip"). Cody is correct but doesn't work if we are sharing the binary version of patchmax.