Skip to content

Commit

Permalink
Merge branch 'release/0.13.6'
Browse files Browse the repository at this point in the history
  • Loading branch information
HenrikBengtsson committed Jun 22, 2023
2 parents f17ee5d + afe5668 commit e4840d8
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 17 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ISC License (ISC)

Copyright 2022 Henrik Bengtsson and Harry Putnam
Copyright 2022-2023 Henrik Bengtsson and Harry Putnam

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

Expand Down
9 changes: 9 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## Version 0.13.6 [2023-06-22]

### Miscellaneous

* `rsc start` now reports also on the underlying error message if one
of the assertion tests for the R installation being functional
fails.


## Version 0.13.5 [2023-05-06]

### Bug Fixes
Expand Down
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ To launch your personal RStudio Server instance, call:

```sh
$ rsc start
alice, your personal RStudio Server 2023.03.0+386 running R 4.2.3 is available on:
alice, your personal RStudio Server 2023.03.0+386 running R 4.3.1 is available on:

<http://127.0.0.1:20612>

Expand All @@ -98,7 +98,7 @@ e.g. <kbd>Ctrl-C</kbd>:
```sh
$ rsc start
alice, your personal RStudio Server 2023.03.0+386 running R 4.2.3 is available on:
alice, your personal RStudio Server 2023.03.0+386 running R 4.3.1 is available on:
<http://127.0.0.1:20612>
Expand Down Expand Up @@ -170,7 +170,7 @@ If we launch `rsc` on the remote server, we will get:
```sh
[alice@server ~]$ rsc start
alice, your personal RStudio Server 2023.03.0+386 running R 4.2.3 is available on:
alice, your personal RStudio Server 2023.03.0+386 running R 4.3.1 is available on:
<http://127.0.0.1:20612>
Expand Down Expand Up @@ -220,7 +220,7 @@ instructions:
```sh
[alice@server ~]$ rsc start
alice, your personal RStudio Server 2023.03.0+386 running R 4.2.3 is available on:
alice, your personal RStudio Server 2023.03.0+386 running R 4.3.1 is available on:
<http://127.0.0.1:20612>
Expand Down Expand Up @@ -264,7 +264,7 @@ port 20612 several times before, so we will try that this time too:
[ab@local ~]$ ssh -L 20612:server.myuniv.org:20612 alice@login.myuniv.org
[alice@login ~]$ ssh -l alice server.myuniv.org
[alice@server ~]$ rsc start --port=20612
alice, your personal RStudio Server 2023.03.0+386 running R 4.2.3 is available on:
alice, your personal RStudio Server 2023.03.0+386 running R 4.3.1 is available on:
<http://127.0.0.1:20612>
Expand Down Expand Up @@ -298,7 +298,7 @@ it launches the RStudio Server;
```sh
[ab@local ~]$ ssh -l alice server.myuniv.org
[alice@server ~]$ rsc start --revtunnel=ab@local.myuniv.org:20612
alice, your personal RStudio Server 2023.03.0+386 running R 4.2.3 is available on:
alice, your personal RStudio Server 2023.03.0+386 running R 4.3.1 is available on:
<http://127.0.0.1:20612>
Expand Down Expand Up @@ -333,22 +333,22 @@ As before, the RStudio Server is available at
```sh
$ cd /path/to/software
$ curl -L -O https://github.com/UCSF-CBI/rstudio-server-controller/archive/refs/tags/0.13.5.tar.gz
$ tar xf 0.13.5.tar.gz
$ PATH=/path/to/softwarerstudio-server-controller-0.13.5/bin:$PATH
$ curl -L -O https://github.com/UCSF-CBI/rstudio-server-controller/archive/refs/tags/0.13.6.tar.gz
$ tar xf 0.13.6.tar.gz
$ PATH=/path/to/softwarerstudio-server-controller-0.13.6/bin:$PATH
$ export PATH
$ rsc --version
0.13.5
0.13.6
```
To verify that the tool can find R and the RStudio Server executables,
call:
```sh
$ rsc --version --full
rsc: 0.13.5
rsc: 0.13.6
RStudio Server: 2023.03.0+386 (Cherry Blossom) for Linux [/path/to/rstudio-server/bin/rstudio-server]
R: 4.2.3 (2023-03-15) -- "Shortstop Beagle" [/path/to/R/bin/R]
R: 4.3.1 (2023-06-16) -- "Shortstop Beagle" [/path/to/R/bin/R]
```
Expand Down
8 changes: 4 additions & 4 deletions bin/rsc
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
### rsc config --full
### rsc log
###
### Version: 0.13.5
### Version: 0.13.6
### Copyright: Henrik Bengtsson (2022-2023) and Harry Putnam (2022)
### License: ISC

Expand Down Expand Up @@ -1148,11 +1148,11 @@ function launch_rserver_monitor {
function assert_r {
assert_executable R

R --version > /dev/null || error "The R installation appears broken. Calling 'R --version' fails"
out=$(R --version) || error "The R installation appears broken. Calling 'R --version' failed [${out}]"

R --help > /dev/null || error "The R installation appears broken. Calling 'R --help' fails"
out=$(R --help) || error "The R installation appears broken. Calling 'R --help' failed [${out}]"

R --vanilla -e 42 > /dev/null || error "The R installation appears broken. Calling 'R --vanilla -e 42' fails"
out=$(R --vanilla -e 42) || error "The R installation appears broken. Calling 'R --vanilla -e 42' failed [${out}]"
}


Expand Down

0 comments on commit e4840d8

Please sign in to comment.