anchor.diff:              key.GetValue "InstallPath" |> unbox
   
           match Environment.GetEnvironmentVariable "R_HOME" with
  -        | null -> locateRfromRegistry
  +        | null -> locateRfromRegistry()
           | rPath -> rPath 
   
   
  
positive.code: module internal ProviderUtils =
      // Have to be careful that this code is in its own module
      // If it is in some other module, which might be initialized before the PATH is set, we will get initialization exceptions
      let selectRLocation =
          let locateRfromRegistry =
              let rCore =
                  match Registry.LocalMachine.OpenSubKey @"SOFTWARE\R-core", Registry.CurrentUser.OpenSubKey @"SOFTWARE\R-core" with
                  | null, null -> failwithf "Reg key Software\R-core does not exist; R is likely not installed on this computer"
  
negative.code: 
      // R potentially may be not installed - handle this in static constructor for improved diag (G.B.)
      static do
          let binPath = Path.Combine(ProviderUtils.rLocation, "bin", if Environment.Is64BitProcess then "x64" else "i386")
          if not (Path.Combine(binPath, "R.dll") |> File.Exists) then
              failwithf "No R engine at %s" binPath
  
  