r-lib / hugodown

Make websites with hugo and RMarkdown
https://hugodown.r-lib.org
Other
166 stars 24 forks source link

is it worth exporting hugo_locate? #68

Closed djnavarro closed 4 years ago

djnavarro commented 4 years ago

I wonder if it would be worth exporting hugo_locate()? It's a handy function to use if you're writing a wrapper function that creates sites using a different Hugo theme. At the moment I'm accessing it via ::: in the slumdown package, but it would be nice to avoid the inevitable warning message on R CMD check:

https://github.com/djnavarro/slumdown/blob/master/R/install_hugodown.R#L16

Alternative options I'm considering:

hadley commented 4 years ago

Yeah, it should definitely be exported.