private IEnumerable <IRInterpreterInfo> GetInstalledCranR(IEnumerable <InstalledPackageInfo> packagesInfo)
        {
            var selectedPackages = packagesInfo.Where(p => p.PackageName.EqualsIgnoreCase("r-base-core") && SupportedVersions.IsCompatibleVersion(p.GetVersion()));

            foreach (var package in selectedPackages)
            {
                yield return(RLinuxInterpreterInfo.CreateFromPackage(package, "CRAN R", _fileSystem));
            }
        }
        private IEnumerable <IRInterpreterInfo> GetInstalledMRO(IEnumerable <InstalledPackageInfo> packagesInfo)
        {
            var selectedPackages = packagesInfo.Where(p => p.PackageName.StartsWithIgnoreCase("microsoft-r-open-mro") && SupportedVersions.IsCompatibleVersion(p.GetVersion()));

            foreach (var package in selectedPackages)
            {
                yield return(RLinuxInterpreterInfo.CreateFromPackage(package, "Microsoft R Open", _fileSystem));
            }
        }