Skip to content

Commit 5091801

Browse files
committed
encoding of TA files - bug fixed
1 parent d0b1444 commit 5091801

3 files changed

Lines changed: 23 additions & 2 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Package: rtauargus
22
Type: Package
33
Title: Using Tau-Argus from R
44
Language: fr
5-
Version: 1.3.2
5+
Version: 1.3.3
66
Depends: R (>= 3.5.0)
77
Imports:
88
purrr (>= 0.2),

NEWS.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@ output: rmarkdown::html_vignette
55
---
66

77

8+
## rtauargus 1.3.3
9+
10+
[02/2026]
11+
12+
* Bug fixed
13+
14+
Importing some files built by $\tau$-ARGUS produced errors
15+
because of encoding. From French users, this bug appeared during
16+
december and february months ("Décembre", "Février").
17+
18+
The fix consists in blocking logbook importation during the process while this
19+
kind of error is produced. It has no effect on the suppression process, only
20+
on the information displayed in the console.
21+
822
## rtauargus 1.3.2
923

1024
[01/2026]

R/run_arb.R

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,14 @@ run_arb <- function(
390390
show.output.on.console = show_batch_console,
391391
...
392392
)
393-
display_console(verbose, logbook_file)
393+
# To manage encoding pbs of the logbook files created
394+
# by Tau-Argus. If any issues, the logbook is not displayed.
395+
tryCatch({
396+
suppressMessages(display_console(verbose, logbook_file))
397+
},
398+
error = function(e) message(paste0("The logbook can't be displayed. If needed, open directly the file ", logbook_file)),
399+
warning = function(e) NULL
400+
)
394401

395402
if(import) import(arb_filename) else invisible(NULL)
396403

0 commit comments

Comments
 (0)