REditorSupport / atom-language-r

R syntax for Atom
https://atom.io/packages/atom-language-r
Other
31 stars 11 forks source link

Possible problem with compile #29

Open tgrrr opened 4 years ago

tgrrr commented 4 years ago

In the file language-r.cson Version 1.4.8, I keep getting an error message upon install:

Error message: Failed to load snippets from '/Users/tgrrr/.atom/packages/language-r/snippets/language-r.cson'

/Users/tgrrr/.atom/packages/language-r/snippets/language-r.cson: Duplicate key 'Cummulative max'

# language-r.cson:
  'Cummulative max':
    'prefix': 'cumi'
    'body': 'cummax(${1:x})'
  'Cummulative max':
    'prefix': 'cuma'
    'body': 'cummin(${1:x})'

/Users/phil/.atom/packages/language-r/snippets/language-r.cson: Duplicate key 'Grep'

'Grep':
    'prefix': 'grep'
    'body': 'grep(${1:pattern}, ${2:x}, ${3:ignore.case = ${4:FALSE}}, ${5:perl = ${6:FALSE}})'
  'Grep':
    'prefix': 'grep'
    'body': 'grep(${1:pattern}, ${2:x}, ${3:ignore.case = ${4:FALSE}}, ${5:perl = ${6:FALSE}}, ${7:value = ${8:FALSE}}, ${9:fixed = ${10:TRUE}})'

The code is right on github, but not when I install the package in atom (both with the UI, and apm install). Is it possible that there's an error in compile?