Closed bschilder closed 3 years ago
Found a solution here.
Added a tryCatch within get_term_definition
to handle this:
hpo_termdetails <- tryCatch(expr = {
httr::GET(paste0("hpo.jax.org/api/hpo/term/",
ontologyId))
},
error = function(e){
httr::set_config(httr::config(ssl_verifypeer = FALSE))
httr::GET(paste0("hpo.jax.org/api/hpo/term/",
ontologyId))
})
Might be an issue specific to my Linux-based Docker container, but i when i run this code in the main
HPOExplorer
vignette:I get the error: