Closed brandmaier closed 9 months ago
Hi Andreas,
Thanks for reporting the issue! I've switched to a new package structure a few months back, where the optimizer library (lesstimate) is now a separate project imported as a git submodule. The std::make_unique
function is used in the newest version of lesstimate and requires C++14. Unfortunately, the install instructions in the readme were out of date, sorry for that! The following should work:
git clone --branch development --recurse-submodules https://github.com/jhorzek/lessSEM.git
Then install the package as usual. In the development branch C++14 is specified as C++ standard. If you want to use the main branch
git clone --recurse-submodules https://github.com/jhorzek/lessSEM.git
should work without C++14. This should download an older version of lesstimate. Please let me know if that fixes the issues!
Best, Jannik
Hi Jannik,
thanks! This worked beautifully.
Best, Andreas
I tried to compile the package but get an error, which probably is due to an incompatibility with C++ versions:
I tried to compile on a Windows machine with standard R 4.2 as shipped. It seems to provide/assume only the gnu++11 standard. Any easy fixes that come to your mind?
Thanks!