Skip to contents

Writes a POSIX-shell install script. The script begins with #!/usr/bin/env sh and set -eu and is marked executable.

Usage

write_install_script(plan, path = "install-sysreqs.sh")

Arguments

plan

A sysreqr_plan.

path

Output path.

Value

path, invisibly.

Examples

plan <- check_packages("xml2", platform = "ubuntu-22.04")
write_install_script(plan, file.path(tempdir(), "install-sysreqs.sh"))