International-Soil-Radiocarbon-Database / ISRaD

Repository for the development and release of ISRaD data and tools
https://international-soil-radiocarbon-database.github.io/ISRaD/
24 stars 15 forks source link

Package installation fails since 83e0480 #177

Closed alkalifly closed 5 years ago

alkalifly commented 5 years ago

Commit 83e0480 did something to break the package installation, for both install_github and for install.packages. You can confirm that 83e0480 introduced the problem by checking out the commit just prior, which is 557f97c, and notice that install.packages works. But checking out 83e0480 or any commit after that causes install.packages to fail.

I first noticed this when the install_github command returned Installation failed: Line starting '<<<<<<< HEAD ...' is malformed! I then tried to install.packages() using the local copy, which immediately failed with the message Error: error reading file '/Users/alkalifly/Documents/ISRaD/master/ISRaD/DESCRIPTION'

I noticed that 83e0480 added some extra lines to the top of DESCRIPTION that looked like they did not belong, including a version number that was added in addition to the previous, rather than replacing it. So I deleted these extra lines in commit 09bacac. The process of installing the package now gets further than it did just before, but now it fails with the message Error: package or namespace load failed for ‘ISRaD’ in namespaceExport(ns, exports): undefined exports: ISRaD.download