I am hoping to write a shiny package that depends on an external ubuntu package/library. In this case pdftk. In the most basic case
server.R
shinyServer(function(input, output) {
output$text <- renderText({
call = system2('pdftk',stdout = TRUE)
'meh'
})
})
ui.R
shinyUI(fluidPage(
textOutput("text")
))
Gives the log message sh: 1: pdftk: not found
in shinyapps.io dashboard. Is there a way to request shinyapps.io server to install required linux dependencies?
Note: this has been hard to google as package and dependency tend to give me links related to R packages. If anyone has better keywords in mind I can edit the post.
$PATH
. This can happen if your R session doesn't have all the privileges you're assuming it has. – Roman LuštrikSYNOPSIS pdftk...
thing that pops up. @roman, That may be the case but my guess it it's not even installed. It was installed in my ubuntu machine by default but not in the windows subsystem so I guess it's possible that it just comes without it. – OganMpdftools
package – hrbrmstrpdftools
– OganM