Skip to content

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

@jonnyry

Description

@jonnyry

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions