Add --vanilla flag to r build system (#22166)
				
					
				
			Unlike the other commands of the `R CMD` interface, the `INSTALL` command will read `Renviron` files. This can potentially break builds of r- packages, depending on what is set in the `Renviron` file. This PR adds the `--vanilla` flag to ensure that neither `Rprofile` nor `Renviron` files are read during Spack builds of r- packages.
This commit is contained in:
		| @@ -84,6 +84,7 @@ def install(self, spec, prefix): | |||||||
|         config_vars = self.configure_vars() |         config_vars = self.configure_vars() | ||||||
| 
 | 
 | ||||||
|         args = [ |         args = [ | ||||||
|  |             '--vanilla', | ||||||
|             'CMD', |             'CMD', | ||||||
|             'INSTALL' |             'INSTALL' | ||||||
|         ] |         ] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Glenn Johnson
					Glenn Johnson