{
  "_id": "6a21d57ecd65a98ecbd40791",
  "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-04 19:38:35 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": "d5fa73c429a323706a5c3b7bd1a25394",
  "_user": "predictiveecology",
  "_type": "src",
  "_file": "amc_1.0.3.tar.gz",
  "_fileid": "465f2707cd2bd0204d2a1e625750c1824246141fa56825d6cb3704dcc5661c8c",
  "_filesize": 171514,
  "_sha256": "465f2707cd2bd0204d2a1e625750c1824246141fa56825d6cb3704dcc5661c8c",
  "_created": "2026-06-04T19:38:35.000Z",
  "_published": "2026-06-04T19:43:58.009Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79599964685,
      "time": 271,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7421348844"
    },
    {
      "job": 79599964878,
      "time": 238,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7421336350"
    },
    {
      "job": 79599964696,
      "time": 160,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7421309481"
    },
    {
      "job": 79599964691,
      "time": 193,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7421320072"
    },
    {
      "job": 79599325961,
      "time": 209,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7421252274"
    },
    {
      "job": 79599964658,
      "time": 133,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7421299370"
    },
    {
      "job": 79599964645,
      "time": 225,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7421331984"
    },
    {
      "job": 79599964725,
      "time": 208,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7421325553"
    },
    {
      "job": 79599964671,
      "time": 218,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7421329438"
    }
  ],
  "_buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/26974889430",
  "_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": 7,
  "_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",
    "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.498310553789601,
  "_indexed": false,
  "_nocasepkg": "amc",
  "_universes": [
    "predictiveecology"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-06-04T19:41:13.000Z",
      "distro": "noble",
      "commit": "09a6f01363335d991d8139dffaac029881133f5d",
      "fileid": "d43a5b6458dbd1483bec5003c20855deb01ac7d8bbabae9afb75af6642e5fca5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/26974889430"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.3",
      "date": "2026-06-04T19:41:15.000Z",
      "distro": "noble",
      "commit": "09a6f01363335d991d8139dffaac029881133f5d",
      "fileid": "28da46c7eb77e33d42d407e7f965e565c5e393a3d9026eee5bd6500e410e3cb8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/26974889430"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-06-04T19:40:44.000Z",
      "commit": "09a6f01363335d991d8139dffaac029881133f5d",
      "fileid": "bad719caa6126cec2d8d5ca70d95b4bd271c40103d3822ce541ddfb2a219755b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/26974889430"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.3",
      "date": "2026-06-04T19:40:48.000Z",
      "commit": "09a6f01363335d991d8139dffaac029881133f5d",
      "fileid": "5d3022f37b311b8576848ac29097352f9649120c879b9cb2aa0a398d650e7328",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/26974889430"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.3",
      "date": "2026-06-04T19:41:17.000Z",
      "commit": "09a6f01363335d991d8139dffaac029881133f5d",
      "fileid": "fcc450c7b04bf12698a1b559d8828f9fb0d3e82fcbb69aef3f7836ddd5be5af0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/26974889430"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-04T19:40:11.000Z",
      "commit": "09a6f01363335d991d8139dffaac029881133f5d",
      "fileid": "de198d61ec5bff251f7e47d826af26ab11aa77cee1394bf9a3b3790d46cc0dc0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/26974889430"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-04T19:40:06.000Z",
      "commit": "09a6f01363335d991d8139dffaac029881133f5d",
      "fileid": "d44cd208c0e51e82424e21b6ae889a8a11f89f96da4d0395bf573eb9fd44a9bd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/26974889430"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.3",
      "date": "2026-06-04T19:40:12.000Z",
      "commit": "09a6f01363335d991d8139dffaac029881133f5d",
      "fileid": "89bad8696ba2d53fcbf290b7485cd9f35219cbc21f903aa3fceab16dc69b0541",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/26974889430"
    }
  ]
}