See #24680. Reinstate the load of the jwt token in the Rprofile

This commit is contained in:
Andrea Dell'Amico 2023-03-01 22:56:22 +01:00
parent 915762e26f
commit ba37299b9b
Signed by: andrea.dellamico
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 4 additions and 4 deletions

View File

@ -33,11 +33,11 @@ local({r <- getOption("repos")
Sys.setlocale(category = "LC_ALL", locale = "en_US.UTF-8")
# require(d4storagehub4R)
require(d4storagehub4R)
# more information at ?StoragehubManager
# .WORKSPACE = d4storagehub4R::StoragehubManager$new(
# token_type = "jwt", token = Sys.getenv("SHINYPROXY_OIDC_ACCESS_TOKEN")
# )
.WORKSPACE = d4storagehub4R::StoragehubManager$new(
token_type = "jwt", token = Sys.getenv("SHINYPROXY_OIDC_ACCESS_TOKEN")
)
print(paste("Using Locale Encoding:",Sys.setlocale("LC_CTYPE","en_US.UTF-8")));