sachsmc / tufterhandout

Output formats for Tufte-style handouts in pdf and html for Rmarkdown
sachsmc.github.io/tufterhandout
Other
117 stars 17 forks source link

Error trying to replicate vignettes/example.Rmd #16

Closed jbkunst closed 9 years ago

jbkunst commented 9 years ago

Hi,

Nice package! I can't replicate te example.Rmd. I got the next error:

Error in path[i] <- utils::shortPathName(tufte_css[i]) : 
  object 'path' not found
Calls: <Anonymous> -> create_output_format -> do.call -> <Anonymous>
Execution halted

Any suggestion to fix the problem?

> sessionInfo()
R version 3.2.0 (2015-04-16)
Platform: i386-w64-mingw32/i386 (32-bit)
Running under: Windows 7 (build 7601) Service Pack 1

locale:
[1] LC_COLLATE=Spanish_Chile.1252  LC_CTYPE=Spanish_Chile.1252    LC_MONETARY=Spanish_Chile.1252
[4] LC_NUMERIC=C                   LC_TIME=Spanish_Chile.1252    

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

loaded via a namespace (and not attached):
[1] htmltools_0.2.6     tools_3.2.0         yaml_2.1.13         rmarkdown_0.7       knitr_1.10.5       
[6] digest_0.6.8        tufterhandout_1.2.1
sachsmc commented 9 years ago

Hello, thanks for filing the issue.

It looked like it was just a stupid bug in my code. Can you try installing the winfix branch and see if you still get that error?

devtools::install_github("sachsmc/tufterhandout@winfix")
jbkunst commented 9 years ago

Yep, It works now! Thank you very much Michael.