Error in dependence in OpenMx
Posted on

Attachment | Size |
---|---|
00check.txt | 2.63 KB |
DESCRIPTION.txt | 780 bytes |
NAMESPACE.txt | 1.24 KB |
Forums
I am updating my metaSEM package so that it will work in OpenMx 2.0. In the Description file, it depends on OpenMx (>= 2.0.0). In the Namespace, it includes import(OpenMx).
When I check the package, it returns the following error message:
* checking whether the namespace can be loaded with stated dependencies ... WARNING
Error: object '.DollarNames' not found whilst loading namespace 'OpenMx'
Execution halted
A namespace must be able to be loaded with just the base namespace
loaded: otherwise if the namespace gets loaded by a saved object, the
session will be unable to start.
Probably some imports need to be declared in the NAMESPACE file.
I am attaching the relevant files for reference. Any suggestions will be highly appreciated. Thanks.
utils?
Does the attach patch help?
Log in or register to post comments
In reply to utils? by AdminJosh
or maybe
Try this one too.
Log in or register to post comments
In reply to or maybe by AdminJosh
I failed to patch the first
I failed to patch the first one in OpenMx_2.0.0-3957. The second patch worked! Many thanks.
Log in or register to post comments
In reply to I failed to patch the first by Mike Cheung
how serious?
OK, I committed the change in SVN 3958. We are trying to release OpenMx 2.0 ASAP. Our currently release candidate is SVN 3952, but it sounds like you cannot install metaSEM without these most recent changes? Do we need to rebuild our OpenMx 2.0 release with SVN 3958?
Log in or register to post comments
In reply to how serious? by AdminJosh
I have just tested my package
I have just tested my package with SVN 3952. Several functions do not work. It does not run the examples.
My plan is to submit my package to CRAN once version 2.0 has been released. If the OpenMx 2.0 is based on SVN 3952, the package will not pass the namespace and examples checking. I hope that it can be based on SVN 3958 if possible. Thanks.
Log in or register to post comments
In reply to I have just tested my package by Mike Cheung
cran
OpenMx 2.0 still has a number of issues that prevent us from submitting to CRAN. We are getting closer, but we're not there yet. I suspect that your dependency on OpenMx will prevent metaSEM from acceptance to CRAN until OpenMx is available on CRAN.
Log in or register to post comments
In reply to cran by AdminJosh
I don't expect that the
I don't expect that the metaSEM package will be available in CRAN shortly. But I do hope that it will work for the new release of OpenMx 2.0. I will consider other alternatives such as github. It will be helpful that users can install the packages easily.
Log in or register to post comments
In reply to I don't expect that the by Mike Cheung
github
Here's what I did for ifaTools. I've had a bunch of people install it without trouble,
https://github.com/jpritikin/ifaTools
Log in or register to post comments