ELIC_R-1-foss-2020b-R-4.0.3.eb 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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': '2019b'}
  8. dependencies = [
  9. ('R', '3.6.2'),
  10. ('GDAL', '3.0.2', '-Python-3.7.4'),
  11. ('PostgreSQL', '12.2', '-Python-3.7.4'),
  12. ]
  13. exts_default_options = {
  14. 'source_urls': [
  15. 'https://cran.r-project.org/src/contrib/Archive/%(name)s', # package archive
  16. 'https://cran.r-project.org/src/contrib/', # current version of packages
  17. 'https://cran.freestatistics.org/src/contrib', # mirror alternative for current packages
  18. ],
  19. 'source_tmpl': '%(name)s_%(version)s.tar.gz'
  20. }
  21. exts_defaultclass = 'RPackage'
  22. exts_filter = ("R -q --no-save", "library(%(ext_name)s)")
  23. # CRAN packages on which these Bioconductor packages depend are available in R module on which this depends
  24. # !! order of packages is important !!
  25. # packages updated on Oct 9th 2019
  26. exts_list = [
  27. ('rgdal', '1.4-4'),
  28. ('gdalUtils', '2.0.1.14'),
  29. ('ncdf4', '1.16.1'),
  30. ('gdtools', '0.1.9'),
  31. ('leaflet', '2.0.2'),
  32. ('satellite', '1.0.1'),
  33. ('sf', '0.7-7'),
  34. ('svglite', '1.2.2'),
  35. ('leafem', '0.0.1'),
  36. ('leafpop', '0.0.1'),
  37. ('mapview', '2.7.0'),
  38. ('MuMIn', '1.43.6'),
  39. ('intervals', '0.15.1'),
  40. ('spacetime', '1.2-2'),
  41. ('gstat', '2.0-3'),
  42. ('RNetCDF', '1.9-1'),
  43. ('automap', '1.0-14'),
  44. ('clhs', '0.7-3'),
  45. ('reporttools', '1.1.2'),
  46. ('rgeos', '0.4-3'),
  47. ('RandomFieldsUtils', '0.5.3'),
  48. ('RandomFields', '3.3.6'),
  49. ('rworldmap', '1.3-6'),
  50. ('rworldxtra', '1.01'),
  51. ('colorRamps', '2.3'),
  52. ('mapdata', '2.3.0'),
  53. ('mapproj', '1.2.6'),
  54. ('RPostgreSQL', '0.6-2'),
  55. ('getPass', '0.2-2'),
  56. ('stringdist', '0.9.5.2'),
  57. ('here', '0.1'),
  58. ('svMisc', '1.1.0'),
  59. ('networkD3', '0.4'),
  60. ('cmsaf', '1.9.5'),
  61. ('RPostgres', '1.1.1'),
  62. ('nzelect', '0.4.0'),
  63. ('wordcloud', '2.6'),
  64. ('ngram', '3.0.4'),
  65. ('rtweet', '0.6.9'),
  66. ('lettercase', '0.13.1'),
  67. ('xgboost', '0.90.0.2'),
  68. ('rts', '1.0-49'),
  69. ('RgoogleMaps', '1.4.4'),
  70. ('packrat','0.5.0'),
  71. ('rsconnect', '0.8.13'),
  72. ('rpostgis', '1.4.2'),
  73. ('aws.signature', '0.5.2'),
  74. ('aws.s3', '0.3.12'),
  75. ('geosphere', '1.5-10'),
  76. ('fuzzyjoin', '0.1.5'),
  77. ('refinr', '0.3.1'),
  78. ('x13binary', '1.1.39-2'),
  79. ('seasonal', '1.7.0'),
  80. ('mitools', '2.4'),
  81. ('survey', '3.36'),
  82. ('sysfonts', '0.8'),
  83. ('showtextdb', '2.0'),
  84. ('showtext', '0.7'),
  85. ('BiocManager', '1.30.4'),
  86. ('rvcheck', '0.1.5'),
  87. ('scatterpie', '0.1.4'),
  88. ('velox', '0.2.0'),
  89. ('rlist', '0.4.6.1'),
  90. ('measurements', '1.4.0'),
  91. ('qpdf', '1.1'),
  92. ('fda', '2.4.8'),
  93. ('fda.usc', '1.5.0'),
  94. ('gstat', '2.0-3'),
  95. ('countrycode', '1.1.0'),
  96. ('itcSegment', '0.8'),
  97. ('owmr', '0.8.1'),
  98. ('rwunderground', '0.1.8'),
  99. ('corrplot', '0.84'),
  100. ('prettymapr', '0.2.2'),
  101. ('prospectr', '0.1.3'),
  102. ('rosm', '0.2.5'),
  103. ('rpart.plot', '3.0.8'),
  104. ('varhandle', '2.0.4'),
  105. ('expint', '0.1-6'),
  106. ('actuar', '2.3-3'),
  107. # NA
  108. #('spptest', NA
  109. #('package_vector', NA
  110. #('countriesHigh', NA
  111. #('pdftools', '2.2'), deb: libpoppler-cpp-dev OR rpm: poppler-cpp-devel
  112. #('ggExtra', NA
  113. ]
  114. modextrapaths = {'R_LIBS': ''}
  115. postinstallcmds = [
  116. "cd %(installdir)s && " +
  117. 'Rscript -e "install.packages(c(\'treemap\', \'ggmap\', \'hts\', \'thief\', \'forecastHybrid\', \'ggseas\', \'colourpicker\', \'bsplus\', \'profvis\'), repos=\'https://www.freestatistics.org/cran/\', lib=\'%(installdir)s\')" && ' +
  118. 'Rscript -e "library(remotes); install_github(\'myllym/GET\', lib=\'%(installdir)s\')" && ' +
  119. 'Rscript -e "install.packages(c(\'shinyFiles\', \'shinyjs\', \'shinyhelper\', \'shinycssloaders\', \'shinyWidgets\', \'shinyBS\'), repos=\'http://cran.rstudio.com/\', lib=\'%(installdir)s\')" && ' +
  120. 'Rscript -e "install.packages(c(\'jsonlite\', \'readxl\', \'tidyverse\', \'data.table\', \'lubridate\', \'stringdist\', \'stringi\', \'aws.s3\', \'snakecase\', \'fuzzyjoin\', \'Matrix\', \'RSelenium\'), repos=\'https://www.freestatistics.org/cran/\', lib=\'%(installdir)s\')"'
  121. ]
  122. sanity_check_paths = {
  123. 'files': [],
  124. 'dirs': ['RPostgreSQL'],
  125. }
  126. moduleclass = 'numlib'