String projFile = projFileFromDir(projDir);
String newDefaultLocation = null;
if (!dir.equals(defaultNewProjectLocation_))
newDefaultLocation = dir;
return new NewProjectResult(projFile,
chkGitInit_.getValue(),
chkPackratInit_.getValue(),
newDefaultLocation,
null,
getNewPackageOptions(), getNewShinyAppOptions());