r-geor: new package, and a couple of its dependencies (#9920)
* r-geor: new package, and a couple of its dependencies * Update to new copyright header * Include the list_url for the R package archive dir * Added explicit version ranges on dependencies, as per the relevant CRAN pages * Correct dependency types in r-splancs.
This commit is contained in:
		 Neil Flood
					Neil Flood
				
			
				
					committed by
					
						 Adam J. Stewart
						Adam J. Stewart
					
				
			
			
				
	
			
			
			 Adam J. Stewart
						Adam J. Stewart
					
				
			
						parent
						
							862d1799fb
						
					
				
				
					commit
					a0fc573ff4
				
			
							
								
								
									
										23
									
								
								var/spack/repos/builtin/packages/r-geor/package.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								var/spack/repos/builtin/packages/r-geor/package.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | ||||
| # Copyright 2013-2018 Lawrence Livermore National Security, LLC and other | ||||
| # Spack Project Developers. See the top-level COPYRIGHT file for details. | ||||
| # | ||||
| # SPDX-License-Identifier: (Apache-2.0 OR MIT) | ||||
|  | ||||
| from spack import * | ||||
|  | ||||
|  | ||||
| class RGeor(RPackage): | ||||
|     """Geostatistical analysis including traditional, likelihood-based | ||||
|        and Bayesian methods.""" | ||||
|  | ||||
|     homepage = "https://cran.r-project.org/web/packages/geoR/" | ||||
|     url      = "https://cran.r-project.org/src/contrib/geoR_1.7-5.2.1.tar.gz" | ||||
|     list_url = "https://cran.r-project.org/src/contrib/Archive/geoR" | ||||
|  | ||||
|     version('1.7-5.2.1', 'a50f477bea1bec9070a4de01f69b831c') | ||||
|  | ||||
|     depends_on('r@2.10:', type=('build', 'run')) | ||||
|     depends_on('r-mass', type=('build', 'run')) | ||||
|     depends_on('r-sp', type=('build', 'run')) | ||||
|     depends_on('r-splancs', type=('build', 'run')) | ||||
|     depends_on('r-randomfields', type=('build', 'run')) | ||||
							
								
								
									
										22
									
								
								var/spack/repos/builtin/packages/r-randomfields/package.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								var/spack/repos/builtin/packages/r-randomfields/package.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,22 @@ | ||||
| # Copyright 2013-2018 Lawrence Livermore National Security, LLC and other | ||||
| # Spack Project Developers. See the top-level COPYRIGHT file for details. | ||||
| # | ||||
| # SPDX-License-Identifier: (Apache-2.0 OR MIT) | ||||
|  | ||||
| from spack import * | ||||
|  | ||||
|  | ||||
| class RRandomfields(RPackage): | ||||
|     """Methods for the inference on and the simulation of Gaussian fields | ||||
|        are provided, as well as methods for the simulation of extreme | ||||
|        value random fields.""" | ||||
|  | ||||
|     homepage = "https://cran.r-project.org/web/packages/RandomFields" | ||||
|     url = "https://cran.r-project.org/src/contrib/RandomFields_3.1.50.tar.gz" | ||||
|     list_url = "https://cran.r-project.org/src/contrib/Archive/RandomFields" | ||||
|  | ||||
|     version('3.1.50', 'fd91aea76365427c0ba3b25fb3af43a6') | ||||
|  | ||||
|     depends_on('r@3.3:', type=('build', 'run')) | ||||
|     depends_on('r-sp', type=('build', 'run')) | ||||
|     depends_on('r-randomfieldsutils@0.3.25:', type=('build', 'run')) | ||||
| @@ -0,0 +1,21 @@ | ||||
| # Copyright 2013-2018 Lawrence Livermore National Security, LLC and other | ||||
| # Spack Project Developers. See the top-level COPYRIGHT file for details. | ||||
| # | ||||
| # SPDX-License-Identifier: (Apache-2.0 OR MIT) | ||||
|  | ||||
| from spack import * | ||||
|  | ||||
|  | ||||
| class RRandomfieldsutils(RPackage): | ||||
|     """Various utilities are provided that might be used in spatial statistics | ||||
|        and elsewhere. It delivers a method for solving linear equations that | ||||
|        checks the sparsity of the matrix before any algorithm is used. | ||||
|        Furthermore, it includes the Struve functions.""" | ||||
|  | ||||
|     homepage = "https://cran.r-project.org/web/packages/RandomFieldsUtils" | ||||
|     url = "https://cran.r-project.org/src/contrib/RandomFieldsUtils_0.3.25.tar.gz" | ||||
|     list_url = "https://cran.r-project.org/src/contrib/Archive/RandomFieldsUtils" | ||||
|  | ||||
|     version('0.3.25', '026c15a23296c9726012135891f016d5') | ||||
|  | ||||
|     depends_on('r@3.3:', type=('build', 'run')) | ||||
							
								
								
									
										19
									
								
								var/spack/repos/builtin/packages/r-splancs/package.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								var/spack/repos/builtin/packages/r-splancs/package.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| # Copyright 2013-2018 Lawrence Livermore National Security, LLC and other | ||||
| # Spack Project Developers. See the top-level COPYRIGHT file for details. | ||||
| # | ||||
| # SPDX-License-Identifier: (Apache-2.0 OR MIT) | ||||
|  | ||||
| from spack import * | ||||
|  | ||||
|  | ||||
| class RSplancs(RPackage): | ||||
|     """Spatial and Space-Time Point Pattern Analysis""" | ||||
|  | ||||
|     homepage = "https://cran.r-project.org/web/packages/splancs/index.html" | ||||
|     url      = "https://cran.r-project.org/src/contrib/splancs_2.01-40.tar.gz" | ||||
|     list_url = "https://cran.r-project.org/src/contrib/Archive/splancs" | ||||
|  | ||||
|     version('2.01-40', 'dc08a5c9a1fd2098d78459152f4917ce') | ||||
|  | ||||
|     depends_on('r@2.10:', type=('build', 'run')) | ||||
|     depends_on('r-sp@0.9:', type=('build', 'run')) | ||||
		Reference in New Issue
	
	Block a user