{
  "_id": "6b0095944c685b5adf82b683",
  "Package": "twdtw",
  "Title": "Time-Weighted Dynamic Time Warping",
  "Version": "1.1-0",
  "Authors@R": "c(\nperson(\ngiven = \"Victor\",\nfamily = \"Maus\",\nrole = c(\"aut\", \"cre\"),\nemail = \"vwmaus1@gmail.com\",\ncomment = c(ORCID = \"0000-0002-7385-4723\")\n)\n)",
  "Description": "Provides a fast implementation of Time-Weighted Dynamic\nTime Warping (TWDTW), a measure for quantifying time series\nsimilarity. The TWDTW algorithm, described in Maus et al.\n(2016) <doi:10.1109/JSTARS.2016.2517118> and Maus et al. (2019)\n<doi:10.18637/jss.v088.i05>, is applicable to multi-dimensional\ntime series of various resolutions. It is particularly suitable\nfor comparing time series with seasonality for environmental\nand ecological data analysis, covering domains such as remote\nsensing imagery, climate data, hydrology, and animal movement.\nThe 'twdtw' package offers a user-friendly 'R' interface,\nefficient 'Fortran' routines for TWDTW calculations, a\nk-nearest neighbour model to classify time series, flexible\ntime weighting definitions, as well as utilities for time\nseries preprocessing and visualization. With one temporal\npattern for each class, the classification of time series has a\nprocessing time comparable to that of other machine learning\nmodels available in 'R', such as random forest and support\nvector machines.",
  "License": "GPL (>= 3)",
  "URL": "https://github.com/vwmaus/twdtw/",
  "BugReports": "https://github.com/vwmaus/twdtw/issues/",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "Collate": "'RcppExports.R' 'convert_date_to_numeric.R' 'init.R'\n'plot_cost_matrix.R' 'time_series_formats.R' 'twdtw.R'\n'twdtw_knn.R' 'twdtw_knn_predict.R' 'twdtw_nearest.R' 'zzz.R'",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.1.1",
  "Repository": "https://vwmaus.r-universe.dev",
  "Date/Publication": "2026-11-20 18:26:36 UTC",
  "RemoteUrl": "https://github.com/vwmaus/twdtw",
  "RemoteRef": "HEAD",
  "RemoteSha": "cb7c10829ef93473d1c6c598d8312137180133f0",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-11-20 18:35:39 UTC",
    "User": "root"
  },
  "Author": "Victor Maus [aut, cre] (ORCID: <https://orcid.org/0000-0002-7385-4723>)",
  "Maintainer": "Victor Maus <vwmaus1@gmail.com>",
  "_user": "vwmaus",
  "_type": "src",
  "_file": "twdtw_1.1-0.tar.gz",
  "_fileid": "https://r2.ropensci.org/142947a26a252cfd4a0b3c918d1787c84fa5ade180486d465685b88a142b7f44",
  "_filesize": 681584,
  "_sha256": "142947a26a252cfd4a0b3c918d1787c84fa5ade180486d465685b88a142b7f44",
  "_expires": "2027-02-28T18:46:42.000Z",
  "_created": "2026-11-20T18:35:39.000Z",
  "_published": "2026-11-20T18:46:44.383Z",
  "_upstream": "https://github.com/vwmaus/twdtw",
  "_status": "success",
  "_maintainer": {
    "name": "Victor Maus",
    "email": "vwmaus1@gmail.com",
    "login": "vwmaus",
    "linkedin": "in/victor-maus-083a79191",
    "orcid": "0000-0002-7385-4723",
    "description": "",
    "uuid": 9719656
  },
  "_jobs": [
    {
      "job": 136489700876,
      "time": 104,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14658316510"
    },
    {
      "job": 136489700874,
      "time": 123,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14656824850"
    },
    {
      "job": 136489700879,
      "time": 104,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14657363692"
    },
    {
      "job": 136489700804,
      "time": 166,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14658216799"
    },
    {
      "job": 136489700972,
      "time": 125,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14657114546"
    },
    {
      "job": 136489701201,
      "time": 217,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14658991891"
    },
    {
      "job": 136489701011,
      "time": 107,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14658217254"
    },
    {
      "job": 136489700999,
      "time": 186,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14657473390"
    },
    {
      "job": 136487913080,
      "time": 195,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14656819765"
    },
    {
      "job": 136489700837,
      "time": 91,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14657038848"
    },
    {
      "job": 136489701115,
      "time": 250,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14657049401"
    },
    {
      "job": 136489701061,
      "time": 159,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14657782507"
    },
    {
      "job": 136489701123,
      "time": 179,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14658861000"
    },
    {
      "job": 136489701100,
      "time": 215,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14657879112"
    },
    {
      "job": 136489700966,
      "time": 178,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14658171854"
    }
  ],
  "_buildurl": "https://github.com/r-universe/vwmaus/actions/runs/44793734446",
  "_commit": {
    "id": "cb7c10829ef93473d1c6c598d8312137180133f0",
    "author": "Victor Maus <victor.maus@wu.ac.at>",
    "committer": "Victor Maus <victor.maus@wu.ac.at>",
    "message": "Passes the Codecov token to the coverage workflow\n",
    "time": 1795199196
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "proxy",
      "role": "Imports"
    },
    {
      "package": "rbenchmark",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "vwmaus",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [
    {
      "week": "2026-46",
      "n": 13
    },
    {
      "week": "2026-47",
      "n": 12
    }
  ],
  "_tags": [],
  "_stars": 12,
  "_contributors": [
    {
      "user": "vwmaus",
      "count": 122,
      "uuid": 9719656
    }
  ],
  "_userbio": {
    "uuid": 9719656,
    "type": "user",
    "name": "Victor Maus",
    "followers": 79
  },
  "_downloads": {
    "count": 500,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/twdtw"
  },
  "_devurl": "https://github.com/vwmaus/twdtw",
  "_topics": [
    "fortran",
    "cpp"
  ],
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/twdtw.html"
  ],
  "_homeurl": "https://github.com/vwmaus/twdtw",
  "_realowner": "vwmaus",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0-0",
      "date": "2023-07-13"
    },
    {
      "version": "1.0-1",
      "date": "2023-08-08"
    }
  ],
  "_authors": [
    {
      "name": "Victor Maus",
      "email": "vwmaus1@gmail.com",
      "orcid": "0000-0002-7385-4723",
      "role": [
        "aut",
        "cre"
      ]
    }
  ],
  "_exports": [
    "date_to_numeric_cycle",
    "max_cycle_length",
    "plot_cost_matrix",
    "to_date_time",
    "twdtw",
    "twdtw_knn",
    "twdtw_knn_predict",
    "twdtw_nearest"
  ],
  "_help": [
    {
      "page": "date_to_numeric_cycle",
      "title": "Convert Date/POSIXct to a Numeric Cycle",
      "topics": [
        "date_to_numeric_cycle"
      ]
    },
    {
      "page": "max_cycle_length",
      "title": "Calculate the Maximum Possible Value of a Time Cycle",
      "topics": [
        "max_cycle_length"
      ]
    },
    {
      "page": "plot_cost_matrix",
      "title": "Plot TWDTW cost matrix",
      "topics": [
        "plot_cost_matrix"
      ]
    },
    {
      "page": "predict.twdtw_knn",
      "title": "Classify time series using a TWDTW k-nearest neighbour model",
      "topics": [
        "predict.twdtw_knn"
      ]
    },
    {
      "page": "print.twdtw",
      "title": "Print method for twdtw class",
      "topics": [
        "print.twdtw"
      ]
    },
    {
      "page": "print.twdtw_knn",
      "title": "Print method for twdtw_knn class",
      "topics": [
        "print.twdtw_knn"
      ]
    },
    {
      "page": "to_date_time",
      "title": "Convert to Date or POSIXct Format",
      "topics": [
        "to_date_time"
      ]
    },
    {
      "page": "twdtw",
      "title": "Calculate Time-Weighted Dynamic Time Warping (TWDTW) distance",
      "topics": [
        "twdtw",
        "twdtw.data.frame",
        "twdtw.matrix"
      ]
    },
    {
      "page": "twdtw_knn",
      "title": "Create a k-nearest neighbour model using TWDTW",
      "topics": [
        "twdtw_knn",
        "twdtw_knn.array",
        "twdtw_knn.data.frame",
        "twdtw_knn.list"
      ]
    },
    {
      "page": "twdtw_knn_predict",
      "title": "Classify time series of a given class with a TWDTW k-nearest neighbour model",
      "topics": [
        "twdtw_knn_predict",
        "twdtw_knn_predict.array",
        "twdtw_knn_predict.data.frame",
        "twdtw_knn_predict.list"
      ]
    },
    {
      "page": "twdtw_nearest",
      "title": "Find the k-nearest neighbours of time series using TWDTW",
      "topics": [
        "twdtw_nearest"
      ]
    }
  ],
  "_readme": "https://github.com/vwmaus/twdtw/raw/HEAD/README.md",
  "_rundeps": [
    "proxy",
    "Rcpp"
  ],
  "_sysdeps": [
    {
      "shlib": "libgfortran",
      "package": "libgfortran5",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "fortran",
      "homepage": "http://gcc.gnu.org/",
      "description": "Runtime library for GNU Fortran applications"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 4.857332496431269,
  "_indexed": true,
  "_nocasepkg": "twdtw",
  "_universes": [
    "vwmaus"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1-0",
      "date": "2026-11-20T18:37:16.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "cb7c10829ef93473d1c6c598d8312137180133f0",
      "fileid": "https://r2.ropensci.org/77cccd25636ff0729ce02ee2be00a770daa4c504b8fd96d4b513555b7370dbcf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vwmaus/actions/runs/44793734446"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1-0",
      "date": "2026-11-20T18:37:35.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "cb7c10829ef93473d1c6c598d8312137180133f0",
      "fileid": "https://r2.ropensci.org/8863aa468b82fcfb3be7ac328c588dd356a432a3b01dd29d305c722abcbed62f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vwmaus/actions/runs/44793734446"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.1-0",
      "date": "2026-11-20T18:37:16.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "cb7c10829ef93473d1c6c598d8312137180133f0",
      "fileid": "https://r2.ropensci.org/9d566771d720b0b42567072a495364bb0f9aa721b6bd53e6b466a5126df9b54e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vwmaus/actions/runs/44793734446"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.1-0",
      "date": "2026-11-20T18:38:15.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "cb7c10829ef93473d1c6c598d8312137180133f0",
      "fileid": "https://r2.ropensci.org/a6c9e98e43461579d9c2a9950f2d477ceb1856b12708ff583958bce76b197d0e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vwmaus/actions/runs/44793734446"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1-0",
      "date": "2026-11-20T18:41:59.000Z",
      "arch": "aarch64",
      "commit": "cb7c10829ef93473d1c6c598d8312137180133f0",
      "fileid": "https://r2.ropensci.org/7584b0e4571b26252e0d5a8f19834657862c2b4b292dcd24b5acae109ef2bb2b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vwmaus/actions/runs/44793734446"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1-0",
      "date": "2026-11-20T18:44:49.000Z",
      "arch": "x86_64",
      "commit": "cb7c10829ef93473d1c6c598d8312137180133f0",
      "fileid": "https://r2.ropensci.org/c874dd1c927cb1c3b9c924cbf55b536f612aa0e62323a7c01a81a34e3f8044ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vwmaus/actions/runs/44793734446"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.1-0",
      "date": "2026-11-20T18:40:54.000Z",
      "arch": "aarch64",
      "commit": "cb7c10829ef93473d1c6c598d8312137180133f0",
      "fileid": "https://r2.ropensci.org/efc48ceb1b186688163cfe4d644bc6edddf324836e2ffe44f9c16db4f4f09752",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vwmaus/actions/runs/44793734446"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.1-0",
      "date": "2026-11-20T18:43:48.000Z",
      "arch": "x86_64",
      "commit": "cb7c10829ef93473d1c6c598d8312137180133f0",
      "fileid": "https://r2.ropensci.org/8f55452525e5e137dc7380b3f4b5927d2b553adcb34ddc496fa186657e883b7e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vwmaus/actions/runs/44793734446"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1-0",
      "date": "2026-11-20T18:37:24.000Z",
      "arch": "emscripten",
      "commit": "cb7c10829ef93473d1c6c598d8312137180133f0",
      "fileid": "https://r2.ropensci.org/73dce5f21da5f26d10b40af2a75ab4c308d72699bd2c8e28e64eab9a348e66ba",
      "status": "success",
      "buildurl": "https://github.com/r-universe/vwmaus/actions/runs/44793734446"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1-0",
      "date": "2026-11-20T18:39:14.000Z",
      "arch": "aarch64",
      "commit": "cb7c10829ef93473d1c6c598d8312137180133f0",
      "fileid": "https://r2.ropensci.org/277d22a339c5802e689310b5e2d1327a75189d29317ea7032f052e69e35dc504",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vwmaus/actions/runs/44793734446"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1-0",
      "date": "2026-11-20T18:36:50.000Z",
      "arch": "x86_64",
      "commit": "cb7c10829ef93473d1c6c598d8312137180133f0",
      "fileid": "https://r2.ropensci.org/cf8d889a78f9064aaf521bc475dd3d11b39006f3152ebf47fe865f0d199b8ab4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vwmaus/actions/runs/44793734446"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1-0",
      "date": "2026-11-20T18:36:58.000Z",
      "arch": "x86_64",
      "commit": "cb7c10829ef93473d1c6c598d8312137180133f0",
      "fileid": "https://r2.ropensci.org/bf91977f709275777e9302e849243f838f8d33f29c55aa645a241cd2dc018eca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vwmaus/actions/runs/44793734446"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.1-0",
      "date": "2026-11-20T18:38:40.000Z",
      "arch": "aarch64",
      "commit": "cb7c10829ef93473d1c6c598d8312137180133f0",
      "fileid": "https://r2.ropensci.org/e30e7ea9bf20a53c21ddf1bf3ca0e0475c01cb38abe65f120d96e5100d27e3cd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vwmaus/actions/runs/44793734446"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.1-0",
      "date": "2026-11-20T18:36:55.000Z",
      "arch": "x86_64",
      "commit": "cb7c10829ef93473d1c6c598d8312137180133f0",
      "fileid": "https://r2.ropensci.org/f4fbc8249d27b6a423613cf319b4c600d1fc8c19a03cba64d1859c2af542c0c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/vwmaus/actions/runs/44793734446"
    }
  ]
}