Also look for NAMESPACE when packaging R packages.
This commit is contained in:
parent
ca95dbeb19
commit
4bfd284f2d
1 changed files with 2 additions and 1 deletions
|
@ -524,7 +524,8 @@ class R(BuildSystem):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def probe(cls, path):
|
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)
|
return cls(path)
|
||||||
|
|
||||||
def _read_description(self):
|
def _read_description(self):
|
||||||
|
|
Loading…
Add table
Reference in a new issue