ChaiBapchya commented on issue #17993: [R][v1.6.x] Fix setRefClass function not 
found error
URL: https://github.com/apache/incubator-mxnet/pull/17993#issuecomment-611025640
 
 
   Testing this locally, able to reproduce the docs error
   ```
   Loading mxnet
   [1] "Loading local: inst/libs/libmxnet.so"
   <simpleError in find.package(package, lib.loc, verbose = verbose): there is 
no package called 'mxnet'
   >
   [1] "Loading local: src/mxnet.so"
   <simpleError in find.package(package, lib.loc, verbose = verbose): there is 
no package called 'mxnet'
   >
   Error in loadModule("mxnet", TRUE) : could not find function "loadModule"
   Calls: <Anonymous> ... load_code -> <Anonymous> -> run_pkg_hook -> 
<Anonymous>
   Execution halted
   ```
   
   However, upon checking the local files, both mxnet.so and libmxnet.so exist.
   So `dyn.load` isn't able to find package
   ```
   > ls R-package/inst/libs/
   libmxnet.so
   ```
   ```
   > ls R-package/src/
   libmxnet.so
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to