Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
I am looking to add an R library in a private repo in bitbucket to a code env, I have tested adding it as a project level library as per this document (https://knowledge.dataiku.com/latest/courses/governance/collaboration/git-projects.html) which is working fine.
However ideally I would have the package in the code env so it is more widely available. I have successfully installed packages in the code env from github using this syntax: git+https://github.com/<package>.git but I cannot seem to get it to work with a bitbucket link. The error I am getting just says that it is not available. For reference I am using Dataiku version 9.0.5
Is there anything I am overlooking? Or is this only available through github?
Hi @ak12 ,
Is your bitbucket repo public or private? If it's private repo you may need to create an app password:
And include this in your URL:
If we are talking about R code envs, the quick answer is no, it's not possible to install R packages from the git repositories from DSS UI.
In R, to install the package from Git, you need to do this manually from the CLI using either "devtools" or "remotes" R packages. This will require something like this:
The syntax for the package: