RPresto::RPresto() Unable to setup connection -- Error: do not know how to convert 'NULL' to class "POSIXct"

I am trying the following code in RStudio Server. Unfortunately, I am getting an error message. The same code runs, however, on my local machine. Any idea?

library(RPresto)
library(DBI)

# Setup Connection

con <- DBI::dbConnect(
  RPresto::Presto(),
  use.trino.headers = TRUE,
  host = 'http://learnhowtouse101',
  port = 88349,
  user = 'someone123',
  schema = 'default',
  catalog = 'default'
)
#> Warning in system("timedatectl", intern = TRUE): running command 'timedatectl'
#> had status 1
#> Error: do not know how to convert 'NULL' to class "POSIXct"

Below is my system info:

Sys.info()
#>                               sysname                               release 
#>                               "Linux"         "3.10.0-1160.76.1.el7.x86_64" 
#>                               version                              nodename 
#> "#1 SMP Wed Aug 10 16:21:17 UTC 2022"     "someone.somewhere.org" 
#>                               machine                                 login 
#>                              "x86_64"                             "unknown" 
#>                                  user                        effective_user 
#>                            "someone123"                            "someone123"

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.