Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[processing] exclude commented R libraries when generating dependenci…
…es list (fix #14143)
  • Loading branch information
alexbruy committed Jan 20, 2016
1 parent 47549eb commit f0cb706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/r/RUtils.py
Expand Up @@ -201,7 +201,7 @@ def checkRIsInstalled(ignoreRegistrySettings=False):

@staticmethod
def getRequiredPackages(code):
regex = re.compile('library\("?(.*?)"?\)')
regex = re.compile('[^#]library\("?(.*?)"?\)')
return regex.findall(code)

@staticmethod
Expand Down

0 comments on commit f0cb706

Please sign in to comment.