-
Notifications
You must be signed in to change notification settings - Fork 16
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
Conversation
Codecov Report
@@ Coverage Diff @@
## cran #51 +/- ##
=======================================
Coverage 78.25% 78.25%
=======================================
Files 12 12
Lines 1159 1159
=======================================
Hits 907 907
Misses 252 252
Continue to review full report at Codecov.
|
There was a problem hiding this 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) { |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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.
https://3.basecamp.com/3775257/buckets/16956142/todos/3606846770
https://3.basecamp.com/3775257/buckets/16956142/todos/3598578613