edwindj / whisker

{{mustache}} for R
https://mustache.github.io
213 stars 19 forks source link

Something funky is going on between devtools and whisker. My devtools will not work #8

Closed FarrelBuch closed 10 years ago

FarrelBuch commented 10 years ago

Dear @edwindj I posted a question on the devtools github when I ran into a problem there and @wch pointed out that there was something funny going on with the whisker package and the devtools package. My original question is posted on Stackoverflow. Do you have any insights to share?

edwindj commented 10 years ago

Dear @FarrelBuch,

I cannot reproduce your whisker problem (not on W7 nor on Ubuntu 12.10), so I'm in the dark right now, but I will try to find out this week. Keep me posted on your progress...

Best,

Edwin

FarrelBuch commented 10 years ago

@edwindj

I think I fixed it.

> library(whisker)
Error in namespaceExport(ns, exports) : 
  undefined exports: iteratelist, rowSplit, whisker.escape, whisker.render
Error: package or namespace load failed for ‘whisker’

That led me to believe, (stimulated by the suggestion of Dwin on my stackoverflow question, that I may be able to solve the problem of devtools by deleting the whisker folders I had on my harddrive and then reinstalling. Voilà! It worked. I can now load devtools and whisker. It is odd. I would have thought that my packages would have been reinstalled when I uninstalled R and reinstalled it (one of the desperate steps I took when I was trying to troubleshoot). Evidently ~My Documents\R\win-library\3.0\whisker survived the uninstallation.

edwindj commented 10 years ago

Thanks for the feedback and happy coding!