Closed kozo2 closed 2 years ago
Object sp
is created in the previous file. Please use bookdown::render_book(".")
to compile all chapters together in one environment to have access to all variables.
Unfortunately I don't think the solution works for
I need to convert Rmd to md instead of html in order to translate rformassspectrometry with the above translation system.
So I'm using rmarkdown::md_document
instead of bookdown::render_book
.
Now I can't think of a plan to solve the above automatically by the program. I will try to solve this problem manually for the time being. I close this issue once.
I'm sorry @lgatto .
I now understand that this is because I didn't render 05-intro.Rmd
(that you pointed).
It does't depend on rmarkdown::md_document
or bookdown::render_book
.
It depends rendered or not.
I didn't understand it, sorry...
I misunderstood that the value of the variable would be reset for each rendering. It didn't know that it actually stays in that R session without being reset. Anyway, I'm able to solve this issue now. I'm sorry for the trouble. 🙏
Not sure if it helps, but bookdown::render_book(".")
concatenates the chapters and creates one large md file. I think if you set delete_merged_file: false
in the yml file, you will have it.
Thank you for the information. I didn't know that. However, I would like to proceed with the translation project with multiple divided files like https://github.com/bioconductor-translations/rformassspectrometry-translation .
By the way, the setting of Crowdin is almost finished. https://bioconductor.crowdin.com/rformassspectrometry
It should be easy to fix this by adding code chunks at the beginning of the failing chapters that load the variables produced in the previous chapters they depend on. Feel free to send a PR if you want.
I am converting the Rmd files in this repo to md to translate this repo to multiple languages using GitHub + Crowdin.
And I the following error:
Can I ask you to assign something to the
sp
for this solution?