Closed CerebralMastication closed 1 year ago
It seems indeed that
Error in parser(f) : could not find function "parser"
And we could fail more gracefully in the (unexpected) case where parser()
is not a function.
Regarding why you have this error, I'll look closer.
@CerebralMastication Should be fixed now. Thanks for the report! You can install the development version via
remotes::install_github('rstudio/blogdown')
@cderv Yes, in theory, switch()
here should fall back to an (informative) error, but this case should never happen. It happened because of a regex problem in module_paths()
, which I just fixed.
Thanks for looking into this !
Yes, in theory, switch() here should fall back to an (informative) error, but this case should never happen. It happened because of a regex problem in module_paths(), which I just fixed.
Yeah I know, it should never happen, but when it happens like here, having a useful error or debug log would have made finding the issue straighforward. I agree though that this is internal and not user facing and should not happen !
Thank you !
it looks like
blowdown
does not fail gracefully if it fails to find the config file. It's very difficult to track back what's happening but I took a shot at it here:https://community.rstudio.com/t/blogdown-new-post-addin-returning-error-in-parser-f-could-not-find-function-parser/154427
I still am unsure why my instance is having trouble finding the config file, however. But based on discussion in the thread above I figure this should get at least more helpful error trapping.
Thank you all for maintaining and continuing
blowdown