Skip to content

Commit

Permalink
trying to fix action failures caused by non-existing r pkgs
Browse files Browse the repository at this point in the history
  • Loading branch information
AndyBRoswell committed Dec 1, 2024
1 parent 4162e64 commit 956801a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vreapis/containerizer/RContainerizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ def get_files_info(cell=None, cells_path=None):

@staticmethod
def map_dependencies(dependencies, module_name_mapping):
# dependencies = map(lambda x: 'r-' + x['name'], dependencies)
dependencies = map(lambda x: x['name'], dependencies)
dependencies = map(lambda x: 'r-' + x['name'], dependencies) # prefix `r-` is naming convention
dependencies = map(lambda x: module_name_mapping.get('r', {}).get(x, x), dependencies)
set_conda_deps = set(dependencies)
set_pip_deps = set()
Expand Down

0 comments on commit 956801a

Please sign in to comment.