This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# By default, the directories in .libPaths() aren't writable on shinyapps.io, so | |
# create a subdir where we'll install our package. | |
if (!file.exists("R-lib")) { | |
dir.create("R-lib") | |
} | |
# Unfortunately, there's no way to get deployapp() to ignore this directory, so | |
# make sure to remove it locally before you call deployapp(). This can be done | |
# with: | |
# unlink("pkgInst/R-lib", recursive = TRUE) |