Skip to content

Commit

Permalink
chore: added spelling mkdir command
Browse files Browse the repository at this point in the history
Ref: #194
  • Loading branch information
GeraldineGomez committed Aug 14, 2024
1 parent dce0e20 commit 318b3db
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,15 @@ jobs:
brew install hunspell
curl -L -o "es-ES.aff" https://cgit.freedesktop.org/libreoffice/dictionaries/tree/es/es_ES.aff
curl -L -o "es-ES.dic" https://cgit.freedesktop.org/libreoffice/dictionaries/tree/es/es_ES.dic
mkdir -p ~/Library/Spelling
mv es-ES.aff es-ES.dic ~/Library/Spelling/
elif [[ $RUNNER_OS == 'Windows' ]]; then
choco install hunspell.portable
curl -L -o "es-ES.aff" https://cgit.freedesktop.org/libreoffice/dictionaries/tree/es/es_ES.aff
curl -L -o "es-ES.dic" https://cgit.freedesktop.org/libreoffice/dictionaries/tree/es/es_ES.dic
mv es-ES.aff "%LOCALAPPDATA%/hunspell/dictionaries"
mv es-ES.dic "%LOCALAPPDATA%/hunspell/dictionaries"
mkdir -p "$env:LOCALAPPDATA/hunspell/dictionaries"
mv es-ES.aff "$env:LOCALAPPDATA/hunspell/dictionaries"
mv es-ES.dic "$env:LOCALAPPDATA/hunspell/dictionaries"
fi
shell: bash
- uses: r-lib/actions/check-r-package@v2
Expand Down

0 comments on commit 318b3db

Please sign in to comment.