Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if R libraries install correctly #423

Merged
merged 3 commits into from
Nov 2, 2018
Merged

Conversation

nllong
Copy link
Member

@nllong nllong commented Oct 30, 2018

This PR adds in a new R method to check if the R packages are successfully installed.

The issue was seen when installing a newer DoE.base package that required a new dependency to be installed in the base linux image. The first build of this PR will show a failure, demonstrating that the install_and_verify method correctly errors out. The second build will be after the base openstudio-r image has been updated with the change seen here: NREL/docker-openstudio-r@0360dcd#diff-3254677a7917c6c01f55212f86c57fbfR31

Note that the 2.7.0 docker images will not work with DoE.base.

@coveralls
Copy link

coveralls commented Oct 30, 2018

Coverage Status

Coverage increased (+0.2%) to 66.718% when pulling 417c035 on rserve-dependency-checks into caa358d on develop.

@nllong
Copy link
Member Author

nllong commented Oct 31, 2018

Needed to fix the eval with timeout method per the error message:

Error: 'evalWithTimeout' is defunct.
Use 'R.utils::withTimeout()' instead.

@nllong nllong requested a review from anyaelena November 1, 2018 12:45
@@ -2,7 +2,7 @@
# DESCRIPTION: OpenStudio Server R Container
# TO_BUILD_AND_RUN: docker-compose up

FROM nrel/openstudio-r:3.4.2
FROM nrel/openstudio-r:3.4.2-2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when do we increment the version for openstudio-r?

@anyaelena anyaelena merged commit f13754d into develop Nov 2, 2018
@anyaelena anyaelena deleted the rserve-dependency-checks branch November 2, 2018 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants