Skip to content

Commit

Permalink
wrong options usage
Browse files Browse the repository at this point in the history
  • Loading branch information
floswald committed Oct 9, 2024
1 parent 3fe6a89 commit 602fcd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/build.panel.r
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ build.panel <- function(datadir=NULL,fam.vars,ind.vars=NULL,heads.only=FALSE,cur
if ( .Platform$OS.type != 'windows' ) {
# warning("I'm setting your encoding to windows now")
oldopts <- options() # code line i
on.exit(oldopts) # code line i + 1
on.exit(options(oldopts)) # code line i + 1
options( encoding = "windows-1252" ) # # only macintosh and *nix users need this line
}

Expand Down

0 comments on commit 602fcd8

Please sign in to comment.