Open pviefers opened 8 years ago
Thanks for reporting this! It seems I failed to track a necessary file. I've added it, and the problem should be resolved. Feel free to reopen this issue if it persists.
Thanks for the swift response! I still run into problems during installation, now there seems to be a syntax issue with Pygments:
Downloading GitHub repo vsbuffalo/stanhl@master
Installing stanhl
"C:/.../R/R-32~1.3/bin/x64/R" --no-site-file \
--no-environ --no-save --no-restore CMD INSTALL \
"C:/.../Temp/RtmpY9VHYg/devtoolsd0c4ec97a1c/vsbuffalo-stanhl-b11dd19" \
--library="C:/.../Documents/R/win-library/3.2" \
--install-tests
* installing *source* package 'stanhl' ...
** R
** inst
** preparing package for lazy loading
File "<string>", line 1
'from
^
SyntaxError: EOL while scanning string literal
Warning: Command 'python -c 'from pygments.styles import get_all_styles;print list(get_all_styles())'' exited with status 1
Error in opts$validators[[name]](dots[[name]]) :
'default' is not an available Pygments style.
Error : unable to load R code in package 'stanhl'
ERROR: lazy loading failed for package 'stanhl'
* removing 'C:/.../Documents/R/win-library/3.2/stanhl'
I don't know things about Python, otherwise I would go over the code in an attempt to fix this :). Cheers!
If you run
python -c 'from pygments.styles import get_all_styles;print list(get_all_styles())'
from the shell, what is the result?
Hi Vince, thanks for reopening. I am always a bit behind due to the time difference I guess.
c:\Python35>python -c 'from pygments.styles import get_all_styles;print list(get
_all_styles())
File "<string>", line 1
'from
^
SyntaxError: EOL while scanning string literal
That is what I get. Which pretty much what I got in the R console, too. I am afraid I will not be much of a big help, but what I found is that no matter what I write right behind the first quote (I tried both single and double quotes), it throws the EOL error:
c:\Python35>python -c 'wurstbrot pygments.styles import get_all_styles;print list(get
_all_styles())
File "<string>", line 1
'wurstbrot
^
SyntaxError: EOL while scanning string literal
Oh—you're on a Windows machine? Currently stanhl only supports OS X or Linux, since it calls pygments via command line. If you'd like to incorporate a Windows hack I'll happily merge it in.
Using the command
install_github('vsbuffalo/stanhl')
afterlibrary(devtools)
throws the following error message: