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

Bugfix for error when sdp is uninstalled #51

Merged
merged 2 commits into from
Mar 31, 2021
Merged

Conversation

@codecov
Copy link

codecov bot commented Mar 31, 2021

Codecov Report

Merging #51 (689abb1) into cran (66258c9) will not change coverage.
The diff coverage is 100.00%.

❗ Current head 689abb1 differs from pull request most recent head bcbebbb. Consider uploading reports for the commit bcbebbb to get more accurate results
Impacted file tree graph

@@           Coverage Diff           @@
##             cran      #51   +/-   ##
=======================================
  Coverage   78.25%   78.25%           
=======================================
  Files          12       12           
  Lines        1159     1159           
=======================================
  Hits          907      907           
  Misses        252      252           
Impacted Files Coverage Δ
R/generate_template.R 99.23% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 66258c9...bcbebbb. Read the comment docs.

Copy link

@agenius-mohammed-ali agenius-mohammed-ali left a comment

Choose a reason for hiding this comment

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

I suggest updating the condition to !.g_sdp_installed && dashboard_plus

@@ -148,7 +148,7 @@ create_new_application <- function(name, location, sampleapp = FALSE, resetbutto
}
}

if (!(.g_sdp_installed)) {
if (!(.g_sdp_installed) && dashboard_plus) {

Choose a reason for hiding this comment

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

no need for these extra brackets , just !.g_sdp_installed && dashboard_plus will be enough

Copy link
Owner

Choose a reason for hiding this comment

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

True - but I prefer more parenthesis than not, so I think this is fine.

@cb4ds cb4ds merged commit 49ac50d into cb4ds:cran Mar 31, 2021
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.

3 participants