{
  "_id": "6a0f6db8acfb0bcc41c5eca3",
  "Package": "cdlsim",
  "Title": "Simulate Cropland Data Layer Products from the United States\nDepartment of Agriculture",
  "Version": "0.1.0",
  "Authors@R": "person(\"Haley\", \"Burger\", , \"A02425259@usu.edu\", role = c(\"aut\", \"cre\", \"cph\"))",
  "Description": "Provides simulation tools for categorical raster data\n(e.g., 'SpatRaster' from the terra package). Designed to\nsimulate edge pixel values from a SpatRaster object on\nreclassified data derived from the United States Department of\nAgriculture's Cropland Data Layer (CDL) products.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libgdal-dev gdal-bin libgeos-dev libproj-dev\nlibsqlite3-dev",
  "Repository": "https://burgerhaley97.r-universe.dev",
  "Date/Publication": "2025-07-23 20:54:33 UTC",
  "RemoteUrl": "https://github.com/burgerhaley97/cdlsim",
  "RemoteRef": "HEAD",
  "RemoteSha": "accfd5f053cfb2a520b4da088c70ba49fde50ea6",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-21 08:01:23 UTC",
    "User": "root"
  },
  "Author": "Haley Burger [aut, cre, cph]",
  "Maintainer": "Haley Burger <A02425259@usu.edu>",
  "MD5sum": "d36df3b131e2b046c6e2a28b57bb7418",
  "_user": "burgerhaley97",
  "_type": "src",
  "_file": "cdlsim_0.1.0.tar.gz",
  "_fileid": "c7434689f95784020455bf4feb896ef3cb440791d08c76eeb55392c2d634dc80",
  "_filesize": 587101,
  "_sha256": "c7434689f95784020455bf4feb896ef3cb440791d08c76eeb55392c2d634dc80",
  "_created": "2026-05-21T08:01:23.000Z",
  "_published": "2026-05-21T20:40:23.996Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77264244776,
      "time": 153,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7130397538"
    },
    {
      "job": 77264244880,
      "time": 164,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7130401838"
    },
    {
      "job": 77264245131,
      "time": 160,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7130399995"
    },
    {
      "job": 77264244713,
      "time": 183,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7130408095"
    },
    {
      "job": 77264245645,
      "time": 191,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7130399281"
    },
    {
      "job": 77264245543,
      "time": 331,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7130447768"
    },
    {
      "job": 77264244813,
      "time": 205,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7130401481"
    },
    {
      "job": 77264244861,
      "time": 321,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7130443969"
    },
    {
      "job": 77264244437,
      "time": 250,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7130348158"
    },
    {
      "job": 77264244254,
      "time": 131,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7146677711"
    },
    {
      "job": 77264244735,
      "time": 204,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7130414848"
    },
    {
      "job": 77264245839,
      "time": 159,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7130399650"
    },
    {
      "job": 77264244725,
      "time": 134,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7130391547"
    }
  ],
  "_buildurl": "https://github.com/r-universe/burgerhaley97/actions/runs/26213257167",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/burgerhaley97/cdlsim",
  "_commit": {
    "id": "accfd5f053cfb2a520b4da088c70ba49fde50ea6",
    "author": "Haley Burger <A02425259@aggies.usu.edu>",
    "committer": "Haley Burger <A02425259@aggies.usu.edu>",
    "message": "fix description\n",
    "time": 1753304073
  },
  "_maintainer": {
    "name": "Haley Burger",
    "email": "a02425259@usu.edu",
    "login": "burgerhaley97",
    "description": "",
    "uuid": 96145802
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "landscapemetrics",
      "role": "Imports"
    },
    {
      "package": "readxl",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "burgerhaley97",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-30",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 2,
  "_userbio": {
    "uuid": 96145802,
    "type": "user",
    "name": "burgerhaley97"
  },
  "_downloads": {
    "count": 554,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/cdlsim"
  },
  "_devurl": "https://github.com/burgerhaley97/cdlsim",
  "_searchresults": 0,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/cdlsim.html",
    "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",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/burgerhaley97/cdlsim",
  "_realowner": "burgerhaley97",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-04-20"
    }
  ],
  "_exports": [
    "download_cdl_mat_files",
    "get_mat_data",
    "get_trans_mat",
    "simulate_raster_patch"
  ],
  "_help": [
    {
      "page": "collapse_and_combined",
      "title": "Function to resize patches in a SpatRaster using the terra and landscapemetrics packages",
      "topics": [
        "collapse_and_combined"
      ]
    },
    {
      "page": "download_cdl_mat_files",
      "title": "Function to Read in and upzip confusion matrix files from the web",
      "topics": [
        "download_cdl_mat_files"
      ]
    },
    {
      "page": "find_patches",
      "title": "Function to resize patches in a SpatRaster using the terra and landscapemetrics packages",
      "topics": [
        "find_patches"
      ]
    },
    {
      "page": "generate_transition_vectors",
      "title": "Function to generate transition vectors for negative cell values",
      "topics": [
        "generate_transition_vectors"
      ]
    },
    {
      "page": "get_mat_data",
      "title": "Function to retrieve confusion matrix data for multiple states of interest",
      "topics": [
        "get_mat_data"
      ]
    },
    {
      "page": "get_mat_data_dep",
      "title": "Function to retrieve confusion matrix data for multiple states of interest",
      "topics": [
        "get_mat_data_dep"
      ]
    },
    {
      "page": "get_trans_mat",
      "title": "Function to format the confusion matrices as transition matrices",
      "topics": [
        "get_trans_mat"
      ]
    },
    {
      "page": "get_trans_mat_dep",
      "title": "Function to format the confusion matrices as transition matrices",
      "topics": [
        "get_trans_mat_dep"
      ]
    },
    {
      "page": "modify_matrix",
      "title": "Function to modify transition matrix based on user input.",
      "topics": [
        "modify_matrix"
      ]
    },
    {
      "page": "simulate_raster_patch",
      "title": "Function to simulate tagged patch values in a single layer spatraster.",
      "topics": [
        "simulate_raster_patch"
      ]
    }
  ],
  "_readme": "https://github.com/burgerhaley97/cdlsim/raw/HEAD/README.md",
  "_rundeps": [
    "cellranger",
    "cli",
    "cpp11",
    "crayon",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "hms",
    "isoband",
    "labeling",
    "landscapemetrics",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "progress",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "readxl",
    "rematch",
    "rlang",
    "S7",
    "scales",
    "terra",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "cdlsim-simulations.Rmd",
      "filename": "cdlsim-simulations.html",
      "title": "cdlsim-simulations",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The USDA Cropland Data Layer",
        "Package Functions",
        "What is a Patch?",
        "Installation",
        "The Simple Example",
        "The Bear Lake Watershed"
      ],
      "created": "2025-03-21 21:21:34",
      "modified": "2025-07-21 22:14:37",
      "commits": 4
    }
  ],
  "_score": 4,
  "_indexed": true,
  "_nocasepkg": "cdlsim",
  "_universes": [
    "burgerhaley97"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-21T08:03:41.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "accfd5f053cfb2a520b4da088c70ba49fde50ea6",
      "fileid": "3bc83dc97e5bfad6cf6465bb1e7a6c0619a8ccd9504742316d42369db4231287",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/burgerhaley97/actions/runs/26213257167"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-21T08:03:51.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "accfd5f053cfb2a520b4da088c70ba49fde50ea6",
      "fileid": "4a7c2c88a0fdb4cb3d0a447d9f7af2fd577406cbec38291912fe492e64d57e5b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/burgerhaley97/actions/runs/26213257167"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-21T08:03:51.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "accfd5f053cfb2a520b4da088c70ba49fde50ea6",
      "fileid": "74e61884aa2e9308f04def22625f47fb08f4161612ad7f6ca3f3b0447dc9ea93",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/burgerhaley97/actions/runs/26213257167"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-21T08:04:15.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "accfd5f053cfb2a520b4da088c70ba49fde50ea6",
      "fileid": "c637b5adceac1526e56af611f0f2f2b0a4874cbfbcd5ce13d7495ba1f1aefae5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/burgerhaley97/actions/runs/26213257167"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-21T08:03:50.000Z",
      "arch": "aarch64",
      "commit": "accfd5f053cfb2a520b4da088c70ba49fde50ea6",
      "fileid": "b7bae6988091652f6ef9fc86cf922c00c18431b2b24fc0934a778983185d0213",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/burgerhaley97/actions/runs/26213257167"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-21T08:05:32.000Z",
      "arch": "x86_64",
      "commit": "accfd5f053cfb2a520b4da088c70ba49fde50ea6",
      "fileid": "c401a62d6388e83756685838b194f8f0c9636f13a7d1f5f212464d3c17cfa4fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/burgerhaley97/actions/runs/26213257167"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-21T08:03:52.000Z",
      "arch": "aarch64",
      "commit": "accfd5f053cfb2a520b4da088c70ba49fde50ea6",
      "fileid": "53bb5b61518d2eeff080107e0c2371ff9fda44b209b2ce7ecb7257d1e0dfce69",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/burgerhaley97/actions/runs/26213257167"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-21T08:05:31.000Z",
      "arch": "x86_64",
      "commit": "accfd5f053cfb2a520b4da088c70ba49fde50ea6",
      "fileid": "ddd3bcd3ab866d2d1b1ba68dfd80f29ce6567704fec99cd3f2d579d9e4e18296",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/burgerhaley97/actions/runs/26213257167"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-05-21T20:39:56.000Z",
      "arch": "emscripten",
      "commit": "accfd5f053cfb2a520b4da088c70ba49fde50ea6",
      "fileid": "1d755a6bd383c6dffa30059c77ae110a5d56b02f2de077d7857ff683596b04d9",
      "status": "success",
      "buildurl": "https://github.com/r-universe/burgerhaley97/actions/runs/26213257167"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-21T08:04:07.000Z",
      "arch": "x86_64",
      "commit": "accfd5f053cfb2a520b4da088c70ba49fde50ea6",
      "fileid": "75863ae184b14bc2ae44e9a53853492596ab0cccae29e1aa4b38db3825ed72b2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/burgerhaley97/actions/runs/26213257167"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-21T08:03:10.000Z",
      "arch": "x86_64",
      "commit": "accfd5f053cfb2a520b4da088c70ba49fde50ea6",
      "fileid": "514b02484e059690c064ee5c74b408182aee8b85e245aa832fdb87f0a11589cf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/burgerhaley97/actions/runs/26213257167"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-21T08:02:51.000Z",
      "arch": "x86_64",
      "commit": "accfd5f053cfb2a520b4da088c70ba49fde50ea6",
      "fileid": "011f35120ae22d5c00a81f91142b2951701d3354cf5446b15f8416b5d10d97dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/burgerhaley97/actions/runs/26213257167"
    }
  ]
}