Open monicazhu opened 1 year ago
I'm not sure what exactly is going on here either. The only thing I noticed is that you typed renv::restor() instead of renv::restore(). Could you try that and see if it fixes the issue?
Sure. Here is the updates:
I tried renv::restore() again. Here is still an error. -------------------------- [ERROR MESSAGE] --------------------------- tools/version.c:1:10: fatal error: 'openssl/opensslv.h' file not found
^~~~~~~~~~~~~~~~~~~~
ERROR: configuration failed for package ‘openssl’
Here is the error when I tried to make
the report.
(base) yijingzhudeMacBook-Pro:Karl_grading monica$ make Rscript code/01_data_cleaning.R ℹ Using R 4.1.2 (lockfile was generated with R 4.2.1) Error in loadNamespace(x) : there is no package called ‘here’ Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted make: *** [output/data_clean.rds] Error 1
Here is the error when I tried to
make install
:... Installing openssl [2.0.3] ... FAILED Error installing package 'openssl':
include <openssl/opensslv.h>
^
~~~~~~~ 1 error generated.ERROR: configuration failed for package ‘openssl’
Here are the errors when I tried to synchronize my package repository
Here are the errors when I tried to make the report:
(base) yijingzhudeMacBook-Pro:Karl_grading monica$ make Rscript code/01_data_cleaning.R ℹ Using R 4.1.2 (lockfile was generated with R 4.2.1) Error in loadNamespace(x) : there is no package called ‘here’ Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted make: *** [output/data_clean.rds] Error 1
(base) yijingzhudeMacBook-Pro:Karl_grading monica$ make report Rscript code/01_data_cleaning.R ℹ Using R 4.1.2 (lockfile was generated with R 4.2.1) Error in loadNamespace(x) : there is no package called ‘here’ Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted make: *** [output/data_clean.rds] Error 1
(base) yijingzhudeMacBook-Pro:Karl_grading monica$ make output/data_clean.rds Rscript code/01_data_cleaning.R ℹ Using R 4.1.2 (lockfile was generated with R 4.2.1) Error in loadNamespace(x) : there is no package called ‘here’ Calls: loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted make: *** [output/data_clean.rds] Error 1
I am really confused. Please let me know if there is any problem. Thank you.