{
  "_id": "6a39c7f24c3da884a928e90c",
  "Package": "amc",
  "Type": "Package",
  "Title": "Alex's Miscellaneous Code",
  "Description": "A collection of variously useful functions and utilities.",
  "Version": "1.0.3",
  "Date": "2025-07-28",
  "Authors@R": "c(\nperson(c(\"Alex\", \"M\"), \"Chubaty\", email = \"achubaty@for-cast.ca\",\nrole = c(\"aut\", \"cre\", \"cph\"), comment = c(ORCID = \"0000-0001-7146-8135\")),\nperson(c(\"Eliot\", \"J\", \"B\"), \"McIntire\", email = \"eliot.mcintire@nrcan-rncan.gc.ca\",\nrole = c(\"ctb\")),\nperson(\"Ceres\", \"Barros\", email = \"ceresvbarros@hotmail.com\", role = c(\"ctb\")),\nperson(\"hrbrmstr\", role = c(\"ctb\")),\nperson(\"Jack\", \"Wasey\", role = c(\"ctb\")),\nperson(\"Josh\", \"O'Brien\", role = c(\"ctb\")),\nperson(\"mmfrgmpds\", role = c(\"ctb\"))\n)",
  "Remotes": [
    "PredictiveEcology/reproducible@development"
  ],
  "BugReports": "https://github.com/achubaty/amc/issues",
  "Language": "en-CA",
  "License": "GPL-3",
  "ByteCompile": "yes",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "Roxygen": "list(markdown = TRUE)",
  "Config/pak/sysreqs": "libabsl-dev cmake libgdal-dev gdal-bin libgeos-dev\nmake default-jdk libuv1-dev libssl-dev libproj-dev\nlibsqlite3-dev libudunits2-dev",
  "Repository": "https://predictiveecology.r-universe.dev",
  "Date/Publication": "2025-07-29 04:19:13 UTC",
  "RemoteUrl": "https://github.com/achubaty/amc",
  "RemoteRef": "development",
  "RemoteSha": "09a6f01363335d991d8139dffaac029881133f5d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-22 23:33:48 UTC",
    "User": "root"
  },
  "Author": "Alex M Chubaty [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0001-7146-8135>),\nEliot J B McIntire [ctb],\nCeres Barros [ctb],\nhrbrmstr [ctb],\nJack Wasey [ctb],\nJosh O'Brien [ctb],\nmmfrgmpds [ctb]",
  "Maintainer": "Alex M Chubaty <achubaty@for-cast.ca>",
  "MD5sum": "c263109b4cb90c0ed2bcb87c58ac5129",
  "_user": "predictiveecology",
  "_type": "src",
  "_file": "amc_1.0.3.tar.gz",
  "_fileid": "fff2ec03beba84f4ed8ff95c516cbb95e3aec48de4111406631dcd616d45c89d",
  "_filesize": 174544,
  "_sha256": "fff2ec03beba84f4ed8ff95c516cbb95e3aec48de4111406631dcd616d45c89d",
  "_created": "2026-06-22T23:33:48.000Z",
  "_published": "2026-06-22T23:40:34.474Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82844146572,
      "time": 353,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7807736813"
    },
    {
      "job": 82844146569,
      "time": 336,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7807732327"
    },
    {
      "job": 82844146568,
      "time": 124,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7807679155"
    },
    {
      "job": 82844146570,
      "time": 130,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7807680159"
    },
    {
      "job": 82843644173,
      "time": 223,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7807645491"
    },
    {
      "job": 82844146566,
      "time": 134,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7807680646"
    },
    {
      "job": 82844146567,
      "time": 215,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7807702881"
    },
    {
      "job": 82844146573,
      "time": 210,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7807701236"
    },
    {
      "job": 82844146599,
      "time": 273,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7807716861"
    }
  ],
  "_buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/27991138412",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/achubaty/amc",
  "_commit": {
    "id": "09a6f01363335d991d8139dffaac029881133f5d",
    "author": "Alex Chubaty <achubaty@for-cast.ca>",
    "committer": "Alex Chubaty <achubaty@for-cast.ca>",
    "message": "[skip ci] spelling\n",
    "time": 1753762753
  },
  "_maintainer": {
    "name": "Alex M Chubaty",
    "email": "achubaty@for-cast.ca",
    "login": "achubaty",
    "description": "Ecologist and simulation modeller, developing landscape-level models of insect dispersal and forest disturbance.",
    "uuid": 3435577,
    "orcid": "0000-0001-7146-8135"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.3",
      "role": "Depends"
    },
    {
      "package": "base64enc",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "digest",
      "role": "Imports"
    },
    {
      "package": "dismo",
      "role": "Imports"
    },
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "reproducible",
      "role": "Imports"
    },
    {
      "package": "raster",
      "version": ">= 3.3-13",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "sp",
      "role": "Imports"
    },
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "datasets",
      "role": "Suggests"
    },
    {
      "package": "rstudioapi",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "achubaty",
  "_selfowned": false,
  "_usedby": 6,
  "_updates": [
    {
      "week": "2025-31",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v1.0.3",
      "date": "2025-07-29"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "achubaty",
      "count": 260,
      "uuid": 3435577
    },
    {
      "user": "eliotmcintire",
      "count": 21,
      "uuid": 1100507
    },
    {
      "user": "tati-micheletti",
      "count": 1,
      "uuid": 33500569
    },
    {
      "user": "yongluo007",
      "count": 1,
      "uuid": 10466684
    }
  ],
  "_userbio": {
    "uuid": 10555025,
    "type": "organization",
    "name": "Predictive Ecology Group",
    "followers": 36,
    "description": "Ecological forecasting models and data"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/amc"
  },
  "_devurl": "https://github.com/achubaty/amc",
  "_searchresults": 8,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/amc.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"
  ],
  "_cranurl": false,
  "_exports": [
    ".gc",
    "binstr",
    "detachPackage",
    "dir.copy",
    "dl.data",
    "dt2raster",
    "flink",
    "geometricMean",
    "get_deps",
    "getFileName",
    "guesstimate",
    "harmonicMean",
    "hill",
    "inRange",
    "isRstudio",
    "loadkNNageMap",
    "loadObjects",
    "loadStudyArea",
    "logit",
    "min_r_version",
    "mosaic2",
    "outerBuffer",
    "pkgSrc",
    "rescale",
    "rmObjects",
    "rndstr",
    "saveObjects",
    "source_github",
    "sysmem",
    "td",
    "tf"
  ],
  "_help": [
    {
      "page": "gc",
      "title": "Manual garbage collection",
      "topics": [
        ".gc"
      ]
    },
    {
      "page": "binstr",
      "title": "Convert integer to binary string",
      "topics": [
        "binstr"
      ]
    },
    {
      "page": "detachAllPackages",
      "title": "Forcibly detach all packages",
      "topics": [
        "detachAllPackages"
      ]
    },
    {
      "page": "detachPackage",
      "title": "Detach and unload a package",
      "topics": [
        "detachPackage"
      ]
    },
    {
      "page": "dir_copy",
      "title": "Copy folders with links",
      "topics": [
        "dir.copy"
      ]
    },
    {
      "page": "dl.data",
      "title": "Intelligently download data",
      "topics": [
        "dl.data"
      ]
    },
    {
      "page": "dt2raster",
      "title": "Convert 'data.table' to a 'RasterLayer' for plotting, etc.",
      "topics": [
        "dt2raster"
      ]
    },
    {
      "page": "flink",
      "title": "Create a link to a file",
      "topics": [
        "flink"
      ]
    },
    {
      "page": "means",
      "title": "Geometric and harmonic mean",
      "topics": [
        "geometricMean",
        "harmonicMean"
      ]
    },
    {
      "page": "get_deps",
      "title": "Get package dependencies (offline)",
      "topics": [
        "get_deps"
      ]
    },
    {
      "page": "getFileName",
      "title": "Get the name of a 'source'-ed file",
      "topics": [
        "getFileName",
        "getFileName,logical-method"
      ]
    },
    {
      "page": "guesstimate",
      "title": "Guesstimate the number of CPUs for cluster operations",
      "topics": [
        "guesstimate"
      ]
    },
    {
      "page": "hill",
      "title": "Hill function",
      "topics": [
        "hill"
      ]
    },
    {
      "page": "inRange",
      "title": "Test whether a number lies within range [a,b]",
      "topics": [
        "inRange"
      ]
    },
    {
      "page": "isRstudio",
      "title": "Check whether R is running in an Rstudio session",
      "topics": [
        "isRstudio"
      ]
    },
    {
      "page": "loadkNNageMap",
      "title": "Load kNN stand age map",
      "topics": [
        "loadkNNageMap"
      ]
    },
    {
      "page": "rdata-objects",
      "title": "Load, save, and remove .RData objects",
      "topics": [
        "loadObjects",
        "rmObjects",
        "saveObjects"
      ]
    },
    {
      "page": "loadStudyArea",
      "title": "Load a study area from file",
      "topics": [
        "loadStudyArea"
      ]
    },
    {
      "page": "logit",
      "title": "Logit function",
      "topics": [
        "logit"
      ]
    },
    {
      "page": "min_r_version",
      "title": "Determine a package's minimum R version requirement based on its dependencies",
      "topics": [
        "min_r_version"
      ]
    },
    {
      "page": "mosaic2",
      "title": "Merge Raster* objects using a function for overlapping areas",
      "topics": [
        "mosaic2",
        "mosaic2,RasterLayer,RasterLayer-method",
        "mosaic2,SpatRaster,SpatRaster-method"
      ]
    },
    {
      "page": "outerBuffer",
      "title": "Draw convex hull around polygons",
      "topics": [
        "outerBuffer"
      ]
    },
    {
      "page": "pkgSrc",
      "title": "Determine source of installed packages",
      "topics": [
        "pkgSrc"
      ]
    },
    {
      "page": "rescale",
      "title": "Rescale values to a new range",
      "topics": [
        "rescale",
        "rescale.numeric",
        "rescale.RasterLayer",
        "rescale.SpatRaster"
      ]
    },
    {
      "page": "rndstr",
      "title": "Generate random strings",
      "topics": [
        "rndstr"
      ]
    },
    {
      "page": "source_github",
      "title": "Source a file hosted in a pubic or private GitHub repo",
      "topics": [
        "source_github"
      ]
    },
    {
      "page": "sysmem",
      "title": "Check system memory",
      "topics": [
        "sysmem"
      ]
    },
    {
      "page": "tempfiles",
      "title": "Temporary directory and file creation",
      "topics": [
        "td",
        "tf"
      ]
    }
  ],
  "_readme": "https://github.com/achubaty/amc/raw/development/README.md",
  "_rundeps": [
    "askpass",
    "base64enc",
    "class",
    "classInt",
    "cli",
    "cpp11",
    "crayon",
    "curl",
    "data.table",
    "DBI",
    "digest",
    "dismo",
    "e1071",
    "filelock",
    "fpCompare",
    "fs",
    "httr",
    "jsonlite",
    "KernSmooth",
    "lattice",
    "lobstr",
    "MASS",
    "mime",
    "openssl",
    "prettyunits",
    "proxy",
    "R6",
    "raster",
    "Rcpp",
    "reproducible",
    "rlang",
    "s2",
    "sf",
    "sp",
    "sys",
    "terra",
    "units",
    "wk"
  ],
  "_score": 3.4313637641589874,
  "_indexed": false,
  "_nocasepkg": "amc",
  "_universes": [
    "predictiveecology"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-06-22T23:37:53.000Z",
      "distro": "noble",
      "commit": "09a6f01363335d991d8139dffaac029881133f5d",
      "fileid": "8e91b1287dbfc735ae23625357789b9f4103474750d3f9f2a0734e2014e0afce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/27991138412"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-06-22T23:38:01.000Z",
      "distro": "noble",
      "commit": "09a6f01363335d991d8139dffaac029881133f5d",
      "fileid": "345c19802cf767130592c7fc3d214f47fefa37189beef0ea7eaff929b7e056b8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/27991138412"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-06-22T23:35:28.000Z",
      "commit": "09a6f01363335d991d8139dffaac029881133f5d",
      "fileid": "862c19c702836ee6288dad77de31959df5f8fc60d62a404d240373066f7a4d31",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/27991138412"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-06-22T23:35:27.000Z",
      "commit": "09a6f01363335d991d8139dffaac029881133f5d",
      "fileid": "1f55025324efda1cfc2afb3d3c01695887fecb9eed30545069701e7170e48c0e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/27991138412"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-06-22T23:36:29.000Z",
      "commit": "09a6f01363335d991d8139dffaac029881133f5d",
      "fileid": "fe384e3ba240976bbdba76245c4ab898671f6b4ced4d6ae4196894d56fb49733",
      "status": "success",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/27991138412"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-22T23:35:17.000Z",
      "commit": "09a6f01363335d991d8139dffaac029881133f5d",
      "fileid": "598242919a8171fb9539397d76b554d3e74d0bc92bbe4c16189e51385b181d7d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/27991138412"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-22T23:35:13.000Z",
      "commit": "09a6f01363335d991d8139dffaac029881133f5d",
      "fileid": "652d4b40f39363e15d40c9bc1579702115389bc495fa95c66c6eef882b6d5711",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/27991138412"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-22T23:36:01.000Z",
      "commit": "09a6f01363335d991d8139dffaac029881133f5d",
      "fileid": "d4c958c40ec1249148c3bf1d97ae62e726cf656af852c80600ef65c6d18c2160",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/27991138412"
    }
  ]
}