shijbian / INFO550CourseRepo

0 stars 1 forks source link

Peer Grader #1

Open NelshaAth opened 2 years ago

NelshaAth commented 2 years ago

Hi! I was able to pull up your script (looks great!) and Readme in the terminal but wasn't able to run the script successfully because I received errors when running the package installation code chunk in the Readme. I manually installed libxml2-dev and libcurl4-openssl-dev which were anticonf errors before running it again and these were the remaining messages:

Warning messages: 1: In install.packages(p) : installation of package ‘readxl’ had non-zero exit status 2: In install.packages(p) : installation of package ‘tidyverse’ had non-zero exit status 3: In install.packages(p) : installation of package ‘RNifti’ had non-zero exit status 4: In install.packages(p) : installation of package ‘oro.nifti’ had non-zero exit status 5: In install.packages(p) : installation of package ‘oro.dicom’ had non-zero exit status

shijbian commented 2 years ago

Hello,

Could you first update your R and R Studio to the latest version?

shijbian commented 2 years ago

I might not be able to come to our class tomorrow, because I have a conference that I need to go and present. If you want, we can meet on Zoom tomorrow to debug this. I do not see any errors running this script from my end.

NelshaAth commented 2 years ago

I am running this entirely from the terminal, not in R or R studio. The warnings are very likely to be from my terminal not being set up properly so you're probably getting full points. I talked to David about grading last class and their only criteria for grading seems to be that it was uploaded fine which yours was. I can check with him or Sohail tomorrow.

shijbian commented 2 years ago

Hello,

I do not have problem running it from terminal as well.

If you want, I can meet you tomorrow evening on zoom to help you to debug.

Shijia

On Wed, Oct 13, 2021 at 1:31 PM Nelsha Athauda @.***> wrote:

I am running this entirely from the terminal, not in R or R studio. The warnings are very likely to be from my terminal not being set up properly so you're probably getting full points. I talked to David about grading last class and their only criteria for grading seems to be that it was uploaded fine which yours was. I can check with him or Sohail tomorrow.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/shijbian/INFO550CourseRepo/issues/1#issuecomment-942553578, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRBTX7FMWEFI7QJMZGGFZLUGW67PANCNFSM5F5RPWIA .

-- Shijia Bian

Tel: 206.601.5312 | Email: @.*** My LinkedIn Page http://www.linkedin.com/in/shijiabian

shijbian commented 2 years ago

Hello Nelsha,

I think one way to fix this is:

  1. Open the rmd file from RStudio
  2. Knit the file from RStudio
  3. Once everything looks good, use RScript command to run from terminal

I encountered similar error while RScript on terminal while doing the peer review, I did this step on my end, it looks great.