nealrichardson / httptest

A Test Environment for HTTP Requests in R
https://enpiar.com/r/httptest/
Other
79 stars 10 forks source link

404 in pkgdown website #39

Closed maelle closed 3 years ago

maelle commented 3 years ago

https://enpiar.com/r/httptest/reference/with_mock_api.html

maelle commented 3 years ago

(sorry for the succinct issue, I want to keep reading :-D )

nealrichardson commented 3 years ago

Thanks. Apparently this is what you get for building the website on a case-insensitive file system. See https://enpiar.com/r/httptest/reference/with_mock_API.html. Will get the URL fixed in the next release.

maelle commented 3 years ago

I wonder whether that's also something that should be tweaked in roxygen2/pkgdown?

nealrichardson commented 3 years ago

I don't think they can; the problem is outside R. The issue was that the function was originally with_mock_API but then I standardized the naming conventions to follow httr and renamed the function to all lower. So when I updated the pkgdown site, my macOS file system didn't recognize the difference in file names between API and api so git wasn't able to register the change.

nealrichardson commented 3 years ago

This should be fixed now. Thanks for reporting!