{
  "_id": "6a12c284acfb0bcc41d1e42b",
  "Package": "ctypesio",
  "Type": "Package",
  "Title": "Read and Write Standard 'C' Types from Files, Connections and\nRaw Vectors",
  "Version": "0.1.3",
  "Authors@R": "c(\nperson(\"Mike\", \"Cheng\", role = c(\"aut\", \"cre\", 'cph'), email = \"mikefc@coolbutuseless.com\"),\nperson(\"Anne\", \"Fu\", role = \"ctb\", comment = c(\"Better UTF-8 support\", ORCID = \"0000-0002-9025-6071\"))\n)",
  "Maintainer": "Mike Cheng <mikefc@coolbutuseless.com>",
  "Description": "Interacting with binary files can be difficult because R's\ntypes are a subset of what is generally supported by 'C'.  This\npackage provides a suite of functions for reading and writing\nbinary data (with files, connections, and raw vectors) using\n'C' type descriptions.  These functions convert data between\n'C' types and R types while checking for values outside the\ntype limits, 'NA' values, etc.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/coolbutuseless/ctypesio",
  "BugReports": "https://github.com/coolbutuseless/ctypesio/issues",
  "Repository": "https://coolbutuseless.r-universe.dev",
  "Date/Publication": "2025-07-28 08:44:02 UTC",
  "RemoteUrl": "https://github.com/coolbutuseless/ctypesio",
  "RemoteRef": "HEAD",
  "RemoteSha": "e1b4eda59a77a0b74a7c4523a3ba8dbbd6baaa09",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-24 09:15:18 UTC",
    "User": "root"
  },
  "Author": "Mike Cheng [aut, cre, cph],\nAnne Fu [ctb] (Better UTF-8 support, ORCID:\n<https://orcid.org/0000-0002-9025-6071>)",
  "MD5sum": "fca2829420dc792e31bf41b47b01744c",
  "_user": "coolbutuseless",
  "_type": "src",
  "_file": "ctypesio_0.1.3.tar.gz",
  "_fileid": "dd6932f8d746a46766919a5ec542de0b420eed499ad09bba76381ae2447d008f",
  "_filesize": 458195,
  "_sha256": "dd6932f8d746a46766919a5ec542de0b420eed499ad09bba76381ae2447d008f",
  "_created": "2026-05-24T09:15:18.000Z",
  "_published": "2026-05-24T10:17:11.195Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77586322732,
      "time": 125,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183958905"
    },
    {
      "job": 77586322736,
      "time": 116,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183958099"
    },
    {
      "job": 77586322737,
      "time": 110,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183957555"
    },
    {
      "job": 77586322726,
      "time": 128,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183959185"
    },
    {
      "job": 77586322758,
      "time": 92,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7183955438"
    },
    {
      "job": 77586322747,
      "time": 195,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7183966202"
    },
    {
      "job": 77586322752,
      "time": 97,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183956044"
    },
    {
      "job": 77586322754,
      "time": 167,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183963393"
    },
    {
      "job": 77586170806,
      "time": 159,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183945505"
    },
    {
      "job": 77586322676,
      "time": 102,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183956625"
    },
    {
      "job": 77586322701,
      "time": 92,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7183955552"
    },
    {
      "job": 77586322713,
      "time": 75,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7183953693"
    },
    {
      "job": 77586322689,
      "time": 76,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183953713"
    }
  ],
  "_buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/26357252555",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/coolbutuseless/ctypesio",
  "_commit": {
    "id": "e1b4eda59a77a0b74a7c4523a3ba8dbbd6baaa09",
    "author": "mike <mikefc@coolbutuseless.com>",
    "committer": "mike <mikefc@coolbutuseless.com>",
    "message": "Version bump for CRAN [no ci]\n",
    "time": 1753692242
  },
  "_maintainer": {
    "name": "Mike Cheng",
    "email": "mikefc@coolbutuseless.com",
    "login": "coolbutuseless",
    "description": "Cool, but useless.",
    "uuid": 181818
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "jpeg",
      "role": "Suggests"
    }
  ],
  "_owner": "coolbutuseless",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [
    {
      "week": "2025-30",
      "n": 1
    },
    {
      "week": "2025-31",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 7,
  "_contributors": [
    {
      "user": "coolbutuseless",
      "count": 41,
      "uuid": 181818
    },
    {
      "user": "eternal-flame-ad",
      "count": 1,
      "uuid": 35571479
    }
  ],
  "_userbio": {
    "uuid": 181818,
    "type": "user",
    "name": "mikefc",
    "description": "Cool, but useless."
  },
  "_downloads": {
    "count": 183,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ctypesio"
  },
  "_devurl": "https://github.com/coolbutuseless/ctypesio",
  "_searchresults": 6,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ctypesio.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/coolbutuseless/ctypesio",
  "_realowner": "coolbutuseless",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2024-10-16"
    },
    {
      "version": "0.1.2",
      "date": "2025-01-18"
    },
    {
      "version": "0.1.3",
      "date": "2025-08-01"
    }
  ],
  "_exports": [
    "aperm_array_to_vector",
    "aperm_vector_to_array",
    "flip_endian",
    "fprintf",
    "fprintf_raw",
    "read_bfloat",
    "read_dbl",
    "read_f16",
    "read_f32",
    "read_f64",
    "read_float",
    "read_half",
    "read_hex",
    "read_int16",
    "read_int32",
    "read_int64",
    "read_int8",
    "read_raw",
    "read_str",
    "read_str_raw",
    "read_uint16",
    "read_uint32",
    "read_uint64",
    "read_uint8",
    "read_utf8",
    "read_utf8_raw",
    "scan_dbl",
    "scan_int",
    "scan_str",
    "set_bounds_check",
    "set_endian",
    "set_eof_check",
    "set_integer_promotion",
    "set_na_check",
    "write_dbl",
    "write_f16",
    "write_f32",
    "write_f64",
    "write_half",
    "write_hex",
    "write_int16",
    "write_int32",
    "write_int64",
    "write_int8",
    "write_raw",
    "write_single",
    "write_uint16",
    "write_uint32",
    "write_uint64",
    "write_uint8",
    "write_utf8",
    "write_utf8_raw"
  ],
  "_help": [
    {
      "page": "aperm_array_to_vector",
      "title": "Permute an R array to a linear vector of data",
      "concept": [
        "data permutation functions"
      ],
      "topics": [
        "aperm_array_to_vector"
      ]
    },
    {
      "page": "aperm_vector_to_array",
      "title": "Permute a linear vector of data into an R array",
      "concept": [
        "data permutation functions"
      ],
      "topics": [
        "aperm_vector_to_array"
      ]
    },
    {
      "page": "flip_endian",
      "title": "Flip the endianness of elements in a vector",
      "concept": [
        "data permutation functions"
      ],
      "topics": [
        "flip_endian"
      ]
    },
    {
      "page": "fprintf",
      "title": "Print formatted strings to a connection",
      "concept": [
        "data output functions"
      ],
      "topics": [
        "fprintf",
        "fprintf_raw"
      ]
    },
    {
      "page": "read_f64",
      "title": "Read floating point values from a connection",
      "concept": [
        "data input functions"
      ],
      "topics": [
        "read_bfloat",
        "read_dbl",
        "read_f16",
        "read_f32",
        "read_f64",
        "read_float",
        "read_half"
      ]
    },
    {
      "page": "read_hex",
      "title": "Read bytes as hexadecimal strings",
      "concept": [
        "data input functions"
      ],
      "topics": [
        "read_hex"
      ]
    },
    {
      "page": "read_raw",
      "title": "Read raw bytes",
      "concept": [
        "data input functions"
      ],
      "topics": [
        "read_raw"
      ]
    },
    {
      "page": "read_str",
      "title": "Read a character string from a connection",
      "concept": [
        "data input functions"
      ],
      "topics": [
        "read_str",
        "read_str_raw",
        "read_utf8",
        "read_utf8_raw"
      ]
    },
    {
      "page": "read_uint8",
      "title": "Read integer data from a connection",
      "concept": [
        "data input functions"
      ],
      "topics": [
        "read_int16",
        "read_int32",
        "read_int64",
        "read_int8",
        "read_uint16",
        "read_uint32",
        "read_uint64",
        "read_uint8"
      ]
    },
    {
      "page": "scan_dbl",
      "title": "Read values encoded as characters strings",
      "concept": [
        "data input functions"
      ],
      "topics": [
        "scan_dbl",
        "scan_int",
        "scan_str"
      ]
    },
    {
      "page": "set_bounds_check",
      "title": "For this connection, set the response when values do not fit into given type before writing.",
      "concept": [
        "connection configuration functions"
      ],
      "topics": [
        "set_bounds_check"
      ]
    },
    {
      "page": "set_endian",
      "title": "Tag a connection with the preferred endianness",
      "concept": [
        "connection configuration functions"
      ],
      "topics": [
        "set_endian"
      ]
    },
    {
      "page": "set_eof_check",
      "title": "Set EOF (End-of-file) handling for this connection",
      "concept": [
        "connection configuration functions"
      ],
      "topics": [
        "set_eof_check"
      ]
    },
    {
      "page": "set_integer_promotion",
      "title": "Tag a connection with the preferred integer promotion method for types larger that R's integer type i.e. uint32, uint64, int64",
      "concept": [
        "connection configuration functions"
      ],
      "topics": [
        "set_integer_promotion"
      ]
    },
    {
      "page": "set_na_check",
      "title": "Check for NAs in values before writing",
      "concept": [
        "connection configuration functions"
      ],
      "topics": [
        "set_na_check"
      ]
    },
    {
      "page": "write_f64",
      "title": "Convert values to the given type and write to a connection",
      "concept": [
        "data output functions"
      ],
      "topics": [
        "write_dbl",
        "write_f16",
        "write_f32",
        "write_f64",
        "write_half",
        "write_single"
      ]
    },
    {
      "page": "write_hex",
      "title": "Write hexadecimal string as raw bytes",
      "concept": [
        "data output functions"
      ],
      "topics": [
        "write_hex"
      ]
    },
    {
      "page": "write_raw",
      "title": "Write raw bytes",
      "concept": [
        "data output functions"
      ],
      "topics": [
        "write_raw"
      ]
    },
    {
      "page": "write_uint8",
      "title": "Convert values to the given type and write to a connection",
      "concept": [
        "data output functions"
      ],
      "topics": [
        "write_int16",
        "write_int32",
        "write_int64",
        "write_int8",
        "write_uint16",
        "write_uint32",
        "write_uint64",
        "write_uint8"
      ]
    },
    {
      "page": "write_utf8",
      "title": "Write UTF8 string",
      "concept": [
        "data output functions"
      ],
      "topics": [
        "write_utf8",
        "write_utf8_raw"
      ]
    }
  ],
  "_readme": "https://github.com/coolbutuseless/ctypesio/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "wave-format.Rmd",
      "filename": "wave-format.html",
      "title": "Handcrafting a WAV file",
      "engine": "knitr::rmarkdown",
      "headings": [
        "WAV files",
        "WAV file structure",
        "Audio waveform",
        "Write the WAV file",
        "Play the audio",
        "Parsing a WAV file",
        "ctypesio is pipe-friendly"
      ],
      "created": "2024-10-06 05:56:13",
      "modified": "2024-10-06 05:56:13",
      "commits": 1
    },
    {
      "source": "parse-jpeg.Rmd",
      "filename": "parse-jpeg.html",
      "title": "Parsing JPEG Markers",
      "engine": "knitr::rmarkdown",
      "headings": [
        "JPEG Overview",
        "JPEG markers",
        "Example JPEG file",
        "What does the binary data in the JPEG look like?",
        "Process all chcunks"
      ],
      "created": "2024-10-05 13:11:55",
      "modified": "2024-10-05 22:32:18",
      "commits": 2
    }
  ],
  "_score": 5.924279286061882,
  "_indexed": true,
  "_nocasepkg": "ctypesio",
  "_universes": [
    "coolbutuseless"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-05-24T09:17:25.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "e1b4eda59a77a0b74a7c4523a3ba8dbbd6baaa09",
      "fileid": "473388a4089b50d5959b933d0b6bb1082902dcf6ba8c8422499c596ed5e4388c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/26357252555"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-05-24T09:17:14.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "e1b4eda59a77a0b74a7c4523a3ba8dbbd6baaa09",
      "fileid": "9bc59f36d9e165e3e6fc96467210b1a9b63ab4e931889d8a2d8f596926756966",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/26357252555"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-05-24T09:17:13.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "e1b4eda59a77a0b74a7c4523a3ba8dbbd6baaa09",
      "fileid": "8eee682f37be992f9cff722a073d87678c5218a678ec93731ca1ee9dbeadc472",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/26357252555"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-05-24T09:17:25.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "e1b4eda59a77a0b74a7c4523a3ba8dbbd6baaa09",
      "fileid": "37535b4f07357d3cd70275642b987e08a3d7f2190246ca073a340c9d5b531a6a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/26357252555"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-05-24T09:16:51.000Z",
      "arch": "aarch64",
      "commit": "e1b4eda59a77a0b74a7c4523a3ba8dbbd6baaa09",
      "fileid": "ab8126cc97b35d8a35e9f739c197193a725afa243f51c69d2e19c5e5e6ae4217",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/26357252555"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-05-24T09:18:21.000Z",
      "arch": "x86_64",
      "commit": "e1b4eda59a77a0b74a7c4523a3ba8dbbd6baaa09",
      "fileid": "898fde5ba8c467c05c44844711cbe169fe4429a275b1cbb342d2b46ffd14eac4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/26357252555"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-05-24T09:16:55.000Z",
      "arch": "aarch64",
      "commit": "e1b4eda59a77a0b74a7c4523a3ba8dbbd6baaa09",
      "fileid": "7fe82bec2b4acc3abae23ea24f309ce6f7ce86022e22775565ea96719919be3f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/26357252555"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-05-24T09:17:56.000Z",
      "arch": "x86_64",
      "commit": "e1b4eda59a77a0b74a7c4523a3ba8dbbd6baaa09",
      "fileid": "4145284f4734a3a93da56f5edb656545e11dabf400059e9917b9e536727c8066",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/26357252555"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3",
      "date": "2026-05-24T09:17:13.000Z",
      "arch": "emscripten",
      "commit": "e1b4eda59a77a0b74a7c4523a3ba8dbbd6baaa09",
      "fileid": "392481fb7db37c239e72fd98c1270f5b66f0991ec93a6eee233d8d90bfc45a43",
      "status": "success",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/26357252555"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-05-24T09:16:40.000Z",
      "arch": "x86_64",
      "commit": "e1b4eda59a77a0b74a7c4523a3ba8dbbd6baaa09",
      "fileid": "4a0e6b3d7d4c102c215f5b54f1355090f2138f0b0d095f7a3a3021c63db13431",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/26357252555"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-05-24T09:16:21.000Z",
      "arch": "x86_64",
      "commit": "e1b4eda59a77a0b74a7c4523a3ba8dbbd6baaa09",
      "fileid": "96889859482ec50a75b6c82f5c609aef38ef9b38c4770a0d745e52a9b2f51811",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/26357252555"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-05-24T09:16:23.000Z",
      "arch": "x86_64",
      "commit": "e1b4eda59a77a0b74a7c4523a3ba8dbbd6baaa09",
      "fileid": "a1f87bd64f88504731eeceff2b7764c5aff73e9c4b19e604498b80c844e2379c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/26357252555"
    }
  ]
}