stringi requires download of a bundle to work. If we want to install offline, the bundle needs to be downloaded and ported with the package tar. For type = "prepare" the bundle is downloaded into the folder with the pacakge tars. For install, the call to R CMD INSTALL is given the path to the bundle during installation, which will stop it from attempting to download the bundle during install.

stringi_workaround(folder, type, verbose = TRUE)

Arguments

folder

character. folder to place all necessary files in

type

character vector of either "prepare" or "install". This indicates if the workaround for install-process or prepare-process should be returned.

verbose

logical. If function should be talkative.