su: ignore --preserve-environment, it's mutually exclusive to --login. Error in `googledrive::drive_auth()` at ShinyApps/eportuc/app.R:92:2: ! Can't get Google credentials. ℹ Are you running googledrive in a non-interactive session? Consider: • Call `drive_deauth()` to prevent the attempt to get credentials. • Call `drive_auth()` directly with all necessary specifics. ℹ See gargle's "Non-interactive auth" vignette for more details: ℹ Backtrace: ▆ 1. └─shiny::runApp(Sys.getenv("SHINY_APP"), port = port, launch.browser = FALSE) 2. ├─shiny::as.shiny.appobj(appDir) 3. └─shiny:::as.shiny.appobj.character(appDir) 4. └─shiny::shinyAppDir(x) 5. └─shiny:::shinyAppDir_appR("app.R", appDir, options = options) 6. └─shiny (local) appObj() 7. └─shiny (local) func(fname, ...) 8. └─shiny:::sourceUTF8(fullpath, envir = new.env(parent = sharedEnv)) 9. └─base::eval(exprs, envir) 10. └─base::eval(exprs, envir) 11. ├─shiny::..stacktraceon..(...) 12. └─googledrive::drive_auth(cache = ".secrets", email = "passi.solar@gmail.com") at ShinyApps/eportuc/app.R:92:2 13. └─googledrive:::drive_abort(...) 14. └─cli::cli_abort(message = message, ..., .envir = .envir) 15. └─rlang::abort(...) Execution halted