{
  "_id": "6a1efcc3b401979e73419858",
  "Package": "rtrend",
  "Title": "Trend Estimating Tools",
  "Description": "The traditional linear regression trend, Modified\nMann-Kendall (MK) non-parameter trend and bootstrap trend are\nincluded in this package. Linear regression trend is rewritten\nby '.lm.fit'. MK trend is rewritten by 'Rcpp'. Finally, those\nfunctions are about 10 times faster than previous version in R.\nReference: Hamed, K. H., & Rao, A. R. (1998). A modified\nMann-Kendall trend test for autocorrelated data. Journal of\nhydrology, 204(1-4), 182-196.\n<doi:10.1016/S0022-1694(97)00125-X>.",
  "Version": "0.1.5",
  "Authors@R": "c(\nperson(\"Dongdong\", \"Kong\", role = c(\"aut\", \"cre\"),\nemail = \"kongdd.sysu@gmail.com\", comment = c(ORCID = \"0000-0003-1836-8172\")),\nperson('Heyang', 'Song', role = \"aut\",\nemail = \"7800556@gmail.com\", comment = c(ORCID = \"0000-0002-4192-5603\")))",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "URL": "https://github.com/rpkgs/rtrend",
  "BugReports": "https://github.com/rpkgs/rtrend/issues",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "libfftw3-dev libgdal-dev gdal-bin libgeos-dev\nlibproj-dev libsqlite3-dev",
  "Repository": "https://rpkgs.r-universe.dev",
  "Date/Publication": "2026-04-18 14:40:04 UTC",
  "RemoteUrl": "https://github.com/rpkgs/rtrend",
  "RemoteRef": "HEAD",
  "RemoteSha": "e23d71632c7220d161f5fae8d491bb135a276c8c",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-18 10:06:35 UTC",
    "User": "root"
  },
  "Author": "Dongdong Kong [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-1836-8172>),\nHeyang Song [aut] (ORCID: <https://orcid.org/0000-0002-4192-5603>)",
  "Maintainer": "Dongdong Kong <kongdd.sysu@gmail.com>",
  "MD5sum": "cfad3dc3ef569eccfb07212d379fde3b",
  "_user": "rpkgs",
  "_type": "src",
  "_file": "rtrend_0.1.5.tar.gz",
  "_fileid": "80c32bec03823c6f494a02dc23ae31308ecf06166cc83fb4ecd2c812bf5a9157",
  "_filesize": 792625,
  "_sha256": "80c32bec03823c6f494a02dc23ae31308ecf06166cc83fb4ecd2c812bf5a9157",
  "_created": "2026-05-18T10:06:35.000Z",
  "_published": "2026-06-02T15:54:43.740Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79113647106,
      "time": 214,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7055012138"
    },
    {
      "job": 79113646755,
      "time": 253,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7055025725"
    },
    {
      "job": 79113647662,
      "time": 221,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7055014569"
    },
    {
      "job": 79113647664,
      "time": 238,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7055020664"
    },
    {
      "job": 79113647568,
      "time": 180,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7055001092"
    },
    {
      "job": 79113647661,
      "time": 369,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7055064387"
    },
    {
      "job": 79113647006,
      "time": 193,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7055005626"
    },
    {
      "job": 79113647137,
      "time": 336,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7055052786"
    },
    {
      "job": 79113645976,
      "time": 226,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7054940813"
    },
    {
      "job": 79113645978,
      "time": 130,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7362933425"
    },
    {
      "job": 79113647407,
      "time": 267,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7055030762"
    },
    {
      "job": 79113647432,
      "time": 192,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7055005456"
    },
    {
      "job": 79113647767,
      "time": 192,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7055005237"
    }
  ],
  "_buildurl": "https://github.com/r-universe/rpkgs/actions/runs/26026766824",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/rpkgs/rtrend",
  "_commit": {
    "id": "e23d71632c7220d161f5fae8d491bb135a276c8c",
    "author": "Dongdong Kong <kongdd@users.noreply.github.com>",
    "committer": "Dongdong Kong <kongdd@users.noreply.github.com>",
    "message": "fix #2 resid and mkTrend return docs\n",
    "time": 1776523204
  },
  "_maintainer": {
    "name": "Dongdong Kong",
    "email": "kongdd.sysu@gmail.com",
    "login": "kongdd",
    "description": "Professor (Associate) At China University of Geosciences; \n公众号: eco-hydro",
    "uuid": 9815742,
    "orcid": "0000-0003-1836-8172"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "fftwtools",
      "role": "Imports"
    },
    {
      "package": "boot",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "matrixStats",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "terra",
      "role": "Imports"
    },
    {
      "package": "plyr",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "rpkgs",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2026-16",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 3,
  "_contributors": [
    {
      "user": "kongdd",
      "count": 37,
      "uuid": 9815742
    },
    {
      "user": "shy86",
      "count": 1,
      "uuid": 72924309
    }
  ],
  "_userbio": {
    "uuid": 73266396,
    "type": "organization",
    "name": "rpkgs",
    "description": "My peasonal R packages"
  },
  "_downloads": {
    "count": 283,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rtrend"
  },
  "_devurl": "https://github.com/rpkgs/rtrend",
  "_searchresults": 25,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "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",
    "extra/rtrend.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/rpkgs/rtrend",
  "_realowner": "rpkgs",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2021-05-11"
    },
    {
      "version": "0.1.1",
      "date": "2021-09-02"
    },
    {
      "version": "0.1.2",
      "date": "2021-09-05"
    },
    {
      "version": "0.1.3",
      "date": "2022-04-03"
    },
    {
      "version": "0.1.4",
      "date": "2022-11-07"
    },
    {
      "version": "0.1.5",
      "date": "2024-01-11"
    }
  ],
  "_exports": [
    "acf.fft",
    "apply_3d",
    "apply_col",
    "apply_par",
    "apply_row",
    "array_2dTo3d",
    "array_3dTo2d",
    "chunk",
    "llply_par",
    "mkTrend",
    "mkTrend_r",
    "movmean",
    "movmean_2d",
    "movmean2",
    "parLapply2",
    "rast_filter_time",
    "set_dim",
    "set_dimnames",
    "slope",
    "slope_arr",
    "slope_boot",
    "slope_mk",
    "slope_p",
    "slope_rast",
    "slope_sen",
    "slope_sen_r",
    "smooth_SG",
    "smooth_wSG",
    "split_data",
    "summary_lm"
  ],
  "_help": [
    {
      "page": "mkTrend",
      "title": "Modified Mann Kendall",
      "topics": [
        "mkTrend",
        "mkTrend_r"
      ]
    },
    {
      "page": "movmean",
      "title": "movmean",
      "topics": [
        "movmean",
        "movmean2",
        "movmean_2d"
      ]
    },
    {
      "page": "set_dim",
      "title": "Set dimensions of an Object",
      "topics": [
        "set_dim",
        "set_dimnames"
      ]
    },
    {
      "page": "slope_rast",
      "title": "calculate slope of rast object",
      "topics": [
        "rast_filter_time",
        "slope_rast"
      ]
    },
    {
      "page": "slope",
      "title": "slope",
      "topics": [
        "slope",
        "slope_boot",
        "slope_mk",
        "slope_p",
        "slope_sen",
        "slope_sen_r"
      ]
    },
    {
      "page": "smooth_wSG",
      "title": "Weighted Savitzky-Golay",
      "topics": [
        "smooth_SG",
        "smooth_wSG"
      ]
    },
    {
      "page": "summary_lm",
      "title": "summary_lm",
      "topics": [
        "summary_lm"
      ]
    }
  ],
  "_readme": "https://github.com/rpkgs/rtrend/raw/HEAD/README.md",
  "_rundeps": [
    "boot",
    "cpp11",
    "fftwtools",
    "generics",
    "lubridate",
    "magrittr",
    "matrixStats",
    "plyr",
    "Rcpp",
    "RcppArmadillo",
    "terra",
    "timechange"
  ],
  "_sysdeps": [
    {
      "shlib": "liblapack",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_vignettes": [
    {
      "source": "slope_rast.Rmd",
      "filename": "slope_rast.html",
      "title": "slope_rast",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-11-07 02:38:47",
      "modified": "2022-11-07 05:17:19",
      "commits": 2
    }
  ],
  "_score": 5.051152522447381,
  "_indexed": true,
  "_nocasepkg": "rtrend",
  "_universes": [
    "rpkgs",
    "kongdd"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.5",
      "date": "2026-05-18T10:09:21.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "e23d71632c7220d161f5fae8d491bb135a276c8c",
      "fileid": "94c017cab900e42ead2fd91738e54e3e812327a5c857cee0f2b1c99495218de9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/26026766824"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.5",
      "date": "2026-05-18T10:09:56.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "e23d71632c7220d161f5fae8d491bb135a276c8c",
      "fileid": "8569e4f5b77af835cb6a76a8c2e5ffd464b870b253af71a01c2e52105d8eaaf5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/26026766824"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.5",
      "date": "2026-05-18T10:09:29.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "e23d71632c7220d161f5fae8d491bb135a276c8c",
      "fileid": "f725dc58306a00247e50ea56710261adf5b379e214e957d2430e51daee365cf2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/26026766824"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.5",
      "date": "2026-05-18T10:09:34.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "e23d71632c7220d161f5fae8d491bb135a276c8c",
      "fileid": "adf63585a6bc33661c472ef19d27419f944cac4374b121ff94165726a05e7bc9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/26026766824"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.5",
      "date": "2026-05-18T10:09:08.000Z",
      "arch": "aarch64",
      "commit": "e23d71632c7220d161f5fae8d491bb135a276c8c",
      "fileid": "e4d49885c46bb6d4c0284e328e07339a2a06a099d20db1da1b834785b4b6a51b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/26026766824"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.5",
      "date": "2026-05-18T10:10:10.000Z",
      "arch": "x86_64",
      "commit": "e23d71632c7220d161f5fae8d491bb135a276c8c",
      "fileid": "b429c209961367082b1a0fdb76f927053305a27484aca4fb3b2b4ac6a556ec26",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/26026766824"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.5",
      "date": "2026-05-18T10:09:09.000Z",
      "arch": "aarch64",
      "commit": "e23d71632c7220d161f5fae8d491bb135a276c8c",
      "fileid": "3f0e71ed4ee68631010819a38a3f697bc2334643c6917ceeeae070cd6f8b01e1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/26026766824"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.5",
      "date": "2026-05-18T10:10:02.000Z",
      "arch": "x86_64",
      "commit": "e23d71632c7220d161f5fae8d491bb135a276c8c",
      "fileid": "820493280f15481ba49498c5c1f07f3464b73a327f70f93e5848cf9f731dcecd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/26026766824"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.5",
      "date": "2026-05-18T10:09:02.000Z",
      "arch": "x86_64",
      "commit": "e23d71632c7220d161f5fae8d491bb135a276c8c",
      "fileid": "189cabba323fdf5fbe9f5a5ea2b096456ea43bad20df29e1422413192bd9fd84",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/26026766824"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.5",
      "date": "2026-05-18T10:08:17.000Z",
      "arch": "x86_64",
      "commit": "e23d71632c7220d161f5fae8d491bb135a276c8c",
      "fileid": "751f3ca82dff30db8471b658cb6ac400af9d2d3a727508f4f9c5c2f92a7a4ab7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/26026766824"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.5",
      "date": "2026-05-18T10:08:23.000Z",
      "arch": "x86_64",
      "commit": "e23d71632c7220d161f5fae8d491bb135a276c8c",
      "fileid": "d4449d02e7e9c0990cc08bf96d7b2230f9340b9bbc9bc1fc6cc413658edd14ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/26026766824"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.5",
      "date": "2026-06-02T15:54:07.000Z",
      "arch": "emscripten",
      "commit": "e23d71632c7220d161f5fae8d491bb135a276c8c",
      "fileid": "b7d9274e14ef0f85f3a275c574440723a8200c1a887975d7e3184a8ff692456c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/26026766824"
    }
  ]
}