Deploy plumber API with a local package

I'm sorry if this seems too trivial but my r script is using a package which I installed locally (i.e. not on CRAN) by

devtools::install_local('/Users/blah/blah/xxx.tar.gz ')

Can I still deploy the plumber API?

Yes, also install xxx.tar.gz on the target host

If you can post your package to a GitHub repo and install using remotes::install_github("some_user/some_repo"), then the package can be downloaded automatically by the host.

And if it is private, you can still use this methode by setting GITHUB_PAT environment variable with a Personal Access Token before calling remotes::install_github.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.