ELIC_R-1-foss-2019a-R-3.6.0.eb 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. easyblock = 'Bundle'
  2. name = 'ELIC_R'
  3. version = '1'
  4. versionsuffix = '-R-%(rver)s'
  5. homepage = 'https://gogs.elic.ucl.ac.be'
  6. description = """This repo provides additional Python and R extensions for ELIC ecosystem."""
  7. toolchain = {'name': 'foss', 'version': '2019a'}
  8. dependencies = [
  9. ('R', '3.6.0'),
  10. ('GEOS', '3.7.2', '-Python-3.7.2'),
  11. ('GDAL', '3.0.0', '-Python-3.7.2'),
  12. ('PostgreSQL', '11.3', '-Python-3.7.2'),
  13. ]
  14. exts_default_options = {
  15. 'source_urls': [
  16. 'https://cran.r-project.org/src/contrib/Archive/%(name)s', # package archive
  17. 'https://cran.r-project.org/src/contrib/', # current version of packages
  18. 'https://cran.freestatistics.org/src/contrib', # mirror alternative for current packages
  19. ],
  20. 'source_tmpl': '%(name)s_%(version)s.tar.gz'
  21. }
  22. exts_defaultclass = 'RPackage'
  23. exts_filter = ("R -q --no-save", "library(%(ext_name)s)")
  24. # CRAN packages on which these Bioconductor packages depend are available in R module on which this depends
  25. # !! order of packages is important !!
  26. # packages updated on Oct 9th 2019
  27. exts_list = [
  28. ('rgdal', '1.4-4'),
  29. ('gdalUtils', '2.0.1.14'),
  30. ('ncdf4', '1.16.1'),
  31. ('gdtools', '0.1.9'),
  32. ('leaflet', '2.0.2'),
  33. ('satellite', '1.0.1'),
  34. ('sf', '0.7-7'),
  35. ('svglite', '1.2.2'),
  36. ('leafem', '0.0.1'),
  37. ('leafpop', '0.0.1'),
  38. ('mapview', '2.7.0'),
  39. ('MuMIn', '1.43.6'),
  40. ('intervals', '0.15.1'),
  41. ('spacetime', '1.2-2'),
  42. ('gstat', '2.0-3'),
  43. ('RNetCDF', '1.9-1'),
  44. ('automap', '1.0-14'),
  45. ('clhs', '0.7-2'),
  46. ('rasterVis', '0.45'),
  47. ('reporttools', '1.1.2'),
  48. ('rgeos', '0.4-3'),
  49. ('RandomFieldsUtils', '0.5.3'),
  50. ('RandomFields', '3.3.6'),
  51. ('rworldmap', '1.3-6'),
  52. ('rworldxtra', '1.01'),
  53. ('colorRamps', '2.3'),
  54. ('mapdata', '2.3.0'),
  55. ('mapproj', '1.2.6'),
  56. ('RPostgreSQL', '0.6-2'),
  57. ('getPass', '0.2-2'),
  58. ('stringdist', '0.9.5.2'),
  59. ('here', '0.1'),
  60. ('svMisc', '1.1.0'),
  61. ('networkD3', '0.4'),
  62. ('cmsaf', '1.9.5'),
  63. ('treemap', '2.4-2'),
  64. ('RPostgres', '1.1.1'),
  65. ('nzelect', '0.4.0'),
  66. ('wordcloud', '2.6'),
  67. ('ngram', '3.0.4'),
  68. ('rtweet', '0.6.9'),
  69. ('lettercase', '0.13.1'),
  70. ('xgboost', '0.90.0.2'),
  71. ('rts', '1.0-49'),
  72. ('RgoogleMaps', '1.4.4'),
  73. ('ggmap', '3.0.0'),
  74. ('packrat','0.5.0'),
  75. ('rsconnect', '0.8.13'),
  76. ('rpostgis', '1.4.2'),
  77. ('aws.signature', '0.5.2'),
  78. ('aws.s3', '0.3.21'),
  79. ('geosphere', '1.5-10'),
  80. ('fuzzyjoin', '0.1.4'),
  81. ('refinr', '0.3.1'),
  82. ('x13binary', '1.1.39-2'),
  83. ('seasonal', '1.7.0'),
  84. ('mitools', '2.4'),
  85. ('survey', '3.36'),
  86. ('hts','5.1.5'),
  87. ('thief', '0.3'),
  88. ('forecastHybrid', '4.2.17'),
  89. ('ggseas', '0.5.4'),
  90. ('sysfonts', '0.8'),
  91. ('showtextdb', '2.0'),
  92. ('showtext', '0.7'),
  93. ('BiocManager', '1.30.4'),
  94. ('rvcheck', '0.1.5'),
  95. ('scatterpie', '0.1.3'),
  96. ('velox', '0.2.0'),
  97. ('rlist', '0.4.6.1'),
  98. ('measurements', '1.4.0'),
  99. ('shinyFiles', '0.7.3'),
  100. ('shinyjs', '1.0'),
  101. ('colourpicker', '1.0'),
  102. ('qpdf', '1.1'),
  103. ('fda', '2.4.8'),
  104. ('fda.usc', '1.5.0'),
  105. # MAJ
  106. ('backports', '1.1.5'),
  107. ('deldir', '0.1-23'),
  108. ('digest', '0.6.21'),
  109. ('ellipsis', '0.3.0'),
  110. ('ggplot2', '3.2.1'),
  111. ('gstat', '2.0-3'),
  112. ('pillar', '1.4.2'),
  113. ('pkgconfig', '2.0.3'),
  114. ('Rcpp', '1.0.2'),
  115. ('rlang', '0.4.0'),
  116. ('spatstat', '1.61-0'),
  117. ('vctrs', '0.2.0'),
  118. ('zoo', '1.8-6'),
  119. # TO TEST
  120. ('countrycode', '1.1.0'),
  121. ('itcSegment', '0.8'),
  122. ('owmr', '0.8.1'),
  123. ('rwunderground', '0.1.8'),
  124. ('corrplot', '0.84'),
  125. ('prettymapr', '0.2.2'),
  126. ('prospectr', '0.1.3'),
  127. ('rosm', '0.2.5'),
  128. ('rpart.plot', '3.0.8'),
  129. ('varhandle', '2.0.4'),
  130. ('expint', '0.1-6'),
  131. ('actuar', '2.3-3'),
  132. ('nortest', '1.0-4'),
  133. ('fasterize', '1.0.0'),
  134. ('spdep', '1.1-3'),
  135. ('yaImpute', '1.0-31'),
  136. ('SpatialPack', '0.3-8'),
  137. ('EnvStats', '2.3.1'),
  138. ('spatialEco', '1.2-1'),
  139. ('snakecase', '0.11.0'),
  140. # NA
  141. #('spptest', NA
  142. #('package_vector', NA
  143. #('countriesHigh', NA
  144. #('pdftools', '2.2'), deb: libpoppler-cpp-dev OR rpm: poppler-cpp-devel
  145. #('ggExtra', NA
  146. ]
  147. modextrapaths = {'R_LIBS': ''}
  148. postinstallcmds = [
  149. "cd %(installdir)s && " +
  150. 'Rscript -e "install.packages(\'remotes\', repos=\'https://www.freestatistics.org/cran/\', lib=\'%(installdir)s\')"; Rscript -e "library(remotes); install_github(\'myllym/GET\', lib=\'%(installdir)s\')"'
  151. ]
  152. sanity_check_paths = {
  153. 'files': [],
  154. 'dirs': ['ncdf4', 'sf', 'mapview'],
  155. }
  156. moduleclass = 'numlib'