Fixed. `Sys.which("open")` finds `/bin/open` on my system, so I'm looking for `xdg-open` first.