Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function InstallDotNet() {
opn("https://www.microsoft.com/net/download/core#/runtime");
}
function InstallR() {
let url: string;
if (os.IsWindows()) {
url = "https://cran.r-project.org/bin/windows/base/";
} else if (os.IsMac()) {
url = "https://cran.r-project.org/bin/macosx/";
} else {
url = "https://cran.r-project.org/bin/linux/";
}
opn(url);
}