Using Quantlib in shinyapps

I'm unable to deploy an app I've built using RQuantLib to shinyapps.io. The error message I get when deploying is:

checking for quantlib-config... yes
configure: WARNING: RQuantLib requires QuantLib (>= 1.14).
configure: error: Please upgrade to a current version.
ERROR: configuration failed for package ‘RQuantLib’
* removing ‘/opt/R/3.6.1/lib/R/library/RQuantLib’
GET /v1/tasks/?filter=account_id:77846&filter=parent_id:719584933&count=100&offset=0 93ms
################################# End Task Log ################################# 
----- Deployment error -----
Error: Unhandled Exception: Child Task 719584933 failed: Error building image: Error building RQuantLib (0.4.12). Build exited with non-zero status: 1
 
----- Error stack trace -----
3: stop(status$error, call. = FALSE)
2: client$waitForTask(taskId, quiet)
1: rsconnect::deployApp(appDir = "~/shiny-calculator/isa-calculator", 
       appFileManifest = "/var/folders/xv/t0hbf7w152v_bfzh_8b3y3nw0000gn/T/c293-a602-29dd-8642", 
       account = "pelican", server = "shinyapps.io", appName = "isa-calculator", 
       appId = 2101980, launch.browser = function(url) {
           message("Deployment completed: ", url)
       }, lint = FALSE, metadata = list(asMultiple = FALSE, asStatic = FALSE, 
           ignoredFiles = ".RData|isa_model.xlsx|isa_valuation.nb.html|isa_valuation.Rmd|test.Rmd"), 
       logLevel = "verbose")
Error: Unhandled Exception: Child Task 719584933 failed: Error building image: Error building RQuantLib (0.4.12). Build exited with non-zero status: 1
Execution halted

I've consulted the [https://docs.rstudio.com/shinyapps.io/appendix.html#default-system-packages](Shiny Default System Packages Documentation), and I believe the issue could be solved by updating the below packages:

libquantlib0-dev                       1.7.1-1                               amd64        Quantitative Finance Library -- development package
libquantlib0v5                         1.7.1-1                               amd64 

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.