Learn R Programming

RSuite (version 0.37-253)

inst_wrap_zip: Wraps deployment zip into bash installer script.

Description

Wraps deployment zip into bash installer script.

Usage

inst_wrap_zip(zip_fpath)

Arguments

zip_fpath

path to zip package to wrap. It must exist. (type: character)

Value

path to created bash installer script (invisible)

Details

Bash installer is just script containing also binary data at the end of file. It has also some logic to install the package into more intelligent way than just unzip.

Shell script is created at the same location as zip package passed and will have the same name with sh extension.

Examples

Run this code
# NOT RUN {
  inst_wrap_zip("myproj_0.1-1.zip") # creates myproj_0.1-1.sh
# }

Run the code above in your browser using DataLab