这是indexloc提供的服务,不要输入任何密码
Skip to content

Custom tm_crs fails #1163

@Nowosad

Description

@Nowosad

This example worked fine yesterday:

library(tmap)
tm = tm_shape(World) +
  tm_polygons() 

tm +
  tm_graticules(labels.show = FALSE) +
  tm_crs("+proj=ortho +lat_0=0 +lon_0=100", bbox = "FULL")+
  tm_layout(bg.color = "lightblue",
            earth_boundary = TRUE,
            frame = FALSE)
#> Error in valid_numeric_matrix(x): is.numeric(x) is not TRUE

Created on 2025-07-07 with reprex v2.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions