svDiag currently detects Positron https://positron.posit.co/ as RStudio which then returns errors when calling rstudioapi::selectDirectory()