Closed layik closed 3 years ago
Previous work for gp_explore and others needed the use of callr, see Mark's first recommendation: https://github.com/ATFutures/geoplumber/issues/82#issuecomment-629850023
gp_explore
callr
Since, various issues exist around the use of running processes in the background whilst having full control on the process to shut it down when done.
Current issue is that in gp_explore this no longer functions:
f <- function(s, p) s$run(port = p) ps <- callr::r_bg(f, list(s = server, p = 8000)) # server being valid plumber instance
https://github.com/rstudio/plumber/issues/451#issuecomment-707846947
Thanks to @meztez this can now be taken care of and hopefully it is a lasting solution for geoplumber.
geoplumber
All tests pass so should be good to close despite Travis still failing.
Previous work for
gp_explore
and others needed the use ofcallr
, see Mark's first recommendation: https://github.com/ATFutures/geoplumber/issues/82#issuecomment-629850023Since, various issues exist around the use of running processes in the background whilst having full control on the process to shut it down when done.
Current issue is that in
gp_explore
this no longer functions: