error: Failed to create the shared library on CRAN/Solaris

25 views
Skip to first unread message

Enrico Ryunosuke Crema

unread,
May 26, 2021, 7:48:41 AM5/26/21
to nimble-users
Hi,
I've recently developed an R package (https://cran.r-project.org/web/packages/nimbleCarbon/index.html) similar to nimbleEcology but focused on radiocarbon dating. The package is currently on CRAN and has passed all checks, but now it is getting an Error on r-patched-solaris-x86 (see here). I was unable to reproduce the error when checking via rhub (see here) so really have no clue - but was wondering if anyone has possible ideas on where I should start looking. All I got from CRAN check is:

** testing if installed package can be loaded from temporary location 
Registering the following user-provided distributions: dLogisticGrowth 
Registering the following user-provided distributions: dExponentialGrowth 
Registering the following user-provided distributions: dDoubleExponentialGrowth Registering the following user-provided distributions: dExponentialLogisticGrowth Registering the following user-provided distributions: dLogisticExponentialGrowth 
Error: package or namespace load failed for ‘nimbleCarbon’: .onAttach failed in attachNamespace() for 'nimbleCarbon', details: 
 call: NULL 
 error: Failed to create the shared library. Run 'printErrors()' to see the compilation errors.

I suspect the error is related to either registerDistributions() or to compileNimble()  - (see here), but that is all I got for now...  Thanks in advance!

All Best,
Enrico

Chris Paciorek

unread,
May 27, 2021, 10:52:57 AM5/27/21
to Enrico Ryunosuke Crema, nimble-users
hi Enrico,

I suspect this discussion is going to get detailed and technical quickly, so let's take it off list. I'll email you next week, after we've finished the workshop we're giving this week.

-Chris

--
You received this message because you are subscribed to the Google Groups "nimble-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nimble-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nimble-users/72b1c16c-5332-4a87-85cc-9a80a608c66fn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages