Closed jayZhu1020 closed 2 years ago
Thanks for the contribution!
Hello @jayZhu1020 and Xuechun Bai, we found some compilation errors in your code. Could you fix it and resubmit your PR?
Here is the error we faced:
Quitting from lines 85-94 (caret_machine_learning_tutorial.Rmd)
Error: Error: package RANN is required
Execution halted
Error in Rscript_render(f, render_args, render_meta, add1, add2) :
Failed to compile caret_machine_learning_tutorial.Rmd
Calls: <Anonymous> -> render_new_session -> Rscript_render
Execution halted
Error: Process completed with exit code 1.
Also, we tried to add RANN package, but it did not work out. Here's the error after adding the RANN package:
Quitting from lines 251-254 (caret_machine_learning_tutorial.Rmd)
Error: Error: `data` and `reference` should be factors with the same levels.
In addition: There were 35 warnings (use warnings() to see them)
Execution halted
Error in Rscript_render(f, render_args, render_meta, add1, add2) :
Failed to compile caret_machine_learning_tutorial.Rmd
Calls: <Anonymous> -> render_new_session -> Rscript_render
Execution halted
Error: Process completed with exit code 1.
Please modify your file so that it can compile successfully!
Thank you, Alex Kita
An CARET package tutorial