hugo_install: Install specified version of hugo
Description
Downloads binary from hugo releases, and installs in system wide cache.
Usage
hugo_install(version = NULL, os = hugo_os(), arch = "64bit", extended = TRUE)
Arguments
version
String giving version (e.g. "0.69.0"). If omitted will
default to latest release.
os
Operating system, one of "Linux", "Windows", "macOS". Defaults
to current operating system.
extended
Installed hugo-extended which also includes SCSS etc?
Examples
Run this code# NOT RUN {
hugo_install()
# }
Run the code above in your browser using DataLab