I'm building a Plumber API and it saves logs. When I test it on my RStudio desktop or the RStudio server I want the log to into the here::here("logs") folder.
However, when it is being run by RStudio connect on the server, I want to save the logs in a different path.
Is this possible? Maybe using interactive() ?