Error while installing the library from source due to RcppExports

I have created my own R package for my company but for some of the users, when they install the package, they are facing the following issue:

make: stat: equipped.dll: Too many levels of symbolic links
make: stat: RcppExports.o: Too many levels of symbolic links
make: *** No rule to make target 'RcppExports.o', needed by 'equipped.dll'. Stop.
ERROR: compilation failed for package 'equipped'

The name of the package is equipped. Inside the package, I have used Rcpp code as well. When I compile the Rcpp attributes using Rcpp::compileAttributes() to the source, it compiles fine for all the users but for some of the users, it gives error while installing the library.

Let me know if you need more information on the same.


We could help you better if you could create a reproducible example, a minimal, public package that shows the problem.

Thanks @Gabor for your reply. I just gave it a thought and built a binary for the library and installation from the binary worked fine.
The potential problem that I could identify was because of the packageName.dll file created in the src folder after the compilation of cpp files. It was causing the issue with symbolic links. When we create the binary, so the compilation takes place without modifying the source. So for now the issue is resolved. Thank you for your help.

This topic was automatically closed after 45 days. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.