LAPKB / Pmetrics

https://lapkb.github.io/Pmetrics/
21 stars 8 forks source link

Pmetrics installation - data issues #242

Closed mnneely closed 2 hours ago

mnneely commented 2 hours ago

Discussed in https://github.com/LAPKB/Pmetrics/discussions/240

Originally posted by **BoburaII** November 9, 2024 Hello, I've updated MacOS and run into trouble with Pmetrics. Attempts to re-install have been unsuccessful, with the following error message: * installing *source* package ‘Pmetrics’ ... ** using staged installation ** R ** data *** moving datasets to lazyload DB Warning: namespace ‘Pmetrics’ is not available and has been replaced by .GlobalEnv when processing object ‘ITex’ Warning: namespace ‘Pmetrics’ is not available and has been replaced by .GlobalEnv when processing object ‘ITex’ Warning: namespace ‘Pmetrics’ is not available and has been replaced by .GlobalEnv when processing object ‘NPex’ Warning: namespace ‘Pmetrics’ is not available and has been replaced by .GlobalEnv when processing object ‘NPex’ Warning: namespace ‘Pmetrics’ is not available and has been replaced by .GlobalEnv when processing object ‘NPex_val’ Warning: namespace ‘Pmetrics’ is not available and has been replaced by .GlobalEnv when processing object ‘NPex_val’ Warning: namespace ‘Pmetrics’ is not available and has been replaced by .GlobalEnv when processing object ‘badData’ Warning: namespace ‘Pmetrics’ is not available and has been replaced by .GlobalEnv when processing object ‘badData’ Warning: namespace ‘Pmetrics’ is not available and has been replaced by .GlobalEnv when processing object ‘dataEx’ Warning: namespace ‘Pmetrics’ is not available and has been replaced by .GlobalEnv when processing object ‘dataEx’ Warning: namespace ‘Pmetrics’ is not available and has been replaced by .GlobalEnv when processing object ‘modEx’ Warning: namespace ‘Pmetrics’ is not available and has been replaced by .GlobalEnv when processing object ‘modEx’ Warning: namespace ‘Pmetrics’ is not available and has been replaced by .GlobalEnv when processing object ‘modelLibrary’ Warning: namespace ‘Pmetrics’ is not available and has been replaced by .GlobalEnv when processing object ‘modelLibrary’ Warning: namespace ‘Pmetrics’ is not available and has been replaced by .GlobalEnv when processing object ‘simEx’ Warning: namespace ‘Pmetrics’ is not available and has been replaced by .GlobalEnv when processing object ‘simEx’ ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices *** copying figures ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location Error: package or namespace load failed for ‘Pmetrics’ in library.dynam(lib, package, package.lib): shared object ‘Pmetrics.so’ not found Error: loading failed Execution halted ERROR: loading failed * removing ‘/Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library/Pmetrics’ Warning message: In i.p(...) : installation of package ‘/var/folders/5z/2ms25s0d3nj5thkpd0bvlqk40000gn/T//RtmpcSB12m/file12754f1ea749/Pmetrics_2.1.1.tar.gz’ had non-zero exit status I seem not to figure out the error. Would appreciate help with a work around. Thanks
mnneely commented 2 hours ago

I rebuilt the package NAMESPACE and that seems to have fixed the problem. Please try installing again. Mark this post as a solution if it works so that we can close the issue.

ChrisKonig commented 2 hours ago

It worked for me. Installation complete. Thanks for the super fast resolution on this. :)

mnneely commented 2 hours ago

Excellent! I'll mark this closed then. Thanks for letting me know.