BUGFIX: variable was tested before being loaded
This commit is contained in:
parent
e0ff45fe94
commit
285c0db8a5
@ -36,6 +36,9 @@ if (! file.exists("./myScripts/.myProfile.R")) {
|
||||
} else { # local profile exists ... validate state:
|
||||
cat("\n\nLoading local functions ...")
|
||||
|
||||
source(".utilities.R") # local profile appears sane, source utilities
|
||||
source("./myScripts/.myProfile.R")
|
||||
|
||||
if (! exists("myEMail")) { # ... has eMail been defined?
|
||||
cat("ERROR !\n")
|
||||
cat("=======\n")
|
||||
@ -59,9 +62,6 @@ if (! file.exists("./myScripts/.myProfile.R")) {
|
||||
cat(" and fix the problem or contact your instructor to continue.\n\n")
|
||||
}
|
||||
|
||||
source(".utilities.R") # local profile appears sane, source utilities
|
||||
|
||||
source("./myScripts/.myProfile.R")
|
||||
|
||||
if (! exists("MYSPE")) { # if MYSPE has not yet been defined, define it now
|
||||
# ... and write it into the profile.
|
||||
|
Loading…
Reference in New Issue
Block a user