Project

General

Profile

Actions

Task #12262

closed

Wrong Rprofile settings for the dev workspace

Added by Andrea Dell'Amico almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
_InfraScience Systems Engineer
Category:
System Application
Target version:
Start date:
Jul 27, 2018
Due date:
% Done:

100%

Estimated time:
Infrastructure:
Development, Pre-Production, Production

Description

I've just found this piece of code into the Rprofile that we distribute:

getCredentials<-function(){
  machinename<-Sys.info()[['nodename']]
  g<-regexpr(".*(-d).*", machinename)

  if (g[1]>0){
    workspaceurl<<-"http://node11.d.d4science.research-infrastructures.eu:8080/home-library-webapp"
  }else{workspaceurl<<-"http://workspace-repository.d4science.org/home-library-webapp"}

Two problems here:

  • The dev workspace changed name months (more than a year?) ago
  • The URLs are plain http

If there are no objections I'm going to ckange it into

getCredentials<-function(){
  machinename<-Sys.info()[['nodename']]
  g<-regexpr(".*(\.dev\.).*", machinename)

  if (g[1]>0){
    workspaceurl<<-"https://workspace-repository.dev.d4science.org/home-library-webapp"
  }else{workspaceurl<<-"https://workspace-repository.d4science.org/home-library-webapp"}

Let me know.

Actions #1

Updated by Andrea Dell'Amico over 6 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

I also added a default mirror site for CRAN.

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 8.91 MB)