############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD INSTALL Harshlight ### ############################################################################## ############################################################################## * installing to library ‘/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library’ * installing *source* package ‘Harshlight’ ... ** this is package ‘Harshlight’ version ‘1.81.0’ ** using staged installation ** libs using C compiler: ‘Apple clang version 15.0.0 (clang-1500.1.0.2.5)’ using SDK: ‘MacOSX11.3.sdk’ clang -arch arm64 -std=gnu2x -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c Harshlight.c -o Harshlight.o Harshlight.c:564:20: warning: variable 'p_num_points' set but not used [-Wunused-but-set-variable] int num_points, *p_num_points; //number of points inside the median kernel ^ Harshlight.c:789:7: warning: variable 'counter' set but not used [-Wunused-but-set-variable] int counter = 0; //counter ^ Harshlight.c:948:10: warning: variable 'cell_value' set but not used [-Wunused-but-set-variable] double cell_value; ^ Harshlight.c:1316:27: warning: unused variable 'sorted2' [-Wunused-variable] double *sorted; double *sorted2; ^ Harshlight.c:1471:26: warning: invalid conversion specifier ')' [-Wformat-invalid-specifier] PP "%d %d moveto (%.2f%) show\n", x_text_val, y_text - 215, *diff_br); ~^ Harshlight.c:1474:26: warning: invalid conversion specifier ')' [-Wformat-invalid-specifier] PP "%d %d moveto (%.2f%) show\n", x_text_val, y_text - 230, *diff_dr); ~^ Harshlight.c:1504:6: error: conflicting types for 'chip_overall_header' void chip_overall_header(int *chip_number, char **chip_name){ ^ Harshlight.c:93:6: note: previous declaration is here void chip_overall_header(); //general header for a chip ^ Harshlight.c:1532:107: warning: invalid conversion specifier ')' [-Wformat-invalid-specifier] PP "%d %d moveto (Extended defects: the variance of the Error Image explained by the background is %.2f%) show\n", x_text, y_text - 30, *var); ~^ Harshlight.c:1542:26: warning: invalid conversion specifier ')' [-Wformat-invalid-specifier] PP "%d %d moveto (%.2f%) show\n", x_val_1, y_text - 100, *perc_c); ~^ Harshlight.c:1543:26: warning: invalid conversion specifier ')' [-Wformat-invalid-specifier] PP "%d %d moveto (%.2f%) show\n", x_val_2, y_text - 100, *perc_d); ~^ Harshlight.c:1555:107: warning: invalid conversion specifier ')' [-Wformat-invalid-specifier] PP "%d %d moveto (Extended defects: the variance of the Error Image explained by the background is %.2f%) show\n", x_text, y_text - 30, *var); ~^ 10 warnings and 1 error generated. make: *** [Harshlight.o] Error 1 ERROR: compilation failed for package ‘Harshlight’ * removing ‘/Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library/Harshlight’