Skip to content

Commit 1d236c4

Browse files
authored
Merge pull request #171 from nielsaka/master
Fix default password for rocker/rstudio
2 parents 359c838 + 484e003 commit 1d236c4

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ Suggests:
3333
testthat,
3434
knitr,
3535
xml2
36-
RoxygenNote: 6.1.1
36+
RoxygenNote: 6.1.0

R/debian.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ debian_install_r <- function(droplet) {
4444
#' @param password Default password for Rstudio.
4545
#' @param version Version of rstudio to install.
4646
#' @export
47-
debian_install_rstudio <- function(droplet, user = "rstudio", password = "rstudio",
47+
debian_install_rstudio <- function(droplet, user = "rstudio", password = "server",
4848
version = "0.99.484") {
4949
droplet %>%
5050
debian_apt_get_install("gdebi-core", "libapparmor1") %>%

R/docklet.R

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
#' @param args (character) Docker args
3030
#' @param docker_args (character) Docker args
3131
#' @param user (character) User name. Default: \code{"rstudio"}
32-
#' @param password (character) Password. Default: \code{"rstudio"}
33-
#' @param email (character) Password. Default: \code{"rstudio@@example.com"}
32+
#' @param password (character) Password. Default: \code{"server"}
33+
#' @param email (character) E-mail address. Default: \code{"rstudio@@example.com"}
3434
#' @param img (character) Docker image (not a DigitalOcean image). Default:
3535
#' \code{'rocker/rstudio'}
3636
#' @param port (character) Port. Default: \code{8787}
@@ -200,7 +200,7 @@ docklet_docker <- function(droplet, cmd, args = NULL, docker_args = NULL,
200200

201201
#' @export
202202
#' @rdname docklet_create
203-
docklet_rstudio <- function(droplet, user = 'rstudio', password = 'rstudio',
203+
docklet_rstudio <- function(droplet, user = 'rstudio', password = 'server',
204204
email = '[email protected]', img = 'rocker/rstudio', port = '8787',
205205
volume = '', dir = '', browse = TRUE, add_users = FALSE,
206206
ssh_user = "root", keyfile = NULL, ssh_passwd = NULL, verbose = FALSE) {
@@ -236,7 +236,7 @@ docklet_rstudio <- function(droplet, user = 'rstudio', password = 'rstudio',
236236
#' @export
237237
#' @rdname docklet_create
238238
docklet_rstudio_addusers <- function(droplet,
239-
user = 'rstudio', password = 'rstudio', img = 'rocker/rstudio',
239+
user = 'rstudio', password = 'server', img = 'rocker/rstudio',
240240
port = '8787', ssh_user = "root", keyfile = NULL, ssh_passwd = NULL,
241241
verbose = FALSE) {
242242

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ docklet_create() %>%
129129
docklet_rstudio()
130130
```
131131

132-
This will install R, RStudio Server and it's dependencies. It will automatically pop open the RStudio server instance in your default browser, with default `username/password` of `rstudio/rstudio`.
132+
This will install R, RStudio Server and it's dependencies. It will automatically pop open the RStudio server instance in your default browser, with default `username/password` of `rstudio/server`.
133133

134134

135135
## Meta

inst/ignore/docklet_packrat.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#' d %>% docklet_packrat(".")
1414
#' }
1515
docklet_packrat <- function(droplet, project, user = 'rstudio',
16-
password = 'rstudio', verbose = TRUE) {
16+
password = 'server', verbose = TRUE) {
1717
if (!requireNamespace("packrat", quietly = TRUE)) {
1818
stop("Please install packrat", call. = FALSE)
1919
}

man/debian.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/docklet_create.Rd

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)