# \donttest{
tryCatch(
{
## Fetch the current gold price
response <- get_current_goldprice()
## Retrieve the current gold price value
response$content$cena
},
error = function(e) message(e)
)
# }
Run the code above in your browser using DataLab