{
  "_id": "6aafc1c93d719c1f840819c0",
  "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-09-20 11:13: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>",
  "_user": "rpkgs",
  "_type": "src",
  "_file": "rtrend_0.1.5.tar.gz",
  "_fileid": "https://r2.ropensci.org/e956ae87f629eac4420d3d753dfd2c5e9fd7899fc6fe17c16fb788a4a6769ed8",
  "_filesize": 794300,
  "_sha256": "e956ae87f629eac4420d3d753dfd2c5e9fd7899fc6fe17c16fb788a4a6769ed8",
  "_expires": "2026-12-29T11:21:43.000Z",
  "_created": "2026-09-20T11:13:35.000Z",
  "_published": "2026-09-20T11:21:45.683Z",
  "_jobs": [
    {
      "job": 106069091158,
      "time": 187,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10604082090"
    },
    {
      "job": 106069091228,
      "time": 206,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10604226535"
    },
    {
      "job": 106069091132,
      "time": 194,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10603823910"
    },
    {
      "job": 106069091224,
      "time": 239,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10603977300"
    },
    {
      "job": 106069091172,
      "time": 135,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10604686359"
    },
    {
      "job": 106069091176,
      "time": 278,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10604411934"
    },
    {
      "job": 106069091209,
      "time": 177,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10603982238"
    },
    {
      "job": 106069091159,
      "time": 360,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10604092297"
    },
    {
      "job": 106068630746,
      "time": 236,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10604571299"
    },
    {
      "job": 106069091108,
      "time": 146,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10604566447"
    },
    {
      "job": 106069091166,
      "time": 426,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10604441975"
    },
    {
      "job": 106069091137,
      "time": 192,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10603744921"
    },
    {
      "job": 106069091145,
      "time": 197,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10604201707"
    },
    {
      "job": 106069091289,
      "time": 411,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10604736525"
    },
    {
      "job": 106069091142,
      "time": 203,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10604331892"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/rpkgs/actions/runs/35507067374",
  "_status": "success",
  "_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\n",
    "uuid": 9815742,
    "orcid": "0000-0003-1836-8172"
  },
  "_distro": "resolute",
  "_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",
    "followers": 11,
    "description": "My peasonal R packages"
  },
  "_downloads": {
    "count": 369,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rtrend"
  },
  "_devurl": "https://github.com/rpkgs/rtrend",
  "_searchresults": 31,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.1",
  "_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/rtrend.html",
    "LICENSE"
  ],
  "_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.32+ds-5",
      "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.32+ds-5",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "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.144574207609616,
  "_indexed": true,
  "_nocasepkg": "rtrend",
  "_universes": [
    "rpkgs",
    "kongdd"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.5",
      "date": "2026-09-20T11:16:05.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e23d71632c7220d161f5fae8d491bb135a276c8c",
      "fileid": "https://r2.ropensci.org/fd30597f2b8dfedc30e0466f3cf3796f286b0eb21fc846dd0708b8117cee90a6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/35507067374"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.5",
      "date": "2026-09-20T11:16:22.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e23d71632c7220d161f5fae8d491bb135a276c8c",
      "fileid": "https://r2.ropensci.org/d33c288dac4a8b9a79d9956c7da4cfdbd978bc5483f3658323a4f9ea713c032a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/35507067374"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.5",
      "date": "2026-09-20T11:16:09.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "e23d71632c7220d161f5fae8d491bb135a276c8c",
      "fileid": "https://r2.ropensci.org/b00cc481e6ddf606f68ce1943e80b38fdaa2d92082eee4f13f1251d3038d81b5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/35507067374"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.5",
      "date": "2026-09-20T11:16:32.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "e23d71632c7220d161f5fae8d491bb135a276c8c",
      "fileid": "https://r2.ropensci.org/6fb5e31340faeade40d95a6667969503288d0cfdd44ec307a27368f9f523cb36",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/35507067374"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.5",
      "date": "2026-09-20T11:15:35.000Z",
      "arch": "aarch64",
      "commit": "e23d71632c7220d161f5fae8d491bb135a276c8c",
      "fileid": "https://r2.ropensci.org/a069d4ea2dd6e941bedd6e3b6b637f81c9790e8cc53dc01c624ef1515ccbff82",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/35507067374"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.5",
      "date": "2026-09-20T11:16:24.000Z",
      "arch": "x86_64",
      "commit": "e23d71632c7220d161f5fae8d491bb135a276c8c",
      "fileid": "https://r2.ropensci.org/10285ca8f71ee488ab3488767d9dc13794cc179da9444f60d9b9fe5d0dd337b3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/35507067374"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.5",
      "date": "2026-09-20T11:15:51.000Z",
      "arch": "aarch64",
      "commit": "e23d71632c7220d161f5fae8d491bb135a276c8c",
      "fileid": "https://r2.ropensci.org/0d776fa5a7d1c1ea0cc0fba7da874eb67fe932c5fecb4a78f5f5bcc8fb7884ef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/35507067374"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.5",
      "date": "2026-09-20T11:16:31.000Z",
      "arch": "x86_64",
      "commit": "e23d71632c7220d161f5fae8d491bb135a276c8c",
      "fileid": "https://r2.ropensci.org/29d55a7cf0fade407b869c04b75d984be3214f60f63582b0d57943ba4e9b9fa4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/35507067374"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.5",
      "date": "2026-09-20T11:16:31.000Z",
      "arch": "emscripten",
      "commit": "e23d71632c7220d161f5fae8d491bb135a276c8c",
      "fileid": "https://r2.ropensci.org/317d342cd87d803c34f5f11a645849dd6863307aa906a4522ad58abeb473c4c0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/35507067374"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.5",
      "date": "2026-09-20T11:19:09.000Z",
      "arch": "aarch64",
      "commit": "e23d71632c7220d161f5fae8d491bb135a276c8c",
      "fileid": "https://r2.ropensci.org/6021db327816bb1b5f0b5caaf93457ff9281a8cff303853ba3b1f88184f75ffc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/35507067374"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.5",
      "date": "2026-09-20T11:15:07.000Z",
      "arch": "x86_64",
      "commit": "e23d71632c7220d161f5fae8d491bb135a276c8c",
      "fileid": "https://r2.ropensci.org/d9828096ab24b2880552af3fdf6a4811b33e861a20bdf0436a121fc4c6aef2d2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/35507067374"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.5",
      "date": "2026-09-20T11:15:13.000Z",
      "arch": "x86_64",
      "commit": "e23d71632c7220d161f5fae8d491bb135a276c8c",
      "fileid": "https://r2.ropensci.org/35250407965922b82ed2d6409ba304602de26cc488d3e5014d561424c9da7565",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/35507067374"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.5",
      "date": "2026-09-20T11:18:45.000Z",
      "arch": "aarch64",
      "commit": "e23d71632c7220d161f5fae8d491bb135a276c8c",
      "fileid": "https://r2.ropensci.org/df28bcb233ae04d97e75be71a943434d8751b5e473e3a75085c65e7a7c78f058",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/35507067374"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.5",
      "date": "2026-09-20T11:15:06.000Z",
      "arch": "x86_64",
      "commit": "e23d71632c7220d161f5fae8d491bb135a276c8c",
      "fileid": "https://r2.ropensci.org/a7f3ffe93b8a84db5b9bd8d09d42fab5a989ad0ec302b1f2be2a18cc506494d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rpkgs/actions/runs/35507067374"
    }
  ]
}