Returns the path to the installation of CmdStan with the most recent release version.
cmdstan_default_path(old = FALSE, dir = NULL)
Path to the CmdStan installation with the most recent release
version, or NULL
if no installation found.
For Windows systems with WSL CmdStan installs, if there are side-by-side WSL and native installs with the same version then the WSL is preferred. Otherwise, the most recent release is chosen, regardless of whether it is native or WSL.