{
  "_id": "6b10e03a5a51d72bd77d630d",
  "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-12-03 03:15:15 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>)",
  "_user": "coolbutuseless",
  "_type": "src",
  "_file": "ctypesio_0.1.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/68e10f97bf69a0480ef642c5fe69d42946be61a7b40d495dd123ca1163e2ab44",
  "_filesize": 455830,
  "_sha256": "68e10f97bf69a0480ef642c5fe69d42946be61a7b40d495dd123ca1163e2ab44",
  "_expires": "2027-03-13T03:21:28.000Z",
  "_created": "2026-12-03T03:15:15.000Z",
  "_published": "2026-12-03T03:21:30.385Z",
  "_upstream": "https://github.com/coolbutuseless/ctypesio",
  "_status": "success",
  "_maintainer": {
    "name": "Mike Cheng",
    "email": "mikefc@coolbutuseless.com",
    "login": "coolbutuseless",
    "description": "Cool, but useless.",
    "uuid": 181818
  },
  "_jobs": [
    {
      "job": 143979796487,
      "time": 112,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15681082604"
    },
    {
      "job": 143979796540,
      "time": 151,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15681728167"
    },
    {
      "job": 143979796576,
      "time": 136,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15680962650"
    },
    {
      "job": 143979796593,
      "time": 150,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15682031410"
    },
    {
      "job": 143979796479,
      "time": 107,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "15682155068"
    },
    {
      "job": 143979796497,
      "time": 241,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "15681871115"
    },
    {
      "job": 143979796524,
      "time": 111,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15681467084"
    },
    {
      "job": 143979796549,
      "time": 274,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15680399664"
    },
    {
      "job": 143978158258,
      "time": 223,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15681411802"
    },
    {
      "job": 143979796513,
      "time": 80,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "15682365265"
    },
    {
      "job": 143979796602,
      "time": 333,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15682306239"
    },
    {
      "job": 143979796551,
      "time": 91,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15681297063"
    },
    {
      "job": 143979796619,
      "time": 77,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "15681317118"
    },
    {
      "job": 143979796555,
      "time": 329,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15681527469"
    },
    {
      "job": 143979796590,
      "time": 67,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15681147341"
    }
  ],
  "_buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47025708378",
  "_commit": {
    "id": "e1b4eda59a77a0b74a7c4523a3ba8dbbd6baaa09",
    "author": "mike <mikefc@coolbutuseless.com>",
    "committer": "mike <mikefc@coolbutuseless.com>",
    "message": "Version bump for CRAN [no ci]\n",
    "time": 1753692242
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": [],
  "_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",
    "followers": 794,
    "description": "Cool, but useless."
  },
  "_downloads": {
    "count": 442,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ctypesio"
  },
  "_devurl": "https://github.com/coolbutuseless/ctypesio",
  "_searchresults": 6,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ctypesio.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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"
    }
  ],
  "_authors": [
    {
      "name": "Mike Cheng",
      "email": "mikefc@coolbutuseless.com",
      "role": [
        "aut",
        "cre",
        "cph"
      ]
    },
    {
      "name": "Anne Fu",
      "orcid": "0000-0002-9025-6071",
      "role": [
        "ctb"
      ]
    }
  ],
  "_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.623249290397901,
  "_indexed": true,
  "_nocasepkg": "ctypesio",
  "_universes": [
    "coolbutuseless"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-12-03T03:17:17.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e1b4eda59a77a0b74a7c4523a3ba8dbbd6baaa09",
      "fileid": "https://r2.ropensci.org/9c60a9d1a0371745ac3cdf21b3e8a351a12eb0d5dd54be6a9844b072d661abee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47025708378"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-12-03T03:17:48.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e1b4eda59a77a0b74a7c4523a3ba8dbbd6baaa09",
      "fileid": "https://r2.ropensci.org/131d3e376c7ddf79fc2fcca6a2dc0cc2b4aaafd934ff46fae14b24412080bc29",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47025708378"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-12-03T03:17:42.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e1b4eda59a77a0b74a7c4523a3ba8dbbd6baaa09",
      "fileid": "https://r2.ropensci.org/5189f2346916a2cbd7599eea6d537135e63bbed1789d8a8a173f2804fb446eff",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47025708378"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-12-03T03:17:51.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e1b4eda59a77a0b74a7c4523a3ba8dbbd6baaa09",
      "fileid": "https://r2.ropensci.org/2e8468fde494e67a470e58742bed2d63ef914a51c68c538333e129d8d5c47789",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47025708378"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-12-03T03:17:04.000Z",
      "arch": "aarch64",
      "commit": "e1b4eda59a77a0b74a7c4523a3ba8dbbd6baaa09",
      "fileid": "https://r2.ropensci.org/604944d60579d43af167d6138a1f33f2d44b0b880bc2950aa509a7c5c5e3f7a3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47025708378"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-12-03T03:18:52.000Z",
      "arch": "x86_64",
      "commit": "e1b4eda59a77a0b74a7c4523a3ba8dbbd6baaa09",
      "fileid": "https://r2.ropensci.org/42427c293eebfff09e406e145e2f62af5d2845771c6921fde36010aa652e8996",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47025708378"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-12-03T03:17:05.000Z",
      "arch": "aarch64",
      "commit": "e1b4eda59a77a0b74a7c4523a3ba8dbbd6baaa09",
      "fileid": "https://r2.ropensci.org/111e2aba8954b745cf68e9edbcecb8e8faead7ef9766cde65b29ab9383bcbbc3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47025708378"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-12-03T03:19:04.000Z",
      "arch": "x86_64",
      "commit": "e1b4eda59a77a0b74a7c4523a3ba8dbbd6baaa09",
      "fileid": "https://r2.ropensci.org/1117e3e1fd72c321682ec52c9167eb13b9d5c19ec1ffb0979eed2ee875fb28bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47025708378"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3",
      "date": "2026-12-03T03:16:55.000Z",
      "arch": "emscripten",
      "commit": "e1b4eda59a77a0b74a7c4523a3ba8dbbd6baaa09",
      "fileid": "https://r2.ropensci.org/eeec74d915580f3f994a052cbd17d697ff50b643b0a88b542ae1a7130367ece1",
      "status": "success",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47025708378"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-12-03T03:20:43.000Z",
      "arch": "aarch64",
      "commit": "e1b4eda59a77a0b74a7c4523a3ba8dbbd6baaa09",
      "fileid": "https://r2.ropensci.org/391a3856cf14dbe87f80aa29f9d36568a08a0135a25f976cdd2648d3a5ab22dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47025708378"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-12-03T03:16:15.000Z",
      "arch": "x86_64",
      "commit": "e1b4eda59a77a0b74a7c4523a3ba8dbbd6baaa09",
      "fileid": "https://r2.ropensci.org/fe65f0c5dcd474efc9133425b75e9762be9037535a117e40ded84dc02682035e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47025708378"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-12-03T03:16:26.000Z",
      "arch": "x86_64",
      "commit": "e1b4eda59a77a0b74a7c4523a3ba8dbbd6baaa09",
      "fileid": "https://r2.ropensci.org/757f93a20f05e0b4614456a85abc5fc67cb510be1bf4eb0acf428cd3f5975da7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47025708378"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-12-03T03:20:42.000Z",
      "arch": "aarch64",
      "commit": "e1b4eda59a77a0b74a7c4523a3ba8dbbd6baaa09",
      "fileid": "https://r2.ropensci.org/08d5702777252b194d32b5819ac4b1aaba6962731311315272eef21b6310461c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47025708378"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-12-03T03:16:19.000Z",
      "arch": "x86_64",
      "commit": "e1b4eda59a77a0b74a7c4523a3ba8dbbd6baaa09",
      "fileid": "https://r2.ropensci.org/39fa10a5a73f461366019742f15af83606be6ec61cfee8bb44857fa5ca9c5902",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/coolbutuseless/actions/runs/47025708378"
    }
  ]
}