Skip to content

Installation

The latest versions of R Depot are available on our downloads page. R Depot is available for Windows, Mac and Linux.

Docker

The following prerequisites are needed:

  • docker
  • docker-compose (i.e. by issuing pip install docker-compose)
  • port 80 is not used (localhost, check for nginx or apache service)

Please make sure the following files are available:

The final step is to launch the Docker containers using docker-compose:

docker-compose up -d

One can then go to http://localhost to log in.

Regarding users and passwords: all passwords are password, because the application is connected by default to scientists group of the ForumSys LDAP server.

  • user einstein is an administrator
  • user tesla is a repository maintainer (but not linked to a repository: an administrator has to do that manually)
  • user galieleo is a package maintainer (but not linked to a package: a repository maintainer or administrator has to do that manually)
  • user newton is a regular user

To complete an end-to-end flow: R package to R Depot to Repository Server to R client, the following steps are needed:

  • create a repository with (or edit)
  • submit one or more packages to that repository via the R Depot web interface
  • publish the repository using the green button in the repositories view (if needed)
  • go to the published package page (repositories view, click repository name, click package name)
  • use the install URL shown on the published package page to install the package in R install.packages("somePackage", repos = c("http://localhost/repo/repositoryName", getOption()))

To (re)start with fresh database:

  • remove the containers via docker-compose down -v
  • start up again using docker-compose up -d