Skip to content

Commit

Permalink
lint notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroelfs committed Nov 22, 2023
1 parent 15cd51a commit fb24fbd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions content/blog/2023-nyt-books-api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -378,9 +378,9 @@ for (i in seq_len(nrow(titles_w_adaptation))) {

rplot[[i]] <- data |>
right_join(titles_w_adaptation |>
slice(i), by = "title") |>
right_join(data |> select(list_publication_date) |> distinct(),
by = "list_publication_date"
slice(i), by = "title") |>
right_join(data |> select(list_publication_date) |> distinct(),
by = "list_publication_date"
) |>
replace_na(list(rank = 16)) |>
ggplot(aes(x = list_publication_date, y = rank)) +
Expand Down
6 changes: 3 additions & 3 deletions content/blog/2023-nyt-books-api/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -377,9 +377,9 @@ for (i in seq_len(nrow(titles_w_adaptation))) {
rplot[[i]] <- data |>
right_join(titles_w_adaptation |>
slice(i), by = "title") |>
right_join(data |> select(list_publication_date) |> distinct(),
by = "list_publication_date"
slice(i), by = "title") |>
right_join(data |> select(list_publication_date) |> distinct(),
by = "list_publication_date"

Check warning on line 382 in content/blog/2023-nyt-books-api/index.qmd

View workflow job for this annotation

GitHub Actions / lint-project

file=content/blog/2023-nyt-books-api/index.qmd,line=382,col=15,[indentation_linter] Indentation should be 6 spaces but is 15 spaces.
) |>
replace_na(list(rank = 16)) |>
ggplot(aes(x = list_publication_date, y = rank)) +
Expand Down

0 comments on commit fb24fbd

Please sign in to comment.