Writes a POSIX-shell install script. The script begins with
#!/usr/bin/env sh and set -eu and is marked executable.
See also
Other output:
as_install_plan(),
write_dockerfile_snippet(),
write_json(),
write_report()
Examples
plan <- check_packages("xml2", platform = "ubuntu-22.04")
write_install_script(plan, file.path(tempdir(), "install-sysreqs.sh"))
