Error with asreml.d package in R-2.14.0

后端 未结 1 971
梦毁少年i
梦毁少年i 2021-01-20 08:03

I installed asreml.d on R 2.14.0 using Install packages from local zip files from the Packages menu. When I try to load the pack

相关标签:
1条回答
  • 2021-01-20 08:23

    The maintainers of the package need to update the package to include a NAMESPACE file.

    That said, you might have luck inserting the NAMESPACE file yourself as a hack. It looks like ASReml is closed source, but you have the .zip file. Try unzipping it. Then, create a simple text file containing:

    exportPattern("^[^\\.]")
    

    Save it as NAMESPACE (be careful that there is no extension like .txt, Windows sometimes sneaks these in). Place NAMESPACE in the top folder of the unzipped package (should be something like asreml.d/; there will also be a DESCRIPTION file there). If there is an MD5 file, you should probably delete it. Now, re-zip the asreml.d/ directory. See if the new zip file works.

    For more on NAMESPACE, see http://cran.r-project.org/doc/manuals/R-exts.html#Package-namespaces .

    NB This might be bad advice. But it seems like it would work. It won't hurt anything.

    0 讨论(0)
提交回复
热议问题