Skip to content

Commit

Permalink
please precommit-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp-baumann committed Nov 12, 2023
1 parent a28451a commit 45ae1ba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/code-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
main:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.x
Expand Down
8 changes: 6 additions & 2 deletions R/parse_chunk.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ parse_chunk.default <- function(ds,raw) {
#' @keywords internal
parse_chunk.text <- function(ds,raw) {

text <- read_character(raw, ds$offset+1, n = ds$chunk_size, n_char = ds$chunk_size)
text <- read_character(
raw, ds$offset+1, n = ds$chunk_size, n_char = ds$chunk_size
)

ds$text <- text
return(ds)
Expand Down Expand Up @@ -79,7 +81,9 @@ parse_chunk.parameter <- function(ds,raw) {
} else if (type_index == 2) {
parameter_value <- read_double(raw, cursor_value, n = 1L)
} else if (type_index %in% c(3, 4, 5)) {
parameter_value <- read_character(raw, cursor_value, n = 1L, n_char = 2*parameter_size)
parameter_value <- read_character(
raw, cursor_value, n = 1L, n_char = 2*parameter_size
)
}

repeat_list <- list(
Expand Down

0 comments on commit 45ae1ba

Please sign in to comment.