Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows R version must be 4.1.2 otherwise post install script doesn't update package mirror URL #4288

Open
jonnyry opened this issue Jan 29, 2025 · 0 comments · May be fixed by #4289
Open
Assignees
Labels
bug Something isn't working

Comments

@jonnyry
Copy link
Collaborator

jonnyry commented Jan 29, 2025

The Guacamole Windows VM post install script which configures the R package mirror is hard coded to R version 4.1.2:

$RConfig = @"
local({
r <- getOption("repos")
r["Nexus"] <- "${nexus_proxy_url}/repository/r-proxy/"
options(repos = r)
})
"@
$RConfig | Out-File -Encoding Ascii ( New-Item -Path $Env:ProgramFiles\R\R-4.1.2\etc\Rprofile.site -Force )

The latest version of R is 4.4.2.

It would be preferable if the script looked for R versions and applied the package mirror config to the one it found / all of them, rather than only a specific version.

@jonnyry jonnyry added the bug Something isn't working label Jan 29, 2025
@jonnyry jonnyry self-assigned this Jan 29, 2025
@jonnyry jonnyry changed the title R version must be 4.1.2 otherwise post install script doesn't update package mirror URL Windows R version must be 4.1.2 otherwise post install script doesn't update package mirror URL Jan 29, 2025
jonnyry added a commit to nwsde/nwsde-azuretre that referenced this issue Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant