Hi Im running at the following issue constantly wile producing a post with a html plot made via plotly
Even if I have a simple Rmarkdown file with just 1 plotly html plt attached via knitr::include_graphics(file.path("figs", "test.html"))
Error:
wp_post(path_post, wordpress_url)
Error: Result 1 must be a single string, not NULL of length 0
Run rlang::last_error() to see where the error occurred.
rlang::last_error()
<error/purrr_error_bad_element_vector>
Result 1 must be a single string, not NULL of length 0
Backtrace:
- goodpress::wp_post(path_post, wordpress_url)
- purrr:::stop_bad_element_vector(...)
- purrr:::stop_bad_vector(...)
- purrr:::stop_bad_type(...)
Run rlang::last_trace() to see the full context.
rlang::last_trace()
<error/purrr_error_bad_element_vector>
Result 1 must be a single string, not NULL of length 0
Backtrace:
x
- +-goodpress::wp_post(path_post, wordpress_url)
- | -goodpress:::.wp_media_post(...)
- | -purrr::map_chr(...)
- -purrr:::stop_bad_element_vector(...)
- -purrr:::stop_bad_vector(...)
-
\-purrr:::stop_bad_type(...)
Hi Im running at the following issue constantly wile producing a post with a html plot made via plotly
Even if I have a simple Rmarkdown file with just 1 plotly html plt attached via knitr::include_graphics(file.path("figs", "test.html"))
Error:
Run
rlang::last_trace()to see the full context.