{
  "_id": "6a4ca27407c3fd5c3260eb64",
  "Package": "screenshot",
  "Type": "Package",
  "Title": "Take Screenshots (Screen Capture) from R Command",
  "Version": "0.9.2",
  "Authors@R": "person(\"Toshikazu\", \"Matsumura\", ,\n\"matutosi@gmail.com\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0003-2306-6355\"))",
  "Description": "Take screenshots from R command and locate an image\nposition.",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "URL": "https://github.com/matutosi/screenshot,\nhttps://matutosi.github.io/screenshot/",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "Language": "en-US",
  "Config/pak/sysreqs": "cmake libfftw3-dev libglpk-dev make libmagick++-dev\ngsfonts libicu-dev libjpeg-dev libpng-dev libtiff-dev\nlibuv1-dev libxml2-dev libssl-dev libx11-dev",
  "Repository": "https://matutosi.r-universe.dev",
  "Date/Publication": "2025-08-27 03:19:49 UTC",
  "RemoteUrl": "https://github.com/matutosi/screenshot",
  "RemoteRef": "HEAD",
  "RemoteSha": "878b653892dd30115162f255b9c49afc6f42f144",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-07 06:50:03 UTC",
    "User": "root"
  },
  "Author": "Toshikazu Matsumura [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-2306-6355>)",
  "Maintainer": "Toshikazu Matsumura <matutosi@gmail.com>",
  "_user": "matutosi",
  "_type": "src",
  "_file": "screenshot_0.9.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/f9498986239db029205180d0a8d07a25dfe3d4b3bfef218a649dfdf230d3d3c9",
  "_filesize": 169194,
  "_sha256": "f9498986239db029205180d0a8d07a25dfe3d4b3bfef218a649dfdf230d3d3c9",
  "_expires": "2026-10-15T06:53:38.000Z",
  "_created": "2026-07-07T06:50:03.000Z",
  "_published": "2026-07-07T06:53:40.123Z",
  "_jobs": [
    {
      "job": 85554186394,
      "time": 138,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8130132144"
    },
    {
      "job": 85554186456,
      "time": 175,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8130143138"
    },
    {
      "job": 85554186412,
      "time": 80,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8130114561"
    },
    {
      "job": 85554186402,
      "time": 106,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8130122330"
    },
    {
      "job": 85553615294,
      "time": 224,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8130088895"
    },
    {
      "job": 85554186366,
      "time": 147,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8130135055"
    },
    {
      "job": 85554186429,
      "time": 98,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8130120032"
    },
    {
      "job": 85554186418,
      "time": 79,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8130114419"
    },
    {
      "job": 85554186440,
      "time": 93,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8130118654"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/matutosi/actions/runs/28847138432",
  "_status": "success",
  "_upstream": "https://github.com/matutosi/screenshot",
  "_commit": {
    "id": "878b653892dd30115162f255b9c49afc6f42f144",
    "author": "Toshikazu Matsumura <matutosi@gmail.com>",
    "committer": "Toshikazu Matsumura <matutosi@gmail.com>",
    "message": "Merge branch 'develop'\n",
    "time": 1756264789
  },
  "_maintainer": {
    "name": "Toshikazu Matsumura",
    "email": "matutosi@gmail.com",
    "login": "matutosi",
    "description": "",
    "uuid": 42415004,
    "orcid": "0000-0003-2306-6355"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "fs",
      "role": "Imports"
    },
    {
      "package": "imager",
      "role": "Imports"
    },
    {
      "package": "magick",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "matutosi",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-35",
      "n": 7
    }
  ],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "matutosi",
      "count": 83,
      "uuid": 42415004
    }
  ],
  "_userbio": {
    "uuid": 42415004,
    "type": "user",
    "name": "Toshikazu Matsumura",
    "followers": 4
  },
  "_downloads": {
    "count": 257,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/screenshot"
  },
  "_devurl": "https://github.com/matutosi/screenshot",
  "_pkgdown": "https://matutosi.github.io/screenshot/",
  "_searchresults": 15,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/screenshot.html",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/matutosi/screenshot",
  "_realowner": "matutosi",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.9.0",
      "date": "2023-08-14"
    },
    {
      "version": "0.9.1",
      "date": "2024-05-30"
    },
    {
      "version": "0.9.2",
      "date": "2025-08-27"
    }
  ],
  "_exports": [
    "bitmap2png",
    "clipboard2bitmap",
    "compare_table",
    "count_val_freq",
    "create_header",
    "crop_image",
    "display_corner",
    "display_size",
    "get_clipboard_image",
    "get_os",
    "hay2needle",
    "hex2little_endian",
    "image2gray_matrix",
    "index2xy",
    "install_screenshot",
    "locate_image",
    "locate_ndl_in_hay",
    "reset_transparent",
    "save_bmp",
    "save_clipboard_image",
    "screenshot",
    "screenshot_exists",
    "xy_pos"
  ],
  "_datasets": [
    {
      "name": "clipboard_sample",
      "title": "Sample data of clipboard bitmap array",
      "object": "clipboard_sample",
      "class": [
        "raw"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bitmap2png",
      "title": "Converts a bitmap image to PNG using",
      "topics": [
        "bitmap2png"
      ]
    },
    {
      "page": "clipboard_sample",
      "title": "Sample data of clipboard bitmap array",
      "topics": [
        "clipboard_sample"
      ]
    },
    {
      "page": "clipboard2bitmap",
      "title": "Save clipboard image to temporary BMP file",
      "topics": [
        "clipboard2bitmap"
      ]
    },
    {
      "page": "compare_table",
      "title": "Compare values within tow arrays or matrices. Helper function for 'locate_ndl_in_hay()'.",
      "topics": [
        "compare_table"
      ]
    },
    {
      "page": "count_val_freq",
      "title": "Helper function for 'compare_table()'.",
      "topics": [
        "count_val_freq"
      ]
    },
    {
      "page": "create_header",
      "title": "Create a BMP header",
      "topics": [
        "create_header"
      ]
    },
    {
      "page": "crop_image",
      "title": "Cut off a part of image from a whole image.",
      "topics": [
        "crop_image",
        "hay2needle"
      ]
    },
    {
      "page": "display_corner",
      "title": "Get display corner of screen",
      "topics": [
        "display_corner"
      ]
    },
    {
      "page": "display_size",
      "title": "Get the size of the display.",
      "topics": [
        "display_size"
      ]
    },
    {
      "page": "get_clipboard_image",
      "title": "Retrieves the image from the clipboard",
      "topics": [
        "get_clipboard_image"
      ]
    },
    {
      "page": "get_os",
      "title": "Get OS name",
      "topics": [
        "get_os"
      ]
    },
    {
      "page": "hex2little_endian",
      "title": "Convert hexadecimal string to little-endian",
      "topics": [
        "hex2little_endian"
      ]
    },
    {
      "page": "image2gray_matrix",
      "title": "Convert cimg class into grayscale xy matrix. Helper function for 'locate_image()'. Use grayscale to Speed up and to simplify code.",
      "topics": [
        "image2gray_matrix"
      ]
    },
    {
      "page": "index2xy",
      "title": "Convert array index into xy location in matrix. Helper function for 'locate_ndl_in_hay()'.",
      "topics": [
        "index2xy"
      ]
    },
    {
      "page": "install_screenshot",
      "title": "Install command line screenshot for Windows.",
      "topics": [
        "install_screenshot"
      ]
    },
    {
      "page": "is_all_same",
      "title": "Helper function for 'locate_ndl_in_hay()'.",
      "topics": [
        "is_all_same"
      ]
    },
    {
      "page": "locate_image",
      "title": "Locate needle image position on a screenshot image.",
      "topics": [
        "locate_image"
      ]
    },
    {
      "page": "locate_ndl_in_hay",
      "title": "Locate needle image matrix position in a haystack_image matrix. Helper function for 'locate_image()'.",
      "topics": [
        "locate_ndl_in_hay"
      ]
    },
    {
      "page": "reset_transparent",
      "title": "Reset transparent background of an image",
      "topics": [
        "reset_transparent"
      ]
    },
    {
      "page": "save_bmp",
      "title": "Save an image as a BMP file",
      "topics": [
        "save_bmp"
      ]
    },
    {
      "page": "save_clipboard_image",
      "title": "Saves an image from the clipboard to a file",
      "topics": [
        "save_clipboard_image"
      ]
    },
    {
      "page": "screenshot",
      "title": "Take a screenshot.",
      "topics": [
        "screenshot"
      ]
    },
    {
      "page": "screenshot_exists",
      "title": "Find screenshot exec file.",
      "topics": [
        "screenshot_exists"
      ]
    },
    {
      "page": "xy_pos",
      "title": "Get xy position of a value in a matrix Helper function for 'locate_ndl_in_hay()'.",
      "topics": [
        "xy_pos"
      ]
    }
  ],
  "_readme": "https://github.com/matutosi/screenshot/raw/HEAD/README.md",
  "_rundeps": [
    "bmp",
    "cli",
    "cpp11",
    "curl",
    "digest",
    "downloader",
    "dplyr",
    "fs",
    "generics",
    "glue",
    "igraph",
    "imager",
    "jpeg",
    "lattice",
    "lifecycle",
    "magick",
    "magrittr",
    "Matrix",
    "pillar",
    "pkgconfig",
    "png",
    "purrr",
    "R6",
    "Rcpp",
    "readbitmap",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyselect",
    "tiff",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_score": 3.1760912590556813,
  "_indexed": true,
  "_nocasepkg": "screenshot",
  "_universes": [
    "matutosi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.9.2",
      "date": "2026-07-07T06:52:25.000Z",
      "distro": "resolute",
      "commit": "878b653892dd30115162f255b9c49afc6f42f144",
      "fileid": "https://r2.ropensci.org/ba5125447957f635e06ba962a94aba22a8d3f44dab82bfb45b9cae2ad7cc6d6e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matutosi/actions/runs/28847138432"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.9.2",
      "date": "2026-07-07T06:53:01.000Z",
      "distro": "resolute",
      "commit": "878b653892dd30115162f255b9c49afc6f42f144",
      "fileid": "https://r2.ropensci.org/1750bb7b7f219f90b6864fc47ec792043489bd3dee88416b3d68425af6f20e78",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matutosi/actions/runs/28847138432"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.9.2",
      "date": "2026-07-07T06:51:30.000Z",
      "commit": "878b653892dd30115162f255b9c49afc6f42f144",
      "fileid": "https://r2.ropensci.org/89571bbed98d42acfbc47c7f5050e70b9a5ce6cd82e3eacd28e53647a02cf98c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matutosi/actions/runs/28847138432"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.9.2",
      "date": "2026-07-07T06:51:53.000Z",
      "commit": "878b653892dd30115162f255b9c49afc6f42f144",
      "fileid": "https://r2.ropensci.org/561d999094aa91e8e59006c5dd94c2c1fb03961afe9b8427462eda2d4a8b3b1e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matutosi/actions/runs/28847138432"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.9.2",
      "date": "2026-07-07T06:52:48.000Z",
      "commit": "878b653892dd30115162f255b9c49afc6f42f144",
      "fileid": "https://r2.ropensci.org/076020877b27a3a9c9344837f3be2816bbf6078f0042ad21826396f9a55f2d21",
      "status": "success",
      "buildurl": "https://github.com/r-universe/matutosi/actions/runs/28847138432"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.9.2",
      "date": "2026-07-07T06:51:41.000Z",
      "commit": "878b653892dd30115162f255b9c49afc6f42f144",
      "fileid": "https://r2.ropensci.org/b55e44d318193d5ec25c05d93c50c822039d52690362103ee7251021d7db84ec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matutosi/actions/runs/28847138432"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.9.2",
      "date": "2026-07-07T06:51:22.000Z",
      "commit": "878b653892dd30115162f255b9c49afc6f42f144",
      "fileid": "https://r2.ropensci.org/5722709969f346f50050dbd630e92b4ed8d52d082e574f7347a59d68aeb8f9f9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matutosi/actions/runs/28847138432"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.9.2",
      "date": "2026-07-07T06:51:35.000Z",
      "commit": "878b653892dd30115162f255b9c49afc6f42f144",
      "fileid": "https://r2.ropensci.org/76f8e5f46a54fffbd0018bd51f7e86971efc6811b138c9d3a2b5a0ea712de838",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/matutosi/actions/runs/28847138432"
    }
  ]
}