You are here

Error in dependence in OpenMx

9 posts / 0 new
Last post
Mike Cheung's picture
Offline
Joined: 10/08/2009 - 22:37
Error in dependence in OpenMx
AttachmentSize
Plain text icon 00check.txt2.63 KB
Plain text icon DESCRIPTION.txt780 bytes
Plain text icon NAMESPACE.txt1.24 KB

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.

AdminJosh's picture
Offline
Joined: 12/12/2012 - 12:15
utils?

Does the attach patch help?

AdminJosh's picture
Offline
Joined: 12/12/2012 - 12:15
or maybe

Try this one too.

Mike Cheung's picture
Offline
Joined: 10/08/2009 - 22:37
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.

AdminJosh's picture
Offline
Joined: 12/12/2012 - 12:15
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?

Mike Cheung's picture
Offline
Joined: 10/08/2009 - 22:37
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.

AdminJosh's picture
Offline
Joined: 12/12/2012 - 12:15
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.

Mike Cheung's picture
Offline
Joined: 10/08/2009 - 22:37
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.

AdminJosh's picture
Offline
Joined: 12/12/2012 - 12:15
github

Here's what I did for ifaTools. I've had a bunch of people install it without trouble,

https://github.com/jpritikin/ifaTools