{
  "_id": "6ae9c4fb1e2c7b3a4f5331da",
  "Package": "kwb.pkgbuild",
  "Title": "R package for standardised development at KWB",
  "Version": "0.3.0",
  "Authors@R": "c(person(given = \"Michael\",\nfamily = \"Rustler\",\nrole = c(\"aut\", \"cre\"),\nemail = \"michael.rustler@kompetenz-wasser.de\",\ncomment = c(ORCID = \"0000-0003-0647-7726\")),\nperson(given = \"Hauke\",\nfamily = \"Sonnenberg\",\nrole = \"aut\",\nemail = \"hauke.sonnenberg@kompetenz-wasser.de\",\ncomment = c(ORCID = \"0000-0001-9134-2871\")),\nperson(given = \"FAKIN\",\nrole = \"fnd\"),\nperson(given = \"Kompetenzzentrum Wasser Berlin gGmbH (KWB)\",\nrole = \"cph\"))",
  "Description": "Helper functions for automating R package development at\nKWB to a predefined style.",
  "License": "MIT + file LICENSE",
  "URL": "https://kwb-r.github.io/kwb.pkgbuild,\nhttps://github.com/KWB-R/kwb.pkgbuild",
  "BugReports": "https://github.com/KWB-R/kwb.pkgbuild/issues",
  "VignetteBuilder": "knitr",
  "Remotes": [
    "github::kwb-r/kwb.orcid",
    "github::kwb-r/kwb.utils"
  ],
  "ByteCompile": "true",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.1",
  "Config/pak/sysreqs": "cmake libfontconfig1-dev libfreetype6-dev\nlibfribidi-dev git make libharfbuzz-dev libgit2-dev libicu-dev\nlibjpeg-dev libpng-dev libtiff-dev libuv1-dev libwebp-dev\nlibxml2-dev libssl-dev libx11-dev",
  "Repository": "https://kwb-r.r-universe.dev",
  "Date/Publication": "2026-05-07 07:50:53 UTC",
  "RemoteUrl": "https://github.com/KWB-R/kwb.pkgbuild",
  "RemoteRef": "HEAD",
  "RemoteSha": "80354a49e081eead3dc2e4f6a5c6762b9bcb9aa4",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-03 10:19:13 UTC",
    "User": "root"
  },
  "Author": "Michael Rustler [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-0647-7726>),\nHauke Sonnenberg [aut] (ORCID: <https://orcid.org/0000-0001-9134-2871>),\nFAKIN [fnd],\nKompetenzzentrum Wasser Berlin gGmbH (KWB) [cph]",
  "Maintainer": "Michael Rustler <michael.rustler@kompetenz-wasser.de>",
  "_user": "kwb-r",
  "_type": "src",
  "_file": "kwb.pkgbuild_0.3.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/b2cf225e0ec5e2ac57663089b0a42f3ddd25b2570024411730801c77569159c2",
  "_filesize": 1018075,
  "_sha256": "b2cf225e0ec5e2ac57663089b0a42f3ddd25b2570024411730801c77569159c2",
  "_expires": "2027-02-11T11:26:50.000Z",
  "_created": "2026-11-03T10:19:13.000Z",
  "_published": "2026-11-03T11:26:51.814Z",
  "_upstream": "https://github.com/KWB-R/kwb.pkgbuild",
  "_status": "success",
  "_maintainer": {
    "name": "Michael Rustler",
    "email": "michael.rustler@kompetenz-wasser.de",
    "login": "mrustl",
    "twitter": "@MichaelRustler",
    "description": "Researcher @KWB-R ",
    "uuid": 11964451,
    "orcid": "0000-0003-0647-7726"
  },
  "_jobs": [
    {
      "job": 125857234261,
      "time": 152,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "13221569962"
    },
    {
      "job": 125857234198,
      "time": 128,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "13221599123"
    },
    {
      "job": 125857234147,
      "time": 100,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "13225843282"
    },
    {
      "job": 125857234170,
      "time": 131,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "NOTE",
      "artifact": "13226691917"
    },
    {
      "job": 125855579340,
      "time": 207,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13222985130"
    },
    {
      "job": 125857234112,
      "time": 113,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13222356605"
    },
    {
      "job": 125857235238,
      "time": 106,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "13221942728"
    },
    {
      "job": 125857234156,
      "time": 99,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "13222905587"
    },
    {
      "job": 125857234304,
      "time": 153,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "13222626518"
    }
  ],
  "_buildurl": "https://github.com/r-universe/kwb-r/actions/runs/41617778154",
  "_commit": {
    "id": "80354a49e081eead3dc2e4f6a5c6762b9bcb9aa4",
    "author": "Michael Rustler <michael.rustler@kompetenz-wasser.de>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #97 from KWB-R/claude/fix-github-actions-workflows-QAA7t\n\nBump JS-based actions to Node.js 24 compatible versions",
    "time": 1778140253
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "callr",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "crayon",
      "role": "Imports"
    },
    {
      "package": "desc",
      "role": "Imports"
    },
    {
      "package": "fs",
      "role": "Imports"
    },
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "kwb.utils",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "openssl",
      "role": "Imports"
    },
    {
      "package": "pkgdown",
      "role": "Imports"
    },
    {
      "package": "processx",
      "role": "Imports"
    },
    {
      "package": "rematch2",
      "role": "Imports"
    },
    {
      "package": "sessioninfo",
      "role": "Imports"
    },
    {
      "package": "usethis",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Imports"
    },
    {
      "package": "yaml",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "kwb.orcid",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "kwb-r",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2026-19",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v0.3.0",
      "date": "2026-05-07"
    }
  ],
  "_topics": [
    "automation",
    "best-practices",
    "project-fakin",
    "publication",
    "r-package-automation"
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "mrustl",
      "count": 221,
      "uuid": 11964451
    },
    {
      "user": "hsonne",
      "count": 110,
      "uuid": 11964315
    },
    {
      "user": "claude",
      "count": 5,
      "uuid": 81847
    }
  ],
  "_userbio": {
    "uuid": 11964354,
    "type": "organization",
    "name": "Kompetenzzentrum Wasser Berlin gGmbH (KWB)",
    "followers": 24,
    "description": "KWB is an international centre for water research and knowledge transfer"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/kwb.pkgbuild"
  },
  "_devurl": "https://github.com/kwb-r/kwb.pkgbuild",
  "_pkgdown": "https://kwb-r.github.io/kwb.pkgbuild",
  "_searchresults": 1,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/kwb.pkgbuild.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_exports": [
    "%>%",
    "copy_files_from_vignettes_dir_to_deploy_dir",
    "create_empty_branch",
    "create_empty_branch_ghpages",
    "create_pkg_dir",
    "deploy_site_github_with_extra_files",
    "deploy_to_branch_with_extra_files",
    "get_pkgname",
    "git_check_config",
    "git_setup_user",
    "set_github_user",
    "use_autopkgdown",
    "use_badge_appveyor",
    "use_badge_codecov",
    "use_badge_cran",
    "use_badge_ghactions",
    "use_badge_ghactions_pkgdown",
    "use_badge_ghactions_rcmdcheck",
    "use_badge_lifecycle",
    "use_badge_runiverse",
    "use_badge_travis",
    "use_codecov",
    "use_description",
    "use_ghactions",
    "use_ghactions_claude",
    "use_gitlab_ci_blogdown",
    "use_gitlab_ci_docs",
    "use_gitlab_ci_ghpages",
    "use_gitlab_ci_pkgdown",
    "use_index_md",
    "use_mit_license",
    "use_news_md",
    "use_pkg",
    "use_pkg_skeleton",
    "use_pkgdown",
    "use_readme_md",
    "write_to_gitignore",
    "write_to_rbuildignore"
  ],
  "_help": [
    {
      "page": "copy_files_from_vignettes_dir_to_deploy_dir",
      "title": "Copy files from Vignettes Dir to Deploy idir",
      "topics": [
        "copy_files_from_vignettes_dir_to_deploy_dir"
      ]
    },
    {
      "page": "create_empty_branch",
      "title": "Create Empty Branch From Github",
      "topics": [
        "create_empty_branch"
      ]
    },
    {
      "page": "create_empty_branch_ghpages",
      "title": "Create Empty gh-pages branch",
      "topics": [
        "create_empty_branch_ghpages"
      ]
    },
    {
      "page": "create_pkg_dir",
      "title": "Create Package Directory",
      "topics": [
        "create_pkg_dir"
      ]
    },
    {
      "page": "deploy_site_github_with_extra_files",
      "title": "deploy_site_github_with_extra_files",
      "topics": [
        "deploy_site_github_with_extra_files"
      ]
    },
    {
      "page": "deploy_to_branch_with_extra_files",
      "title": "Build and deploy a site locally with extra files",
      "topics": [
        "deploy_to_branch_with_extra_files"
      ]
    },
    {
      "page": "get_pkgname",
      "title": "Helper Function: Get Package Name",
      "topics": [
        "get_pkgname"
      ]
    },
    {
      "page": "git_check_config",
      "title": "Git Check Configuration",
      "topics": [
        "git_check_config"
      ]
    },
    {
      "page": "git_setup_user",
      "title": "Git Setup User (Name and Email)",
      "topics": [
        "git_setup_user"
      ]
    },
    {
      "page": "set_github_user",
      "title": "Set Github User For GIT",
      "topics": [
        "set_github_user"
      ]
    },
    {
      "page": "use_autopkgdown",
      "title": "Use Auto Pkgdown",
      "topics": [
        "use_autopkgdown"
      ]
    },
    {
      "page": "use_badge_appveyor",
      "title": "Badge appveyor",
      "topics": [
        "use_badge_appveyor"
      ]
    },
    {
      "page": "use_badge_codecov",
      "title": "Badge codecov",
      "topics": [
        "use_badge_codecov"
      ]
    },
    {
      "page": "use_badge_cran",
      "title": "Badge CRAN",
      "topics": [
        "use_badge_cran"
      ]
    },
    {
      "page": "use_badge_ghactions",
      "title": "Badge Github Actions",
      "topics": [
        "use_badge_ghactions"
      ]
    },
    {
      "page": "use_badge_ghactions_pkgdown",
      "title": "Badge Github Actions Pkgdown",
      "topics": [
        "use_badge_ghactions_pkgdown"
      ]
    },
    {
      "page": "use_badge_ghactions_rcmdcheck",
      "title": "Badge Github Actions RCMD Check",
      "topics": [
        "use_badge_ghactions_rcmdcheck"
      ]
    },
    {
      "page": "use_badge_lifecycle",
      "title": "Badge lifecycle",
      "topics": [
        "use_badge_lifecycle"
      ]
    },
    {
      "page": "use_badge_runiverse",
      "title": "Badge R-Universe",
      "topics": [
        "use_badge_runiverse"
      ]
    },
    {
      "page": "use_badge_travis",
      "title": "Badge travis",
      "topics": [
        "use_badge_travis"
      ]
    },
    {
      "page": "use_codecov",
      "title": "Adds codecov.yml",
      "topics": [
        "use_codecov"
      ]
    },
    {
      "page": "use_description",
      "title": "Use DESCRIPTION with KWB styling",
      "topics": [
        "use_description"
      ]
    },
    {
      "page": "use_ghactions",
      "title": "Adds default .github/workflows/",
      "topics": [
        "use_ghactions"
      ]
    },
    {
      "page": "use_ghactions_claude",
      "title": "Adds Claude Code workflows to .github/workflows/",
      "topics": [
        "use_ghactions_claude"
      ]
    },
    {
      "page": "use_gitlab_ci_blogdown",
      "title": "Adds .gitlab-ci.yml (if repo contains on root in a \"gh-pages\" branch)",
      "topics": [
        "use_gitlab_ci_blogdown"
      ]
    },
    {
      "page": "use_gitlab_ci_docs",
      "title": "Adds .gitlab-ci.yml (if repo contains a \"docs\" subfolder)",
      "topics": [
        "use_gitlab_ci_docs"
      ]
    },
    {
      "page": "use_gitlab_ci_ghpages",
      "title": "Adds .gitlab-ci.yml (which should be saved in root dir of \"gh-pages\" branch)",
      "topics": [
        "use_gitlab_ci_ghpages"
      ]
    },
    {
      "page": "use_gitlab_ci_pkgdown",
      "title": "Adds .gitlab-ci.yml",
      "topics": [
        "use_gitlab_ci_pkgdown"
      ]
    },
    {
      "page": "use_index_md",
      "title": "Create KWB-styled 'index.md'",
      "topics": [
        "use_index_md"
      ]
    },
    {
      "page": "use_mit_license",
      "title": "Create MIT licence with KWB style",
      "topics": [
        "use_mit_license"
      ]
    },
    {
      "page": "use_news_md",
      "title": "Create KWB-styled \"NEWS.md\"",
      "topics": [
        "use_news_md"
      ]
    },
    {
      "page": "use_pkg",
      "title": "Wrapper function for preparing R package with KWB styling",
      "topics": [
        "use_pkg"
      ]
    },
    {
      "page": "use_pkg_skeleton",
      "title": "Use Package Skeleton",
      "topics": [
        "use_pkg_skeleton"
      ]
    },
    {
      "page": "use_pkgdown",
      "title": "Set up 'pkgdown' with KWB styling",
      "topics": [
        "use_pkgdown"
      ]
    },
    {
      "page": "use_readme_md",
      "title": "Create KWB-styled 'README.md'",
      "topics": [
        "use_readme_md"
      ]
    },
    {
      "page": "write_to_gitignore",
      "title": "Write to .gitignore",
      "topics": [
        "write_to_gitignore"
      ]
    },
    {
      "page": "write_to_rbuildignore",
      "title": "Write to .Rbuildignore",
      "topics": [
        "write_to_rbuildignore"
      ]
    }
  ],
  "_readme": "https://github.com/KWB-R/kwb.pkgbuild/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "base64enc",
    "brio",
    "bslib",
    "cachem",
    "callr",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "credentials",
    "curl",
    "desc",
    "digest",
    "downlit",
    "evaluate",
    "fansi",
    "fastmap",
    "fontawesome",
    "fs",
    "gert",
    "gitcreds",
    "glue",
    "highr",
    "htmltools",
    "httr",
    "httr2",
    "ini",
    "jquerylib",
    "jsonlite",
    "knitr",
    "kwb.utils",
    "lifecycle",
    "magrittr",
    "memoise",
    "mime",
    "openssl",
    "otel",
    "pak",
    "pillar",
    "pkgconfig",
    "pkgdown",
    "processx",
    "ps",
    "purrr",
    "R6",
    "ragg",
    "rappdirs",
    "rematch2",
    "rlang",
    "rmarkdown",
    "rprojroot",
    "rstudioapi",
    "sass",
    "sessioninfo",
    "stringi",
    "sys",
    "systemfonts",
    "textshaping",
    "tibble",
    "tinytex",
    "usethis",
    "utf8",
    "vctrs",
    "whisker",
    "withr",
    "xfun",
    "xml2",
    "yaml",
    "zip"
  ],
  "_vignettes": [
    {
      "source": "tutorial.Rmd",
      "filename": "tutorial.html",
      "title": "Create KWB-R Package from Scratch",
      "author": "Michael Rustler, Hauke Sonnenberg",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1 Install required R packages",
        "2 Configure and create your package",
        "2.1 Prepare a package directory",
        "2.2 Create empty R package",
        "2.3 Parameterise your R package",
        "Author",
        "Package description",
        "2.4 Create R package structure in KWB-R style",
        "2.5 Add your R functions",
        "3 Check your package",
        "4 Build your package",
        "5 Document your package",
        "5.1 Manually",
        "5.2 Automatically"
      ],
      "created": "2018-06-18 22:43:15",
      "modified": "2026-05-07 07:30:59",
      "commits": 24
    },
    {
      "source": "github-actions.Rmd",
      "filename": "github-actions.html",
      "title": "GitHub Actions for KWB-R Packages",
      "author": "Michael Rustler, Hauke Sonnenberg",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1 Default workflows",
        "2 Optional: Claude Code workflows",
        "2.1 Required repository secret",
        "2.2 What Claude does",
        "3 Updating workflows in existing packages",
        "4 Troubleshooting"
      ],
      "created": "2026-05-07 07:30:59",
      "modified": "2026-05-07 07:30:59",
      "commits": 1
    },
    {
      "source": "install.Rmd",
      "filename": "install.html",
      "title": "How to Install KWB-R Packages From GitHub",
      "author": "Michael Rustler",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "1 GitHub Personal Access Token (PAT)",
        "1.1 Create GitHub PAT",
        "1.2 Store GitHub PAT in a Text File",
        "1.3 Delete GitHub PAT",
        "2 Installation",
        "2.1 Set your GITHUB_PAT",
        "2.2 Dependency",
        "2.3 KWB-R packages"
      ],
      "created": "2019-02-20 12:48:19",
      "modified": "2019-10-21 13:15:29",
      "commits": 8
    }
  ],
  "_score": 4.2552725051033065,
  "_indexed": true,
  "_nocasepkg": "kwb.pkgbuild",
  "_universes": [
    "kwb-r",
    "mrustl"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-11-03T10:21:28.000Z",
      "distro": "resolute",
      "commit": "80354a49e081eead3dc2e4f6a5c6762b9bcb9aa4",
      "fileid": "https://r2.ropensci.org/c48c4bdcadeb6bcef35f5540078d1331582c42d033e33022a2bb687a505c01c1",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/kwb-r/actions/runs/41617778154"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.3.0",
      "date": "2026-11-03T10:21:12.000Z",
      "distro": "resolute",
      "commit": "80354a49e081eead3dc2e4f6a5c6762b9bcb9aa4",
      "fileid": "https://r2.ropensci.org/d6c5b3698b8fcb5f1642443c07038d8fa312ba43c4699d15a93322fd6ce95665",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/kwb-r/actions/runs/41617778154"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-11-03T11:25:55.000Z",
      "commit": "80354a49e081eead3dc2e4f6a5c6762b9bcb9aa4",
      "fileid": "https://r2.ropensci.org/8bbc26a469b17f05b19bd989a97d66d22204255757d1682efe55b4f0e579a829",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/kwb-r/actions/runs/41617778154"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.3.0",
      "date": "2026-11-03T11:24:58.000Z",
      "commit": "80354a49e081eead3dc2e4f6a5c6762b9bcb9aa4",
      "fileid": "https://r2.ropensci.org/7cdc7bbc57774ec16b0a76be5eea82f618c1ae8396ad67102c231f3211c3e038",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/kwb-r/actions/runs/41617778154"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.0",
      "date": "2026-11-03T10:21:19.000Z",
      "commit": "80354a49e081eead3dc2e4f6a5c6762b9bcb9aa4",
      "fileid": "https://r2.ropensci.org/0e941480511ab958ee34345e89db3c6084820dd5e0e88314e325077ff9676c13",
      "status": "success",
      "buildurl": "https://github.com/r-universe/kwb-r/actions/runs/41617778154"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-11-03T10:20:22.000Z",
      "commit": "80354a49e081eead3dc2e4f6a5c6762b9bcb9aa4",
      "fileid": "https://r2.ropensci.org/baf32b24b34f50f638ea030d3c6a945cc2f3232fc2fd07c0fc4839797450da20",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/kwb-r/actions/runs/41617778154"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-11-03T10:20:26.000Z",
      "commit": "80354a49e081eead3dc2e4f6a5c6762b9bcb9aa4",
      "fileid": "https://r2.ropensci.org/3f1f3aecaf2c45289349092faf6c27e5286681f4a534649044b8d97ce9c3ab91",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/kwb-r/actions/runs/41617778154"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.3.0",
      "date": "2026-11-03T10:20:34.000Z",
      "commit": "80354a49e081eead3dc2e4f6a5c6762b9bcb9aa4",
      "fileid": "https://r2.ropensci.org/2d2072e4e4144192622ccbbd81de3dd59530e332fdc84064279571a8f967aa4f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/kwb-r/actions/runs/41617778154"
    }
  ]
}