Learn R Programming

blogdown (version 1.19)

hugo_installers: Available Hugo installers of a version

Description

Given a version number, return the information of available installers. If install_hugo() fails, you may run this function to check the available installers and obtain their os/arch info.

Usage

hugo_installers(version = "latest")

Value

A data frame containing columns os (operating system),

arch (architecture), and extended (extended version or not). If your R version is lower than 4.1.0, a character vector of the installer filenames will be returned instead.

Arguments

version

A version number. The default is to automatically detect the latest version. Versions before v0.17 are not supported.

Examples

Run this code
if (FALSE) { # interactive()
blogdown::hugo_installers()
blogdown::hugo_installers("0.89.0")
blogdown::hugo_installers("0.17")
}

Run the code above in your browser using DataLab