Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in publishing a shiny app when load treeshap package #40

Open
HUI950319 opened this issue May 16, 2024 · 0 comments
Open

error in publishing a shiny app when load treeshap package #40

HUI950319 opened this issue May 16, 2024 · 0 comments

Comments

@HUI950319
Copy link

[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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant