treeshap icon indicating copy to clipboard operation
treeshap copied to clipboard

error in publishing a shiny app when load treeshap package

Open HUI950319 opened this issue 1 year ago • 0 comments

[2024-05-16T03:21:53.790424017+0000] Building R package: treeshap (0.3.1.9000) /mnt/packages/build /mnt g++ -std=gnu++17 -I"/opt/R/4.3.1/lib/R/include" -DNDEBUG -I'/usr/lib/R/Rcpp/include' -I/usr/local/include -fpic -g -O2 -c predict.cpp -o predict.o g++ -std=gnu++17 -I"/opt/R/4.3.1/lib/R/include" -DNDEBUG -I'/usr/lib/R/Rcpp/include' -I/usr/local/include -fpic -g -O2 -c set_reference_dataset.cpp -o set_reference_dataset.o g++ -std=gnu++17 -shared -L/opt/R/4.3.1/lib/R/lib -L/usr/local/lib -o treeshap.so RcppExports.o predict.o set_reference_dataset.o treeshap.o -L/opt/R/4.3.1/lib/R/lib -lR Warning in untar2(tarfile, files, list, exdir, restore_times) : skipping pax global extended headers

  • installing to library ‘/usr/lib/R’
  • installing source package ‘treeshap’ ... ** using staged installation ** libs using C++ compiler: ‘g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0’ RcppExports.o: file not recognized: file format not recognized collect2: error: ld returned 1 exit status make: *** [/opt/R/4.3.1/lib/R/share/make/shlib.mk:10: treeshap.so] Error 1 ERROR: compilation failed for package ‘treeshap’
  • removing ‘/usr/lib/R/treeshap’## End Task Log ################################################################ error Unhandled Exception: child_task=1416783889 child_task_status=failed: Error building image: Error building treeshap (0.3.1.9000). Build exited with non-zero status: 1 stop

HUI950319 avatar May 16 '24 03:05 HUI950319