Certain R-packages require workarounds to install on offline servers. This function will check if the given package has such a work-around and return said workaround for the type of process asked (prepare or install).

package_workarounds(package, folder, type, verbose = TRUE)

Arguments

package

name of package. character.

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.