Thank you for your contribution.
I have a problem when I installed the package.Please check it.Thank you very much!
When I used this command:
devtools::install_github("xia-lab/OptiLCMS", build = TRUE, build_vignettes = FALSE, build_manual =TRUE)
R have a error:
`xcms_binners.c: In function '_breaks_on_binSize':
xcms_binners.c:361:7: warning: unused variable 'idx' [-Wunused-variable]
int idx = 0;
^~~
"D:/Program Files/rtools40/mingw64/bin/"gcc -I"D:/PROGRA~1/R/R-41~1.2/include" -DNDEBUG -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c init.c -o init.o
D:/Program Files/rtools40/mingw64/bin/g++ -std=gnu++11 -shared -s -static-libgcc -o OptiLCMS.dll tmp.def massifquant/xcms_massifquant.o massifquant/TrMgr.o massifquant/Tracker.o massifquant/SegProc.o massifquant/DataKeeper.o massifquant/OpOverload.o obiwarp/mat.o obiwarp/vec.o obiwarp/xcms_dynprog.o obiwarp/xcms_lmat.o xcms_obiwarp.o mzROI.o util.o xcms_binners.o init.o -lgfortran -lm -lquadmath -LD:/PROGRA~1/R/R-41~1.2/bin/x64 -lR
installing to C:/Users/31219/Documents/Library/R/00LOCK-OptiLCMS/00new/OptiLCMS/libs/x64
** R
Warning: unable to re-encode 'Optimize_params.R' line 1920
Warning in readLines(f, warn = FALSE) :
invalid input found on input connection 'C:/Users/31219/AppData/Local/Temp/RtmpWElmu8/R.INSTALL7e006eac6895/OptiLCMS/R/Spectra_Utils.R'
Error in parse(outFile) :
C:/Users/31219/AppData/Local/Temp/RtmpWElmu8/R.INSTALL7e006eac6895/OptiLCMS/R/Spectra_visulization.R:1703:0: unexpected end of input
1701:
1702:
^
ERROR: unable to collate and parse R files for package 'OptiLCMS'
Dear Zhiqiang, @Zhiqiang-PANG
Thank you for your contribution. I have a problem when I installed the package.Please check it.Thank you very much! When I used this command:
devtools::install_github("xia-lab/OptiLCMS", build = TRUE, build_vignettes = FALSE, build_manual =TRUE)
R have a error:
`xcms_binners.c: In function '_breaks_on_binSize': xcms_binners.c:361:7: warning: unused variable 'idx' [-Wunused-variable] int idx = 0; ^~~ "D:/Program Files/rtools40/mingw64/bin/"gcc -I"D:/PROGRA~1/R/R-41~1.2/include" -DNDEBUG -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c init.c -o init.o D:/Program Files/rtools40/mingw64/bin/g++ -std=gnu++11 -shared -s -static-libgcc -o OptiLCMS.dll tmp.def massifquant/xcms_massifquant.o massifquant/TrMgr.o massifquant/Tracker.o massifquant/SegProc.o massifquant/DataKeeper.o massifquant/OpOverload.o obiwarp/mat.o obiwarp/vec.o obiwarp/xcms_dynprog.o obiwarp/xcms_lmat.o xcms_obiwarp.o mzROI.o util.o xcms_binners.o init.o -lgfortran -lm -lquadmath -LD:/PROGRA~1/R/R-41~1.2/bin/x64 -lR installing to C:/Users/31219/Documents/Library/R/00LOCK-OptiLCMS/00new/OptiLCMS/libs/x64 ** R Warning: unable to re-encode 'Optimize_params.R' line 1920 Warning in readLines(f, warn = FALSE) : invalid input found on input connection 'C:/Users/31219/AppData/Local/Temp/RtmpWElmu8/R.INSTALL7e006eac6895/OptiLCMS/R/Spectra_Utils.R' Error in parse(outFile) : C:/Users/31219/AppData/Local/Temp/RtmpWElmu8/R.INSTALL7e006eac6895/OptiLCMS/R/Spectra_visulization.R:1703:0: unexpected end of input 1701: 1702: ^ ERROR: unable to collate and parse R files for package 'OptiLCMS'
`
Best!