old_contents: # Copyright 2013-2021 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 RRemotes(RPackage):
      """Download and install R packages stored in 'GitHub', 'BitBucket', or
      plain 'subversion' or 'git' repositories. This package provides the
      'install_*' functions in 'devtools'. Indeed most of the code was copied
      over from 'devtools'. """
  
      homepage = "https://github.com/r-lib/remotes#readme"
      url      = "https://cloud.r-project.org/src/contrib/remotes_2.1.0.tar.gz"
      list_url = "https://cloud.r-project.org/src/contrib/Archive/remotes"
  
      version('2.1.1', sha256='4e590746fce618094089372b185e1ea234b3337b23c44c44118e942d0fb5118b')
      version('2.1.0', sha256='8944c8f6fc9f0cd0ca04d6cf1221b716eee08facef9f4b4c4d91d0346d6d68a7')
  
      depends_on('r@3.0.0:', type=('build', 'run'))
  
new_contents: # Copyright 2013-2021 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 RRemotes(RPackage):
      """R Package Installation from Remote Repositories, Including 'GitHub'
  
      Download and install R packages stored in 'GitHub', 'BitBucket', or
      plain 'subversion' or 'git' repositories. This package provides the
      'install_*' functions in 'devtools'. Indeed most of the code was copied
      over from 'devtools'. """
  
      homepage = "https://github.com/r-lib/remotes#readme"
      url      = "https://cloud.r-project.org/src/contrib/remotes_2.1.0.tar.gz"
      list_url = "https://cloud.r-project.org/src/contrib/Archive/remotes"
  
      version('2.2.0', sha256='12f234fd8c46f4ac54e06a3c60e4015ed2193a32762ca4dd6854f120136f33b8')
      version('2.1.1', sha256='4e590746fce618094089372b185e1ea234b3337b23c44c44118e942d0fb5118b')
      version('2.1.0', sha256='8944c8f6fc9f0cd0ca04d6cf1221b716eee08facef9f4b4c4d91d0346d6d68a7')
  
      depends_on('r@3.0.0:', type=('build', 'run'))
      depends_on('subversion', type='run')
      depends_on('git', type='run')
  
subject: add version 2.2.0 to r-remotes (#21016)