install_dotnet_core: Install .Net Core.

Description Usage Arguments Examples

View source: R/install_dotnet_core.R

Description

Install the dotnet core runtime on your machine. For more informations on this method see dotnet-install-script

Usage

1
2
3
4
5
6
7
install_dotnet_core(
  channel = "LTS",
  version = "latest",
  installDir = NULL,
  architecture = NULL,
  runtime = "dotnet"
)

Arguments

channel

Specifies the source channel for the installation. The possible values are: * Current - Most current release. * LTS - Long-Term Support channel (most current supported release). * Two-part version in X.Y format representing a specific release (for example, 2.0 or 1.0). * Branch name. For example, release/2.0.0, release/2.0.0-preview2, or master (for nightly releases). The default value is LTS. For more information on .NET support channels, see the .NET Support Policy page.

version

Represents a specific build version. The possible values are: * latest - Latest build on the channel (used with the channel option). * coherent - Latest coherent build on the channel; uses the latest stable package combination (used with Branch name channel options). * Three-part version in X.Y.Z format representing a specific build version; supersedes the -Channel option. For example: 2.0.0-preview2-006120. If not specified, version defaults to latest.

installDir

Specifies the installation path. The directory is created if it doesn't exist. The default value is %LocalAppData%/Microsoft/dotnet. Binaries are placed directly in this directory.

architecture

Architecture of the .NET Core binaries to install. Possible values are <auto>, amd64, x64, x86, arm64, and arm. The default value is x86 and x64.

runtime

Installs just the shared runtime, not the entire SDK. The possible values are: * dotnet - the Microsoft.NETCore.App shared runtime. * aspnetcore - the Microsoft.AspNetCore.App shared runtime.

Examples

1
2
3
4
5
6
7
## Not run: 
library(sharper)

install_dotnet_core()
install_dotnet_core(installDir = "./", runtime = "aspnetcore")

## End(Not run)

fdieulle/sharper documentation built on Aug. 1, 2020, 4:19 p.m.