pachadotdev / analogsea

Digital Ocean R client
https://pacha.dev/analogsea/
Apache License 2.0
155 stars 24 forks source link

Install packages from bitbucket #216

Closed MislavSag closed 2 years ago

MislavSag commented 2 years ago

I want to install package from bitbucket: https://bitbucket.org/quanttools/quanttools/src/master/

I know how to install packages from CRAN or GitHub, for example

analogsea::install_r_package(droplet_id, "data.table")

but can't figure oput how to install QuantTools from birbucket.

MislavSag commented 2 years ago

I have an additional question. Is it possible to restrict dependency installation when installing packages from github?

pachadotdev commented 2 years ago

Hi I don't have a method for bitbucket at the moment. What you can do is to clone the repository in your server and install with devtools. Regarding restrictions, that's not possible. analogsea uses remotes (package) to install from GitHub.

MislavSag commented 2 years ago

I have solve the problem by adding the package in one of my pachages (Remotes: bitbucket::test/test). Thanks for help.