From 956801ad40fe5925e7a1a30209788c46e1763bf6 Mon Sep 17 00:00:00 2001 From: Andy Bayer Roswell Date: Sun, 1 Dec 2024 13:53:48 +0100 Subject: [PATCH] trying to fix action failures caused by non-existing r pkgs --- vreapis/containerizer/RContainerizer.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vreapis/containerizer/RContainerizer.py b/vreapis/containerizer/RContainerizer.py index 1a6daec..f517230 100644 --- a/vreapis/containerizer/RContainerizer.py +++ b/vreapis/containerizer/RContainerizer.py @@ -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()