Class: RMetadataHook

Inherits:
Mumukit::Hook
  • Object
show all
Defined in:
lib/metadata_hook.rb

Instance Method Summary collapse

Instance Method Details

#metadataObject



2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'lib/metadata_hook.rb', line 2

def 
  {language: {
      name: 'r',
      icon: {type: 'devicon', name: 'r'},
      version: '3.6.1',
      extension: 'R',
      ace_mode: 'R'
  },
   test_framework: {
       name: 'testthat',
       version: '2.3.1', # FIXME fix version using devtools
       test_extension: '.R',
       template: <<R
test_that("{{ test_template_sample_description }}", {
expect_true( TRUE )
})
R
   }}
end