{
  "_id": "69d6290a10581d1350deaa85",
  "Package": "usefulFuns",
  "Type": "Package",
  "Title": "Useful functions for my modules and packages",
  "Version": "0.1.1",
  "Author": "Tati Micheletti",
  "Maintainer": "Tati Micheletti <tati.micheletti@gmail.com>",
  "Description": "A few functions and wrappers around useful code.",
  "License": "GPL (>=2)",
  "Encoding": "UTF-8",
  "Language": "en-CA",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "Remotes": [
    "achubaty/amc@development",
    "PredictiveEcology/LandR@development",
    "PredictiveEcology/reproducible@development"
  ],
  "Collate": "'RSFplot.R' 'avrgTimeComparison.R'\n'biomassPerSpeciesYearGIF.R' 'biomassYearGIF.R'\n'cbindFromList.R' 'substrBoth.R' 'grepMulti.R' 'helpersBirds.R'\n'bootstrapPercentChanges.R' 'bringObjectTS.R' 'burnFromAge.R'\n'calculatePixelsInaRule.R' 'changeTraits.R'\n'checkPackagesVersions.R' 'classifyWetlands.R'\n'nameAndBringOn.R' 'createDynamicLayersRSF.R'\n'createEquation.R' 'createModObject.R' 'createModels.R'\n'createShrubHerbLayers.R' 'createStaticLayersRSF.R'\n'defineStudyArea.R' 'extractDisturbanceFast.R'\n'forestAgePlot.R' 'getLayers.R' 'makeReclassifyMatrix.R'\n'meanValuesTime.R' 'moduleSticker.R' 'plotBurnSummary.R'\n'plotLeadingVegetationType.R' 'plotVegetationBiomass.R'\n'prepInputStack.R' 'prepInputsLayers_DUCKS.R'\n'prepareClimateLayers.R' 'provinceBCRStudyArea.R'\n'reviseSpeciesTraits.R' 'subsetNonNARas.R'\n'totalBiomassPerSpecies.R' 'usefulFuns-package.R'",
  "Config/pak/sysreqs": "libabsl-dev libcairo2-dev cmake libfontconfig1-dev\nlibfreetype6-dev libgdal-dev gdal-bin libgeos-dev libglpk-dev\nmake libmagick++-dev gsfonts default-jdk texlive libicu-dev\nlibjpeg-dev libpng-dev libxml2-dev libssl-dev libproj-dev\nlibsqlite3-dev libudunits2-dev zlib1g-dev",
  "Repository": "https://predictiveecology.r-universe.dev",
  "Date/Publication": "2024-11-25 23:04:20 UTC",
  "RemoteUrl": "https://github.com/PredictiveEcology/usefulFuns",
  "RemoteRef": "development",
  "RemoteSha": "daae9ec736a6bb5caee9a56c3a8a9a362199ebf3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-03-11 00:20:32 UTC",
    "User": "root"
  },
  "MD5sum": "d70b59dee348c2f4f6f760e522b97051",
  "_user": "predictiveecology",
  "_type": "src",
  "_file": "usefulFuns_0.1.1.tar.gz",
  "_fileid": "4adaececd477ec45d9676ed139887a21b6c559b9ff1d1b7dad260d6c23d5e569",
  "_filesize": 213942,
  "_sha256": "4adaececd477ec45d9676ed139887a21b6c559b9ff1d1b7dad260d6c23d5e569",
  "_created": "2026-03-11T00:20:32.000Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 70393867202,
      "time": 183,
      "config": "linux-devel-x86_64",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 70393867345,
      "time": 367,
      "config": "linux-release-x86_64",
      "r": "4.5.2",
      "check": "NOTE",
      "artifact": "5861128417"
    },
    {
      "job": 70393867054,
      "time": 100,
      "config": "macos-devel-arm64",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 70393866991,
      "time": 142,
      "config": "macos-release-arm64",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 70393867006,
      "time": 367,
      "config": "source",
      "r": "4.5.2",
      "check": "OK",
      "artifact": "5861059400"
    },
    {
      "job": 70393867022,
      "time": 216,
      "config": "wasm-release",
      "r": "4.5.1",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 70393867033,
      "time": 75,
      "config": "windows-devel",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 70393867084,
      "time": 78,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 70393867091,
      "time": 84,
      "config": "windows-release",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    }
  ],
  "_buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/22930282376",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/PredictiveEcology/usefulFuns",
  "_commit": {
    "id": "daae9ec736a6bb5caee9a56c3a8a9a362199ebf3",
    "author": "Alex Chubaty <achubaty@for-cast.ca>",
    "committer": "Alex Chubaty <achubaty@for-cast.ca>",
    "message": "GHA use ubuntu-latest\n",
    "time": 1732575860
  },
  "_maintainer": {
    "name": "Tati Micheletti",
    "email": "tati.micheletti@gmail.com",
    "login": "tati-micheletti",
    "orcid": "0000-0003-4838-8342",
    "uuid": 33500569
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6",
      "role": "Depends"
    },
    {
      "package": "animation",
      "role": "Imports"
    },
    {
      "package": "crayon",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "effsize",
      "role": "Imports"
    },
    {
      "package": "fasterize",
      "role": "Imports"
    },
    {
      "package": "future",
      "role": "Imports"
    },
    {
      "package": "future.apply",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "googledrive",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    },
    {
      "package": "hexSticker",
      "role": "Imports"
    },
    {
      "package": "LandR",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "pryr",
      "role": "Imports"
    },
    {
      "package": "quickPlot",
      "role": "Imports"
    },
    {
      "package": "raster",
      "role": "Imports"
    },
    {
      "package": "rasterVis",
      "role": "Imports"
    },
    {
      "package": "RColorBrewer",
      "role": "Imports"
    },
    {
      "package": "reproducible",
      "role": "Imports"
    },
    {
      "package": "Require",
      "role": "Imports"
    },
    {
      "package": "sp",
      "role": "Imports"
    },
    {
      "package": "sf",
      "role": "Imports"
    },
    {
      "package": "showtext",
      "role": "Imports"
    },
    {
      "package": "SpaDES.core",
      "role": "Imports"
    },
    {
      "package": "SpaDES.tools",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "sysfonts",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "lintr",
      "role": "Suggests"
    },
    {
      "package": "remotes",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    }
  ],
  "_owner": "predictiveecology",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "tati-micheletti",
      "count": 99,
      "uuid": 33500569
    },
    {
      "user": "achubaty",
      "count": 72,
      "uuid": 3435577
    }
  ],
  "_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/usefulFuns"
  },
  "_devurl": "https://github.com/predictiveecology/usefulfuns",
  "_searchresults": 1,
  "_rbuild": "4.5.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/usefulFuns.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "avrgTimeComparison",
    "biomassPerSpeciesYearGIF",
    "biomassYearGIF",
    "bootstrapPercentChanges",
    "bringObjectTS",
    "calculatePixelsInaRule",
    "cbindFromList",
    "changeTraits",
    "checkPackagesVersions",
    "classifyWetlands",
    "createDynamicLayersRSF",
    "createModels",
    "createModObject",
    "createShrubHerbLayers",
    "createStaticLayersRSF",
    "defineStudyArea",
    "extractDisturbanceFast",
    "forestAgePlot",
    "getLayers",
    "grepMulti",
    "makeReclassifyMatrix",
    "meanValuesTime",
    "modulesAvailable",
    "moduleSticker",
    "nameAndBringOn",
    "plotBurnSummary",
    "plotLeadingVegetationType",
    "plotVegetationBiomass",
    "prepareClimateLayers",
    "prepInputsLayers_DUCKS",
    "prepInputStack",
    "provinceBCRStudyArea",
    "reviseSpeciesTraits",
    "RSFplot",
    "subsetNonNARas",
    "substrBoth",
    "totalBiomassPerSpecies"
  ],
  "_help": [
    {
      "page": "usefulFuns-package",
      "title": "'usefulFuns' package",
      "topics": [
        "usefulFuns-package",
        "usefulFuns"
      ]
    },
    {
      "page": "avrgTimeComparison",
      "title": "Compare two or more scenarios for averages through time",
      "topics": [
        "avrgTimeComparison"
      ]
    },
    {
      "page": "biomassPerSpeciesYearGIF",
      "title": "Creates a GIF of biomass change",
      "topics": [
        "biomassPerSpeciesYearGIF"
      ]
    },
    {
      "page": "biomassYearGIF",
      "title": "Creates a GIF of total biomass change",
      "topics": [
        "biomassYearGIF"
      ]
    },
    {
      "page": "bootstrapPercentChanges",
      "title": "Bootstrap rasters for testing significance on comparable rasters of different species or scenarios",
      "topics": [
        "bootstrapPercentChanges"
      ]
    },
    {
      "page": "bringObjectTS",
      "title": "Bring objects that represent time series into a list",
      "topics": [
        "bringObjectTS"
      ]
    },
    {
      "page": "calculatePixelsInaRule",
      "title": "Calculate pixels in a rule",
      "topics": [
        "calculatePixelsInaRule"
      ]
    },
    {
      "page": "cbindFromList",
      "title": "Column binds a list of 'data.frame's or 'data.table's",
      "topics": [
        "cbindFromList"
      ]
    },
    {
      "page": "changeTraits",
      "title": "Provides an easy way of modifying species traits table in 'LandR' by multiplication of original traits by a specified factor",
      "topics": [
        "changeTraits"
      ]
    },
    {
      "page": "checkPackagesVersions",
      "title": "All packages' versioning",
      "topics": [
        "checkPackagesVersions"
      ]
    },
    {
      "page": "classifyWetlands",
      "title": "Classify wetlands (really!) using the wetlands layer set as input and a either LCC05 or LCC2010",
      "topics": [
        "classifyWetlands"
      ]
    },
    {
      "page": "createDynamicLayersRSF",
      "title": "Create the necessary layers for predictive caribou RSF module.",
      "topics": [
        "createDynamicLayersRSF",
        "createStaticLayersRSF"
      ]
    },
    {
      "page": "createEquation",
      "title": "Write an equation based on a 'data.frame' (or 'data.table'), bootstrapping a set of covariates around the standard error present in the table.",
      "topics": [
        "createEquation"
      ]
    },
    {
      "page": "createModels",
      "title": "Create caribou models based on 2011 ECCC report on population demographics and RSF.",
      "topics": [
        "createModels"
      ]
    },
    {
      "page": "createModObject",
      "title": "Create a simulation model object",
      "topics": [
        "createModObject"
      ]
    },
    {
      "page": "createShrubHerbLayers",
      "title": "Creates the necessary shrub or herb layers for predictive caribou RSF module.",
      "topics": [
        "createShrubHerbLayers"
      ]
    },
    {
      "page": "defineStudyArea",
      "title": "Preparing study area for Canadian projects",
      "topics": [
        "defineStudyArea"
      ]
    },
    {
      "page": "extractDisturbanceFast",
      "title": "Extract disturbance of anthropogenic and fire",
      "topics": [
        "extractDisturbanceFast"
      ]
    },
    {
      "page": "forestAgePlot",
      "title": "Plots of forest age",
      "topics": [
        "forestAgePlot"
      ]
    },
    {
      "page": "getLayers",
      "title": "Get the necessary layers for predictive modules such as 'caribouPopGrowth' and 'caribouRSF'.",
      "topics": [
        "getLayers"
      ]
    },
    {
      "page": "grepMulti",
      "title": "Grep using multiple patterns",
      "topics": [
        "grepMulti"
      ]
    },
    {
      "page": "makeReclassifyMatrix",
      "title": "Create a matrix to use for reclassification of rasters",
      "topics": [
        "makeReclassifyMatrix"
      ]
    },
    {
      "page": "meanValuesTime",
      "title": "Calculates the mean value of rasters through time",
      "topics": [
        "meanValuesTime"
      ]
    },
    {
      "page": "modulesAvailable",
      "title": "Show the modules that have stickers available",
      "topics": [
        "modulesAvailable"
      ]
    },
    {
      "page": "moduleSticker",
      "title": "Function to create stickers for 'SpaDES' modules",
      "topics": [
        "moduleSticker"
      ]
    },
    {
      "page": "nameAndBringOn",
      "title": "Name a raster, 'postProcess' it using RTM, and brings it to memory",
      "topics": [
        "nameAndBringOn"
      ]
    },
    {
      "page": "plotBurnSummary",
      "title": "Plots summary of burns",
      "topics": [
        "plotBurnSummary"
      ]
    },
    {
      "page": "plotLeadingVegetationType",
      "title": "Plots Leading Vegetation Type using 'cohortData' and 'pixelGroupMap'",
      "topics": [
        "plotLeadingVegetationType"
      ]
    },
    {
      "page": "plotVegetationBiomass",
      "title": "Plots vegetation biomass type using 'cohortData' and 'pixelGroupMap'",
      "topics": [
        "plotVegetationBiomass"
      ]
    },
    {
      "page": "prepareClimateLayers",
      "title": "Create raster stack for climate sensitive models",
      "topics": [
        "prepareClimateLayers"
      ]
    },
    {
      "page": "prepInputsLayers_DUCKS",
      "title": "Prepare DUCKS layer",
      "topics": [
        "prepInputsLayers_DUCKS"
      ]
    },
    {
      "page": "prepInputStack",
      "title": "Simple wrapper around 'prepInputs' for a stack of raster layers",
      "topics": [
        "prepInputStack"
      ]
    },
    {
      "page": "provinceBCRStudyArea",
      "title": "Preparing study area based on BCR and Canadian or American provinces or states.",
      "topics": [
        "provinceBCRStudyArea"
      ]
    },
    {
      "page": "reviseSpeciesTraits",
      "title": "Bootstraps rasters for testing significance on comparable rasters of different species or scenarios",
      "topics": [
        "reviseSpeciesTraits"
      ]
    },
    {
      "page": "RSFplot",
      "title": "ECCC's RSF plot style",
      "topics": [
        "RSFplot"
      ]
    },
    {
      "page": "subsetNonNARas",
      "title": "Get all the values of a raster and remove the NA's, keeping pixel ID.",
      "topics": [
        "subsetNonNARas"
      ]
    },
    {
      "page": "substrBoth",
      "title": "Get a sub-string based on the number of characters and the side to start",
      "topics": [
        "substrBoth"
      ]
    },
    {
      "page": "totalBiomassPerSpecies",
      "title": "Plots biomass per species: proportional or absolute, and total or just overstory",
      "topics": [
        "totalBiomassPerSpecies"
      ]
    }
  ],
  "_readme": "https://github.com/PredictiveEcology/usefulFuns/raw/development/README.md",
  "_rundeps": [
    "abind",
    "amc",
    "animation",
    "askpass",
    "backports",
    "base64enc",
    "bitops",
    "boot",
    "bslib",
    "cachem",
    "checkmate",
    "class",
    "classInt",
    "cli",
    "codetools",
    "cpp11",
    "crayon",
    "curl",
    "data.table",
    "DBI",
    "deldir",
    "digest",
    "dismo",
    "dplyr",
    "e1071",
    "effsize",
    "evaluate",
    "farver",
    "fasterize",
    "fastmap",
    "filelock",
    "fontawesome",
    "fontBitstreamVera",
    "fontLiberation",
    "fontquiver",
    "Formula",
    "fpCompare",
    "fs",
    "future",
    "future.apply",
    "gargle",
    "gdtools",
    "generics",
    "ggfun",
    "ggimage",
    "ggiraph",
    "ggplot2",
    "ggplotify",
    "ggspatial",
    "globals",
    "glue",
    "googledrive",
    "gridExtra",
    "gridGraphics",
    "gtable",
    "hexbin",
    "hexSticker",
    "highr",
    "hms",
    "htmltools",
    "htmlwidgets",
    "httr",
    "httr2",
    "igraph",
    "insight",
    "interp",
    "isoband",
    "jpeg",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "labeling",
    "LandR",
    "lattice",
    "latticeExtra",
    "lifecycle",
    "listenv",
    "lme4",
    "lobstr",
    "magick",
    "magrittr",
    "MASS",
    "Matrix",
    "memoise",
    "mime",
    "minqa",
    "MuMIn",
    "nlme",
    "nloptr",
    "openssl",
    "parallelly",
    "patchwork",
    "pemisc",
    "peutils",
    "pillar",
    "pkgconfig",
    "png",
    "prettyunits",
    "progress",
    "proxy",
    "pryr",
    "purrr",
    "qs2",
    "quickPlot",
    "R6",
    "rappdirs",
    "raster",
    "rasterVis",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "RcppParallel",
    "RCurl",
    "Rdpack",
    "reformulas",
    "reproducible",
    "Require",
    "rlang",
    "rmarkdown",
    "rosm",
    "s2",
    "S7",
    "sass",
    "scales",
    "sf",
    "showtext",
    "showtextdb",
    "sp",
    "SpaDES.core",
    "SpaDES.tools",
    "stringfish",
    "stringi",
    "stringr",
    "sys",
    "sysfonts",
    "systemfonts",
    "terra",
    "tibble",
    "tidyr",
    "tidyselect",
    "tidyterra",
    "tinytex",
    "units",
    "utf8",
    "uuid",
    "vctrs",
    "viridis",
    "viridisLite",
    "whisker",
    "withr",
    "wk",
    "xfun",
    "yaml",
    "yulab.utils",
    "zoo"
  ],
  "_score": 1.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "usefulfuns",
  "_universes": [
    "predictiveecology",
    "tati-micheletti"
  ],
  "_failure": {
    "version": "0.1.1",
    "commit": {
      "id": "daae9ec736a6bb5caee9a56c3a8a9a362199ebf3",
      "author": "Alex Chubaty <achubaty@for-cast.ca>",
      "committer": "Alex Chubaty <achubaty@for-cast.ca>",
      "message": "GHA use ubuntu-latest\n",
      "time": 1732575860
    },
    "buildurl": "https://github.com/r-universe/predictiveecology/actions/runs/27001215098",
    "date": "2026-06-05T07:21:38.598Z",
    "job": {
      "job": 79681928217,
      "time": 268,
      "config": "source",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7431002397"
    }
  },
  "_binaries": []
}