Also look for NAMESPACE when packaging R packages.

This commit is contained in:
Jelmer Vernooij 2021-03-22 14:23:25 +00:00
parent ca95dbeb19
commit 4bfd284f2d

View file

@ -524,7 +524,8 @@ class R(BuildSystem):
@classmethod
def probe(cls, path):
if os.path.exists(os.path.join(path, 'DESCRIPTION')):
if (os.path.exists(os.path.join(path, 'DESCRIPTION')) and
os.path.exists(os.path.join(path, 'NAMESPACE'))):
return cls(path)
def _read_description(self):