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 package with library(asreml.d), I get the following error
Error in library(asreml.d) :
package ‘asreml.d’ does not have a NAMESPACE and should be re-installed
Error occur even after re-installation. Any comment, idea and solution to fix this problem will be highly appreciated. Thanks in advance for your time and help.
The maintainers of the package need to update the package to include a
NAMESPACEfile.That said, you might have luck inserting the
NAMESPACEfile 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:Save it as
NAMESPACE(be careful that there is no extension like .txt, Windows sometimes sneaks these in). PlaceNAMESPACEin the top folder of the unzipped package (should be something likeasreml.d/; there will also be aDESCRIPTIONfile there). If there is anMD5file, you should probably delete it. Now, re-zip theasreml.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.