{
  "_id": "6a1eb57eb25058d4daaddc5e",
  "Package": "insetplot",
  "Title": "Inset Plots for Spatial Data Visualization",
  "Version": "1.4.0",
  "Authors@R": "person(\"Chao\", \"Kong\", , \"kongchao1998@gmail.com\", role = c(\"aut\", \"cre\",\"cph\"),comment = c(ORCID = \"0000-0002-6404-6142\"))",
  "Description": "Tools for easily and flexibly creating 'ggplot2' maps with\ninset maps. One crucial feature of maps is that they have fixed\ncoordinate ratios, i.e., they cannot be distorted, which makes\nit difficult to manually place inset maps. This package\nprovides functions to automatically position inset maps based\non user-defined parameters, making it extremely easy to create\nmaps with inset maps with minimal code.",
  "License": "GPL (>= 2)",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "BugReports": "https://github.com/fncokg/insetplot/issues",
  "URL": "https://fncokg.github.io/insetplot/",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nlibssl-dev libproj-dev libsqlite3-dev libudunits2-dev",
  "Repository": "https://fncokg.r-universe.dev",
  "Date/Publication": "2026-02-02 01:50:45 UTC",
  "RemoteUrl": "https://github.com/fncokg/insetplot",
  "RemoteRef": "HEAD",
  "RemoteSha": "b646d2087103200a10560c32deac77af50626daf",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-02 10:39:52 UTC",
    "User": "root"
  },
  "Author": "Chao Kong [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-6404-6142>)",
  "Maintainer": "Chao Kong <kongchao1998@gmail.com>",
  "MD5sum": "41cc1f31c575b5aa83fbfd45aaddddc4",
  "_user": "fncokg",
  "_type": "src",
  "_file": "insetplot_1.4.0.tar.gz",
  "_fileid": "b8baef9a32c06ad1a3e1398efc12160810fb76a0b52af6538b80be1881a0a46c",
  "_filesize": 4742222,
  "_sha256": "b8baef9a32c06ad1a3e1398efc12160810fb76a0b52af6538b80be1881a0a46c",
  "_created": "2026-06-02T10:39:52.000Z",
  "_published": "2026-06-02T10:50:38.130Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79052588418,
      "time": 161,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7355511505"
    },
    {
      "job": 79052588403,
      "time": 160,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355511046"
    },
    {
      "job": 79052588383,
      "time": 172,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7355646531"
    },
    {
      "job": 79052588392,
      "time": 171,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355646916"
    },
    {
      "job": 79052006062,
      "time": 212,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355455938"
    },
    {
      "job": 79052588410,
      "time": 136,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355502749"
    },
    {
      "job": 79052588483,
      "time": 112,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7355494886"
    },
    {
      "job": 79052588437,
      "time": 98,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7355490624"
    },
    {
      "job": 79052588497,
      "time": 110,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355494429"
    }
  ],
  "_buildurl": "https://github.com/r-universe/fncokg/actions/runs/26814278136",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/fncokg/insetplot",
  "_commit": {
    "id": "b646d2087103200a10560c32deac77af50626daf",
    "author": "Chao Kong <kongchao1998@gmail.com>",
    "committer": "Chao Kong <kongchao1998@gmail.com>",
    "message": "update cran-comments\n",
    "time": 1769997045
  },
  "_maintainer": {
    "name": "Chao Kong",
    "email": "kongchao1998@gmail.com",
    "login": "fncokg",
    "orcid": "0000-0002-6404-6142",
    "description": "Postdoctoral researcher at Shandong University.",
    "uuid": 87894114
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "cowplot",
      "role": "Suggests"
    }
  ],
  "_owner": "fncokg",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-29",
      "n": 6
    },
    {
      "week": "2025-43",
      "n": 1
    },
    {
      "week": "2025-44",
      "n": 6
    },
    {
      "week": "2025-45",
      "n": 16
    },
    {
      "week": "2025-46",
      "n": 1
    },
    {
      "week": "2025-52",
      "n": 1
    },
    {
      "week": "2026-05",
      "n": 6
    },
    {
      "week": "2026-06",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "fncokg",
      "count": 39,
      "uuid": 87894114
    }
  ],
  "_userbio": {
    "uuid": 87894114,
    "type": "user",
    "name": "Chao Kong",
    "description": "Postdoctoral researcher at Shandong University."
  },
  "_downloads": {
    "count": 123,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/insetplot"
  },
  "_devurl": "https://github.com/fncokg/insetplot",
  "_pkgdown": "https://fncokg.github.io/insetplot/",
  "_searchresults": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/insetplot.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/fncokg/insetplot",
  "_realowner": "fncokg",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.3.0",
      "date": "2025-12-18"
    },
    {
      "version": "1.4.0",
      "date": "2026-02-02"
    }
  ],
  "_exports": [
    "config_insetmap",
    "get_bbox_features",
    "get_widest_bbox",
    "ggsave_inset",
    "inset_spec",
    "last_insetcfg",
    "map_border",
    "with_inset"
  ],
  "_help": [
    {
      "page": "insetplot-package",
      "title": "insetplot: Compose ggplot2 maps with insets",
      "topics": [
        "insetplot-package",
        "insetplot"
      ]
    },
    {
      "page": "config_insetmap",
      "title": "Configure inset map settings",
      "topics": [
        "config_insetmap"
      ]
    },
    {
      "page": "get_bbox_features",
      "title": "Extract width, height, and aspect ratio from a bounding box",
      "topics": [
        "get_bbox_features"
      ]
    },
    {
      "page": "get_widest_bbox",
      "title": "Compute the union bounding box from multiple shapes",
      "topics": [
        "get_widest_bbox"
      ]
    },
    {
      "page": "ggsave_inset",
      "title": "Save a composed inset plot with appropriate dimensions",
      "topics": [
        "ggsave_inset"
      ]
    },
    {
      "page": "inset_spec",
      "title": "Create a plot specification for insets",
      "topics": [
        "inset_spec"
      ]
    },
    {
      "page": "last_insetcfg",
      "title": "Get Last Inset Configuration",
      "topics": [
        "last_insetcfg"
      ]
    },
    {
      "page": "map_border",
      "title": "Add a border around a map plot",
      "topics": [
        "map_border"
      ]
    },
    {
      "page": "with_inset",
      "title": "Compose a main plot with inset(s)",
      "topics": [
        "with_inset"
      ]
    }
  ],
  "_readme": "https://github.com/fncokg/insetplot/raw/HEAD/README.md",
  "_rundeps": [
    "class",
    "classInt",
    "cli",
    "cpp11",
    "DBI",
    "e1071",
    "farver",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "KernSmooth",
    "labeling",
    "lifecycle",
    "MASS",
    "patchwork",
    "proxy",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "s2",
    "S7",
    "scales",
    "sf",
    "units",
    "vctrs",
    "viridisLite",
    "withr",
    "wk"
  ],
  "_vignettes": [
    {
      "source": "insetplot.Rmd",
      "filename": "insetplot.html",
      "title": "Inset maps with insetplot",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Quick start",
        "Why insetplot (vs. using cowplot/patchwork directly)",
        "What each parameter means",
        "Define subplots (inset_spec)",
        "Configure layout (config_insetmap)",
        "Compose the figure (with_inset)",
        "Save with the right ratio (ggsave_inset)"
      ],
      "created": "2025-11-03 13:20:31",
      "modified": "2026-01-29 13:48:10",
      "commits": 8
    }
  ],
  "_score": 4.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "insetplot",
  "_universes": [
    "fncokg"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-06-02T10:42:19.000Z",
      "distro": "noble",
      "commit": "b646d2087103200a10560c32deac77af50626daf",
      "fileid": "2abcf8053f2e6e1b25d23b2f7728f3383a3c0fd631265ca30d4db083d30936e7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fncokg/actions/runs/26814278136"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.4.0",
      "date": "2026-06-02T10:42:16.000Z",
      "distro": "noble",
      "commit": "b646d2087103200a10560c32deac77af50626daf",
      "fileid": "19e6afe4f2b2d70efd3d33593b6c521f8f130ac837f58ea738cb224d918d095c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fncokg/actions/runs/26814278136"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-06-02T10:49:15.000Z",
      "commit": "b646d2087103200a10560c32deac77af50626daf",
      "fileid": "69fe54535c3c5f82ec220d14329d285fc3fd499d4c29aa150e48d26672fb40ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fncokg/actions/runs/26814278136"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.4.0",
      "date": "2026-06-02T10:49:13.000Z",
      "commit": "b646d2087103200a10560c32deac77af50626daf",
      "fileid": "52b668224370ea620b204c9fbf8c75903a61f0c0177869ce37ed2e71114f8dce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fncokg/actions/runs/26814278136"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.4.0",
      "date": "2026-06-02T10:42:26.000Z",
      "commit": "b646d2087103200a10560c32deac77af50626daf",
      "fileid": "0be5d8df57f478af1c025521215cba26a86fff11131c5e4a3b46417522df0796",
      "status": "success",
      "buildurl": "https://github.com/r-universe/fncokg/actions/runs/26814278136"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-06-02T10:41:24.000Z",
      "commit": "b646d2087103200a10560c32deac77af50626daf",
      "fileid": "340145e41528cf8f474523c126504d1d2e6f5b9ab724c8954e0b2b6a15c300ac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fncokg/actions/runs/26814278136"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-06-02T10:41:17.000Z",
      "commit": "b646d2087103200a10560c32deac77af50626daf",
      "fileid": "5f458c5cd7f1ba84b3afabecabc18899a651c66a25b8af34d5edbe971efa72c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fncokg/actions/runs/26814278136"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.4.0",
      "date": "2026-06-02T10:41:20.000Z",
      "commit": "b646d2087103200a10560c32deac77af50626daf",
      "fileid": "a6d85a55933bcb03c3a42b0348306a0b51739d8c93c877e61d7afd5b54b97216",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/fncokg/actions/runs/26814278136"
    }
  ]
}