Skip to content

Commit

Permalink
Merge branch 'minor' into topic/callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
langmm committed Sep 15, 2023
2 parents 451808f + 86c8e31 commit b5e0f36
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion yggdrasil/languages/R/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ def install_packages(package_list, update=False, repos=None, **kwargs):
f' install.packages("devtools", repos="{repos}", '
f'dependencies=TRUE)',
"}",
"library(devtools)",
# ('packageurl <- \"http://cran.r-project.org/src/contrib/Archive/%s/'
# '%s_%s.tar.gz\"') % (x['name'], x['name'], x['ver'])
]
Expand Down Expand Up @@ -399,7 +400,8 @@ def install(args=None, with_sudo=None, skip_requirements=None,
requirements = requirements_from_description()
if os.environ.get('BUILDDOCS', '') == '1':
requirements += ['roxygen2', 'Rd2md']
requirements.insert(0, 'vdiffr (<= 1.0.5)')
if 'linux' in sys.platform:
requirements.insert(0, 'vdiffr (<= 1.0.5)')
if not install_packages(requirements, update=update_requirements,
R_exe=Rscript_exe, **kwargs):
logger.error("Failed to install dependencies")
Expand Down

0 comments on commit b5e0f36

Please sign in to comment.