{
  "_id": "6a608f7714e95619b75db30e",
  "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-07-22 09:32:22 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>",
  "_user": "predictiveecology",
  "_type": "src",
  "_file": "amc_1.0.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/d4bb4695090d967e0d985de5e394d9a5a3b8fd1d9da928f030c1e76013876972",
  "_filesize": 171912,
  "_sha256": "d4bb4695090d967e0d985de5e394d9a5a3b8fd1d9da928f030c1e76013876972",
  "_expires": "2026-10-30T09:37:57.000Z",
  "_created": "2026-07-22T09:32:22.000Z",
  "_published": "2026-07-22T09:37:59.659Z",
  "_jobs": [
    {
      "job": 88885238121,
      "time": 277,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8524923426"
    },
    {
      "job": 88885238160,
      "time": 252,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8524912613"
    },
    {
      "job": 88885238167,
      "time": 138,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8524861982"
    },
    {
      "job": 88885238156,
      "time": 214,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8524895334"
    },
    {
      "job": 88884513691,
      "time": 197,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8524800965"
    },
    {
      "job": 88885238165,
      "time": 173,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8524877251"
    },
    {
      "job": 88885238143,
      "time": 221,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8524898349"
    },
    {
      "job": 88885238164,
      "time": 209,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8524893194"
    },
    {
      "job": 88885238226,
      "time": 219,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8524899122"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/29908145483",
  "_status": "success",
  "_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"
  },
  "_distro": "resolute",
  "_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": 37,
    "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.1",
  "_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-07-22T09:34:58.000Z",
      "distro": "resolute",
      "commit": "09a6f01363335d991d8139dffaac029881133f5d",
      "fileid": "https://r2.ropensci.org/8cd720aa4a23fcb1acec1d27693648fe1e5ece25a1b467315824fde9a8f595f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/29908145483"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-07-22T09:35:01.000Z",
      "distro": "resolute",
      "commit": "09a6f01363335d991d8139dffaac029881133f5d",
      "fileid": "https://r2.ropensci.org/441e85b1a6491e127436ed89ce7e90d82e464adabd4fb4ca2638193ea20583fd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/29908145483"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-07-22T09:34:10.000Z",
      "commit": "09a6f01363335d991d8139dffaac029881133f5d",
      "fileid": "https://r2.ropensci.org/61cebf6e39f0de082717f2bf562955e2eef30a41d14c2782ff6ae2ec7dd78f62",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/29908145483"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-07-22T09:34:45.000Z",
      "commit": "09a6f01363335d991d8139dffaac029881133f5d",
      "fileid": "https://r2.ropensci.org/040aac006ba9737c9ccc154228c8b045f65a9cc1431691c87011354216df794c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/29908145483"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-07-22T09:35:41.000Z",
      "commit": "09a6f01363335d991d8139dffaac029881133f5d",
      "fileid": "https://r2.ropensci.org/cd13dcf10f3efb686dbd69b376c555e6290e2a87bc8363476a9f855df96a4c5e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/29908145483"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-07-22T09:33:51.000Z",
      "commit": "09a6f01363335d991d8139dffaac029881133f5d",
      "fileid": "https://r2.ropensci.org/99d8d29d0955aacf4e97760e8ccf59f9089fc8089c9beb1a78815e029643c65b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/29908145483"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-07-22T09:33:47.000Z",
      "commit": "09a6f01363335d991d8139dffaac029881133f5d",
      "fileid": "https://r2.ropensci.org/99618e6c905029880705b1afd4f99ef27766e1cbf073f4df44a279a831741ed2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/29908145483"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-07-22T09:34:03.000Z",
      "commit": "09a6f01363335d991d8139dffaac029881133f5d",
      "fileid": "https://r2.ropensci.org/db3be8ad9e2bdba9fa7c1394e3a8facc1820765621ea51fe42fcd8cb9eb267a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/29908145483"
    }
  ]
}