{
  "_id": "6a215cb5cd65a98ecbd2f371",
  "Package": "animl",
  "Title": "A Collection of ML Tools for Conservation Research",
  "Version": "3.2.0",
  "Authors@R": "c(person(given=\"Kyra\", family=\"Swanson\",email=\"tswanson@sdzwa.org\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-1496-3217\")), person(given=\"Mathias\",family=\"Tobler\",role = \"aut\"))",
  "Description": "Functions required to classify subjects within camera trap\nfield data. The package can handle both images and videos. The\nauthors recommend a two-step approach using Microsoft's\n'MegaDector' model and then a second model trained on the\nclasses of interest.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-04 11:06:17 UTC",
    "User": "root"
  },
  "Author": "Kyra Swanson [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-1496-3217>), Mathias Tobler [aut]",
  "Maintainer": "Kyra Swanson <tswanson@sdzwa.org>",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-02-04 03:11:43 UTC",
  "RemoteUrl": "https://github.com/cran/animl",
  "RemoteRef": "HEAD",
  "RemoteSha": "509b7812c0e25f5fd94e395d56a0a25b3305eed4",
  "MD5sum": "9afd5ff988d55037b4cc5fc663d8b931",
  "_user": "cran",
  "_type": "src",
  "_file": "animl_3.2.0.tar.gz",
  "_fileid": "d5a8fe64e0ee47f8e579688422bb69de69c1d5b92bb26abcdde5a647374a7a4d",
  "_filesize": 174784,
  "_sha256": "d5a8fe64e0ee47f8e579688422bb69de69c1d5b92bb26abcdde5a647374a7a4d",
  "_created": "2026-06-04T11:06:17.000Z",
  "_published": "2026-06-04T11:08:37.939Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79505443442,
      "time": 106,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7409856014"
    },
    {
      "job": 79505443465,
      "time": 100,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7409854547"
    },
    {
      "job": 79505038673,
      "time": 151,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7409822772"
    },
    {
      "job": 79505443477,
      "time": 101,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7409854654"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/26947781897",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/animl",
  "_commit": {
    "id": "509b7812c0e25f5fd94e395d56a0a25b3305eed4",
    "author": "Kyra Swanson <tswanson@sdzwa.org>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 3.2.0\n",
    "time": 1770174703
  },
  "_maintainer": {
    "name": "Kyra Swanson",
    "email": "tswanson@sdzwa.org",
    "orcid": "0000-0002-1496-3217"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "pbapply",
      "role": "Imports"
    },
    {
      "package": "reticulate",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-06",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "3.2.0",
      "date": "2026-02-04"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 216,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/animl"
  },
  "_searchresults": 9,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/animl.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_realowner": "cran",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2022-03-23"
    },
    {
      "version": "1.1.0",
      "date": "2023-05-13"
    },
    {
      "version": "2.0.0",
      "date": "2025-02-11"
    },
    {
      "version": "3.2.0",
      "date": "2026-02-04"
    }
  ],
  "_exports": [
    "animl_install",
    "animl_install_instructions",
    "build_file_manifest",
    "check_python",
    "classify",
    "compute_batched_distance_matrix",
    "compute_distance_matrix",
    "cosine_distance",
    "create_pyenv",
    "delete_pyenv",
    "detect",
    "download_model",
    "euclidean_squared_distance",
    "export_camtrapR",
    "export_coco",
    "export_folders",
    "export_megadetector",
    "export_timelapse",
    "extract_frames",
    "extract_miew_embeddings",
    "get_animals",
    "get_empty",
    "get_frame_as_image",
    "list_models",
    "load_animl",
    "load_class_list",
    "load_classifier",
    "load_data",
    "load_detector",
    "load_json",
    "load_miew",
    "parse_detections",
    "plot_all_bounding_boxes",
    "plot_box",
    "remove_diagonal",
    "remove_link",
    "save_classifier",
    "save_json",
    "sequence_classification",
    "single_classification",
    "test_main",
    "train_main",
    "train_val_test",
    "update_animl_py",
    "update_labels_from_folders",
    "WorkingDirectory"
  ],
  "_help": [
    {
      "page": "animl_install",
      "title": "Load animl-py if available",
      "topics": [
        "animl_install"
      ]
    },
    {
      "page": "animl_install_instructions",
      "title": "Installation Instructions for animl-r Python dependencies",
      "topics": [
        "animl_install_instructions"
      ]
    },
    {
      "page": "build_file_manifest",
      "title": "File Management Module",
      "topics": [
        "build_file_manifest"
      ]
    },
    {
      "page": "check_file",
      "title": "Check for files existence and prompt user if they want to load",
      "topics": [
        "check_file"
      ]
    },
    {
      "page": "check_python",
      "title": "Check that the python version is compatible with the current version of animl-py",
      "topics": [
        "check_python"
      ]
    },
    {
      "page": "classify",
      "title": "Infer Species for Given Detections",
      "topics": [
        "classify"
      ]
    },
    {
      "page": "compute_batched_distance_matrix",
      "title": "Computes the distance matrix in a batched manner to save memory.",
      "topics": [
        "compute_batched_distance_matrix"
      ]
    },
    {
      "page": "compute_distance_matrix",
      "title": "A wrapper function for computing distance matrix.",
      "topics": [
        "compute_distance_matrix"
      ]
    },
    {
      "page": "cosine_distance",
      "title": "Computes cosine distance of two sets of vectors",
      "topics": [
        "cosine_distance"
      ]
    },
    {
      "page": "create_pyenv",
      "title": "Install python if necessary and create the environment animl_env",
      "topics": [
        "create_pyenv"
      ]
    },
    {
      "page": "delete_pyenv",
      "title": "Delete the animl_env environment",
      "topics": [
        "delete_pyenv"
      ]
    },
    {
      "page": "detect",
      "title": "Apply MegaDetector to a Given Batch of Images",
      "topics": [
        "detect"
      ]
    },
    {
      "page": "download_model",
      "title": "Download specified model to the given directory.",
      "topics": [
        "download_model"
      ]
    },
    {
      "page": "euclidean_squared_distance",
      "title": "Computes euclidean squared distance of two sets of vectors",
      "topics": [
        "euclidean_squared_distance"
      ]
    },
    {
      "page": "export_camtrapR",
      "title": "Export data into sorted folders organized by station",
      "topics": [
        "export_camtrapR"
      ]
    },
    {
      "page": "export_coco",
      "title": "Converts the .csv file to a COCO-formatted .json file.",
      "topics": [
        "export_coco"
      ]
    },
    {
      "page": "export_folders",
      "title": "Create SymLink Directories and Sort Classified Images",
      "topics": [
        "export_folders"
      ]
    },
    {
      "page": "export_megadetector",
      "title": "Converts the .csv file to the MD-formatted .json file.",
      "topics": [
        "export_megadetector"
      ]
    },
    {
      "page": "export_timelapse",
      "title": "Converts the Manifests to a csv file that contains columns needed for TimeLapse conversion in later step",
      "topics": [
        "export_timelapse"
      ]
    },
    {
      "page": "extract_frames",
      "title": "Extract frames from video for classification",
      "topics": [
        "extract_frames"
      ]
    },
    {
      "page": "extract_miew_embeddings",
      "title": "Extract Embeddings from MiewID",
      "topics": [
        "extract_miew_embeddings"
      ]
    },
    {
      "page": "get_animals",
      "title": "Return a dataframe of only MD animals",
      "topics": [
        "get_animals"
      ]
    },
    {
      "page": "get_empty",
      "title": "Return MD empty, vehicle and human images in a dataframe",
      "topics": [
        "get_empty"
      ]
    },
    {
      "page": "get_frame_as_image",
      "title": "Given a video path, return a specific frame as an RGB image",
      "topics": [
        "get_frame_as_image"
      ]
    },
    {
      "page": "list_models",
      "title": "List available models for download.",
      "topics": [
        "list_models"
      ]
    },
    {
      "page": "load_animl",
      "title": "Load animl-py if available",
      "topics": [
        "load_animl"
      ]
    },
    {
      "page": "load_class_list",
      "title": "Load class list .csv file",
      "topics": [
        "load_class_list"
      ]
    },
    {
      "page": "load_classifier",
      "title": "Load a Classifier Model and Class_list",
      "topics": [
        "load_classifier"
      ]
    },
    {
      "page": "load_data",
      "title": "Load .csv or .Rdata file",
      "topics": [
        "load_data"
      ]
    },
    {
      "page": "load_detector",
      "title": "Load an Object Detector",
      "topics": [
        "load_detector"
      ]
    },
    {
      "page": "load_json",
      "title": "Load data from a JSON file.",
      "topics": [
        "load_json"
      ]
    },
    {
      "page": "load_miew",
      "title": "Load MiewID model",
      "topics": [
        "load_miew"
      ]
    },
    {
      "page": "parse_detections",
      "title": "Parse MD results into a simple dataframe",
      "topics": [
        "parse_detections"
      ]
    },
    {
      "page": "plot_all_bounding_boxes",
      "title": "Plot all bounding boxes in a manifest",
      "topics": [
        "plot_all_bounding_boxes"
      ]
    },
    {
      "page": "plot_box",
      "title": "Plot bounding boxes on image from md results",
      "topics": [
        "plot_box"
      ]
    },
    {
      "page": "remove_diagonal",
      "title": "Removes the diagonal elements from a square matrix.",
      "topics": [
        "remove_diagonal"
      ]
    },
    {
      "page": "remove_link",
      "title": "Remove Sorted Links",
      "topics": [
        "remove_link"
      ]
    },
    {
      "page": "save_classifier",
      "title": "Save model state weights",
      "topics": [
        "save_classifier"
      ]
    },
    {
      "page": "save_data",
      "title": "Save Data to Given File",
      "topics": [
        "save_data"
      ]
    },
    {
      "page": "save_json",
      "title": "Save data to a JSON file.",
      "topics": [
        "save_json"
      ]
    },
    {
      "page": "sequence_classification",
      "title": "Leverage sequences to classify images",
      "topics": [
        "sequence_classification"
      ]
    },
    {
      "page": "single_classification",
      "title": "Get Maximum likelihood label for each Detection",
      "topics": [
        "single_classification"
      ]
    },
    {
      "page": "test_main",
      "title": "Test a model with a Config file",
      "topics": [
        "test_main"
      ]
    },
    {
      "page": "train_main",
      "title": "Model Training",
      "topics": [
        "train_main"
      ]
    },
    {
      "page": "train_val_test",
      "title": "Splits the manifest into training validation and test datasets for training",
      "topics": [
        "train_val_test"
      ]
    },
    {
      "page": "update_animl_py",
      "title": "Update animl-py version for the given environment",
      "topics": [
        "update_animl_py"
      ]
    },
    {
      "page": "update_labels_from_folders",
      "title": "Udate Results from File Browser",
      "topics": [
        "update_labels_from_folders"
      ]
    },
    {
      "page": "WorkingDirectory",
      "title": "Set Working Directory and Save File Global Variables",
      "topics": [
        "WorkingDirectory"
      ]
    }
  ],
  "_readme": "https://github.com/cran/animl/raw/HEAD/README.md",
  "_rundeps": [
    "here",
    "jsonlite",
    "lattice",
    "Matrix",
    "pbapply",
    "png",
    "rappdirs",
    "Rcpp",
    "RcppTOML",
    "reticulate",
    "rlang",
    "rprojroot",
    "withr"
  ],
  "_score": 1.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "animl",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.2.0",
      "date": "2026-06-04T11:07:59.000Z",
      "distro": "noble",
      "commit": "509b7812c0e25f5fd94e395d56a0a25b3305eed4",
      "fileid": "5419a4c69287c36e378293e3709864cfdcb3149f3fb7feeaa669063c0340a7d0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26947781897"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "3.2.0",
      "date": "2026-06-04T11:07:53.000Z",
      "distro": "noble",
      "commit": "509b7812c0e25f5fd94e395d56a0a25b3305eed4",
      "fileid": "41b222e088bad67c90a7a34aa4af19f7efbd01e1b34259bdaeb1c0622885ec44",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26947781897"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "3.2.0",
      "date": "2026-06-04T11:08:19.000Z",
      "commit": "509b7812c0e25f5fd94e395d56a0a25b3305eed4",
      "fileid": "9cdafc39f3dfa8efe11d7a19e7263e1b512bdf15f00bac1a11d0341f55270c03",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/26947781897"
    }
  ]
}