Open anavalera29 opened 4 years ago
Pregunta bien formulada la doña.
El mensaje de error te dice que el mapa ya existe. En la línea 213, prueba añadiendo el flag overwrite
:
writeVECT (as_Spatial (yaquenorte), 'yaque_v' , v.in.ogr_flags = c('quiet', 'overwrite'))
@geofis ahora esto: Error: Functions that produce HTML output found in document targeting markdown_github output. Please change the output type of this document to HTML. Alternatively, you can allow HTML output in non-HTML formats by adding this option to the YAML front-matter of your rmarkdown file:
always_allow_html: true
Note however that the HTML output will not be visible in non-HTML formats.
Execution halted
Je je, estás cerca. El error se debe a que, como hay mapas de leaflet/mapview, que no pueden renderizarse en MD de GitHub, resulta que tienes que cambiar el tipo de salida. Prueba generando un HTML, que es lo que te sugiere el mensaje de error, haciendo que el encabezado luzca así:
El encabezado YAML de tu README.Rmd está así:
---
output: github_document
bibliography: biblio.bib
csl: apa.csl
editor_options:
chunk_output_type: console
---
Pero debería estar así:
---
output: html_document
bibliography: biblio.bib
csl: apa.csl
editor_options:
chunk_output_type: console
---
Tu documento de salida no será ni en .md ni un PDF, será un HTML, y verás que llevará el mismo nombre, README, pero con extensión html.
@geofis oooooookkkk, muchas gracias.
@geofis buen día! Como se podrá imaginar no he podido salir a camino, así que, solo dejaré esto por aquí: Quitting from lines 205-269 (README.Rmd) Error in execGRASS("v.in.ogr", flags = v.in.ogr_flags, input = GDSN, output = vname, : The command: v.in.ogr input=mi-asignacion/mi-grass/rioydn/PERMANENT/.tmp/rstudio-ubuntu-s-1vcpu-2gb-nyc3-01/373.0.gpkg output=yaquenorte layer=yaquenorte produced an error (1) during execution: ERROR: Vector map already exists
Calls: ... tryCatchList -> tryCatch -> tryCatchList -> execGRASS
Execution halted