Nanostring-Biostats / InSituType

An R package for performing cell typing in SMI and other single cell data
Other
29 stars 11 forks source link

Compilation issues with v2.0 #213

Closed mass-a closed 3 months ago

mass-a commented 3 months ago

Hello InSituType people,

I am experiencing compiler problems during the installation of the latest version:

remotes::install_github("https://github.com/Nanostring-Biostats/InSituType")
Downloading GitHub repo Nanostring-Biostats/InSituType@HEAD
── R CMD build ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────
✔  checking for file ‘/private/var/folders/0n/dc8h0wcd11v7xmbm4vkp_0040000gn/T/RtmpOKRU7t/remotesb24f39895e79/Nanostring-Biostats-InSituType-bad5181/DESCRIPTION’ ...
─  preparing ‘InSituType’:
.....

* installing *source* package ‘InSituType’ ...
** using staged installation
** libs
using C++ compiler: ‘Apple clang version 15.0.0 (clang-1500.3.9.4)’
using C++11
using SDK: ‘MacOSX14.4.sdk’
clang++ -arch x86_64 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG   -I/opt/R/x86_64/include    -DARMA_64BIT_WORD=1 -fPIC  -falign-functions=64 -Wall -g -O2  -c RcppExports.cpp -o RcppExports.o
RcppExports.cpp:4:10: fatal error: 'RcppArmadillo.h' file not found
#include <RcppArmadillo.h>
         ^~~~~~~~~~~~~~~~~
1 error generated.
make: *** [RcppExports.o] Error 1

Note that RcppArmadillo is installed and loaded.

Also note that installation of the previous version (commit from May 2024) installs without issues:

remotes::install_github("https://github.com/Nanostring-Biostats/InSituType", ref="e06422f")
** testing if installed package keeps a record of temporary installation path
* DONE (InSituType)

What can be the issue with the latest release?

Thank you, -massimo

github-actions[bot] commented 3 months ago

Thank you for contacting us about our tools! To receive assistance, kindly email support@nanostring.com with detailed information about your issue. If applicable, attach a screenshot of any encountered errors and include a copy of the modified script in Notepad. Our customer support team will help facilitate a review and resolution of the issue.

Thank you for choosing NanoString, NanoString Dev Team

patrickjdanaher commented 3 months ago

Thanks for the report. Just merged a fix to this; please let us know if it gives you any more trouble.