Skip to content

Commit

Permalink
"Error in !install_R : 'install_R' is missing" (install_R was called …
Browse files Browse the repository at this point in the history
…in too early) - Fixed a bug in updateR,

(thanks to AC for the bug report!)
  • Loading branch information
talgalili committed Mar 6, 2013
1 parent fa057fb commit 3baaf50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions NEWS
Expand Up @@ -9,6 +9,7 @@ UPDATED FUNCTIONS:

BUG FIXES:
* Fixed a bug in updateR, to make sure it will be able to open the new Rgui, and also close the old R.
* Fixed a bug in updateR, "Error in !install_R : 'install_R' is missing" (install_R was called in too early) (thanks to AC for the bug report!)


installR 0.8
Expand Down
2 changes: 1 addition & 1 deletion R/updateR.r
Expand Up @@ -348,7 +348,7 @@ updateR <- function(browse_news, install_R, copy_packages, keep_old_packages, u

there_is_a_newer_version_of_R <- check.for.updates.R(print_R_versions)

if(!there_is_a_newer_version_of_R | !install_R) return(F) # if we have the latest version - we might as well stop now...
if(!there_is_a_newer_version_of_R) return(F) # if we have the latest version - we might as well stop now...

# else - there_is_a_newer_version_of_R==T

Expand Down

0 comments on commit 3baaf50

Please sign in to comment.