Skip to content

Commit

Permalink
correctif
Browse files Browse the repository at this point in the history
  • Loading branch information
pierre-lamarche committed Jan 2, 2025
1 parent 30be419 commit 21c9702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/chargerDonnees.R
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ chargerDonnees <- function(telechargementFichier, vars = NULL, ...) {
res <- as.data.frame(do.call(rbind, res_int))
}
} else if (telechargementFichier$type == "xlsx") {
if (!is.null(telechargementFichier$argsImport$sheet) & telechargementFichier$argsImport$sheet != "__MELODI__") {
if (!is.null(telechargementFichier$argsImport$sheet) && telechargementFichier$argsImport$sheet != "__MELODI__") {
res <- as.data.frame(do.call(readxl::read_xlsx, telechargementFichier$argsImport))
} else {
onglets <- readxl::excel_sheets(telechargementFichier$argsImport$path)
Expand Down

0 comments on commit 21c9702

Please sign in to comment.