geocompx / geocompr

Geocomputation with R: an open source book
https://r.geocompx.org/
Other
1.59k stars 584 forks source link

Error message on dev versions of packages #1005

Closed Robinlovelace closed 11 months ago

Robinlovelace commented 11 months ago

Hopefully this will be a self fixing issue but posting here as the first time I've spotted this:

Quitting from lines 307-320 [affine-trans] (05-geometry-operations.Rmd)
Error in `[[<-.data.frame`:
! replacement has 16 rows, data has 1
Backtrace:
  1. base::eval(...)
  2. base::eval(...)
  4. rmarkdown (local) `<fn>`(...)
  5. knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
  6. knitr:::process_file(text, output)
     ...
 33. base::lapply(...)
 34. tmap (local) FUN(X[[i]], ...)
 36. tmap:::tmapSubsetShp.sfc(shp, smeta$vars)
 37. sf::st_sf(dummy__ = TRUE, geometry = shp)
 39. base::`[[<-.data.frame`(`*tmp*`, all_sfc_names[i], value = `<MULTIPOLYGON [m]>`)
Execution halted
Error in Rscript_render(f, render_args, render_meta, add1, add2) : 
  Failed to compile 05-geometry-operations.Rmd

Source: https://github.com/geocompx/geocompr/actions/runs/7119416916/job/19384463597#step:4:1571