I am installing my dependencies including OpenBLAS during  the package 
installation via the configure file. 
What is surprising me that even all dependencies are installed successfully. R 
cannot load one of the library
that depends on LAPACKE. My method is to install all my dependencies inside the 
installation directory of my R package and
set PKG_CONFIG_PATH to this path. Do I need to set any other paths so that R 
can see my new OpenBLAS which include LAPACKE?

--Sameh




On 9/26/19, 4:34 PM, "Ralf Stubner" <ralf.stub...@gmail.com> wrote:

    On Wed, Sep 25, 2019 at 3:34 PM Sameh M. Abdulah
    <sameh.abdu...@kaust.edu.sa> wrote:
    > My package depends on another C-based software that needs LAPACKE to 
compile. I do not know a lot about it. I think adding LAPACKE to my package 
will be a good solution.
    > Could you please give me more information of how to do this?
    
    Including LAPACKE in your package won't help you in this case, since
    it is not your package but one of its dependencies that needs it. So
    LAPACKE needs to be installed when that dependency is installed, which
    happens before your package gets installed.
    
    How do you expect the dependencies to get installed? Is that done by
    an admin before the package installation?
    
    cheerio
    ralf
    

______________________________________________
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel

Reply via email to