jtr13 / cc21fall1

Source files for EDAV Fall 2021 Mon / Wed Community Contribution Project
https://jtr13.github.io/cc21fall1
4 stars 67 forks source link

CC project for Jiang Zhu and Xuechun Bai #41

Closed jayZhu1020 closed 2 years ago

jayZhu1020 commented 2 years ago

An CARET package tutorial

a1exkita commented 2 years ago

Thanks for the contribution!

a1exkita commented 2 years ago

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