Skip to content

Commit

Permalink
Fixed incorrect condition (\!nzchar -> nzchar) in jmvOpn
Browse files Browse the repository at this point in the history
  • Loading branch information
sjentsch committed Aug 4, 2023
1 parent d579eb9 commit 9f9acea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/globals.R
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ jmvOpn <- function(dtaFrm = NULL, sfxTtl = "") {
stop(sprintf("Your OS (%s) is currently not implemented. Please report more details to sebastian.jentschke@uib.no to fix that.", crrOS))
}
}
if (!nzchar(jmvEXE) && file.exists(jmvEXE)) {
if (nzchar(jmvEXE) && file.exists(jmvEXE)) {
tmpOut <- tempfile(fileext = ".omv")
jmvReadWrite::write_omv(dtaFrm, fleOut = tmpOut)
# TO-DO: replace Dataset with the name of the current data set
Expand Down

0 comments on commit 9f9acea

Please sign in to comment.