{
  "_id": "6a1eebf1b401979e73412427",
  "Package": "SCTORvalidation",
  "Type": "Package",
  "Title": "Tools for assisting with package validation within the SCTO\npackage validation projedct of the Statistics and Methodology\nplatform",
  "Version": "0.4.5",
  "Authors@R": "c(\nperson(given = \"Alan G.\", family = \"Haynes\", role = \"cre\",\nemail = \"alan.haynes@unibe.ch\"))",
  "Maintainer": "Alan G Haynes <alan.haynes@unibe.ch>",
  "Description": "The validation platform consists of three GitHub\nrepositories, one of which hosts this package. The others host\ntests for specific packages, and a location to reports the\nresults of tests and validations. This package provides tools\nto work with that data.",
  "License": "MIT",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/SwissClinicalTrialOrganisation/SCTORvalidation_Rpackage",
  "BugReports": "https://github.com/SwissClinicalTrialOrganisation/SCTORvalidation_Rpackage/issues",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "cmake git make libicu-dev libuv1-dev libssl-dev\nlibx11-dev",
  "Repository": "https://dcr-unibe-ch.r-universe.dev",
  "Date/Publication": "2026-03-20 13:54:19 UTC",
  "RemoteUrl": "https://github.com/SwissClinicalTrialOrganisation/SCTORvalidation_Rpackage",
  "RemoteRef": "HEAD",
  "RemoteSha": "2ef6d6c5d1266e490e0a9a17796719dab2309d4c",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-19 09:36:16 UTC",
    "User": "root"
  },
  "Author": "Alan G. Haynes [cre]",
  "MD5sum": "b335a0224c5f9cb8147f59e8dca74962",
  "_user": "dcr-unibe-ch",
  "_type": "src",
  "_file": "SCTORvalidation_0.4.5.tar.gz",
  "_fileid": "3f7e8515e656fda382e4891fd6cd93dd2eb0bca648bead851ede3549c5c0a1f8",
  "_filesize": 188233,
  "_sha256": "3f7e8515e656fda382e4891fd6cd93dd2eb0bca648bead851ede3549c5c0a1f8",
  "_created": "2026-05-19T09:36:16.000Z",
  "_published": "2026-06-02T14:42:57.336Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79097849053,
      "time": 161,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7079959636"
    },
    {
      "job": 79097849485,
      "time": 161,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7079959585"
    },
    {
      "job": 79097849468,
      "time": 177,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7079957000"
    },
    {
      "job": 79097849816,
      "time": 194,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7079959445"
    },
    {
      "job": 79097849064,
      "time": 200,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7079900183"
    },
    {
      "job": 79097847932,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7360993451"
    },
    {
      "job": 79097849747,
      "time": 102,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7079938053"
    },
    {
      "job": 79097849420,
      "time": 103,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7079938447"
    },
    {
      "job": 79097849465,
      "time": 125,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7079946615"
    }
  ],
  "_buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/26088763953",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/SwissClinicalTrialOrganisation/SCTORvalidation_Rpackage",
  "_commit": {
    "id": "2ef6d6c5d1266e490e0a9a17796719dab2309d4c",
    "author": "GitHub Actions <actions@github.com>",
    "committer": "GitHub Actions <actions@github.com>",
    "message": "Re-build README.Rmd\n",
    "time": 1774014859
  },
  "_maintainer": {
    "name": "Alan G Haynes",
    "email": "alan.haynes@unibe.ch",
    "login": "aghaynes",
    "twitter": "@aghaynes",
    "description": "",
    "uuid": 6594028
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "conflicted",
      "role": "Imports"
    },
    {
      "package": "cranlogs",
      "role": "Imports"
    },
    {
      "package": "crayon",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "gh",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "pkgsearch",
      "role": "Imports"
    },
    {
      "package": "sessioninfo",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "kableExtra",
      "role": "Suggests"
    },
    {
      "package": "magrittr",
      "role": "Suggests"
    },
    {
      "package": "devtools",
      "role": "Suggests"
    }
  ],
  "_owner": "swissclinicaltrialorganisation",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-21",
      "n": 2
    },
    {
      "week": "2026-12",
      "n": 8
    }
  ],
  "_tags": [],
  "_stars": 2,
  "_contributors": [
    {
      "user": "aghaynes",
      "count": 116,
      "uuid": 6594028
    },
    {
      "user": "cyjak",
      "count": 4,
      "uuid": 105852383
    },
    {
      "user": "drespresso",
      "count": 1,
      "uuid": 45166575
    }
  ],
  "_userbio": {
    "uuid": 264417472,
    "type": "organization",
    "name": "Department of Clinical Research (DCR)",
    "description": "As the University of Bern's Department of Clinical Research, we offer clinical researchers full support from study design to study conduct."
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/SCTORvalidation"
  },
  "_devurl": "https://github.com/swissclinicaltrialorganisation/sctorvalidation_rpackage",
  "_searchresults": 9,
  "_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/SCTORvalidation.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "add_label",
    "check_session",
    "extract_functions_from_dir",
    "extract_functions_from_file",
    "find_pkgs",
    "gen_pkg_table",
    "gen_tests_table",
    "get_12month_downloads",
    "get_comments",
    "get_issue",
    "get_labels",
    "get_n_deps",
    "get_release_date",
    "get_test_data",
    "get_tested_pkgs",
    "get_tests",
    "get_valid_pkgs",
    "is_",
    "is_approved",
    "is_package",
    "is_test",
    "is_triage",
    "load_pkg_table",
    "load_tests_table",
    "parse_evidence_tab",
    "post_comment",
    "post_issue",
    "remove_label",
    "risk_hook",
    "sctopkg",
    "sctoreports",
    "sctotests",
    "test",
    "test_skeleton",
    "test_to_text",
    "update_issue",
    "update_pkg_table",
    "update_tests_table",
    "validate_pkg_issue"
  ],
  "_help": [
    {
      "page": "get_issue",
      "title": "Interact with the GitHub API to get or set issue information",
      "topics": [
        "add_label",
        "close_issue",
        "get_comments",
        "get_issue",
        "get_issues",
        "get_test_reports",
        "post_comment",
        "post_issue",
        "remove_label",
        "update_issue"
      ]
    },
    {
      "page": "calculate_pkg_score",
      "title": "Convert the text risk metric answers to numeric values and calculate a score",
      "topics": [
        "calculate_pkg_score"
      ]
    },
    {
      "page": "check_session",
      "title": "Check a sessions loaded packages against the risk assessed packages list from GitHub",
      "topics": [
        "check_session",
        "print.sctovalidity"
      ]
    },
    {
      "page": "extract_functions",
      "title": "Extract functions from R scripts within a directory",
      "topics": [
        "extract_functions_from_dir",
        "extract_functions_from_file"
      ]
    },
    {
      "page": "find_pkgs",
      "title": "Determine which package a function is from",
      "topics": [
        "find_pkgs"
      ]
    },
    {
      "page": "gen_pkg_table",
      "title": "Convert issues from to tables",
      "topics": [
        "gen_pkg_table",
        "gen_tests_table"
      ]
    },
    {
      "page": "get_12month_downloads",
      "title": "Get number of downloads in the last 12 months",
      "topics": [
        "get_12month_downloads"
      ]
    },
    {
      "page": "get_n_deps",
      "title": "Get the number of dependencies for a package",
      "topics": [
        "get_n_deps"
      ]
    },
    {
      "page": "get_pkg_source",
      "title": "Derive the location of a package's source code",
      "topics": [
        "get_pkg_source"
      ]
    },
    {
      "page": "get_release_date",
      "title": "Get the release date of a CRAN package",
      "topics": [
        "get_release_date"
      ]
    },
    {
      "page": "get_test_data",
      "title": "Download datasets from the SCTO validation tests repository",
      "topics": [
        "get_test_data"
      ]
    },
    {
      "page": "get_tested_pkgs",
      "title": "Get the list of packages that have tests in a repository",
      "topics": [
        "get_tested_pkgs"
      ]
    },
    {
      "page": "get_valid_pkgs",
      "title": "Get the list of validated packages from GitHub",
      "topics": [
        "get_valid_pkgs"
      ]
    },
    {
      "page": "is_",
      "title": "Check whether an issue has a particular label",
      "topics": [
        "get_labels",
        "is_",
        "is_approved",
        "is_package",
        "is_test",
        "is_triage"
      ]
    },
    {
      "page": "load_pkg_table",
      "title": "Load the flat file of validated packages from github",
      "topics": [
        "load_pkg_table",
        "load_tests_table"
      ]
    },
    {
      "page": "parse_evidence_tab",
      "title": "Convert test evidence table back to a data frame",
      "topics": [
        "parse_evidence_tab"
      ]
    },
    {
      "page": "risk_hook",
      "title": "Hook for collecting user-defined chunk risk level in markdown documents",
      "topics": [
        "risk_hook"
      ]
    },
    {
      "page": "repos",
      "title": "SCTO repositories",
      "topics": [
        "sctopkg",
        "sctoreports",
        "sctotests"
      ]
    },
    {
      "page": "test",
      "title": "Run all tests for a given package",
      "topics": [
        "print.validate_result",
        "test"
      ]
    },
    {
      "page": "test_skeleton",
      "title": "Add a new package skeleton",
      "topics": [
        "test_skeleton"
      ]
    },
    {
      "page": "test_to_text",
      "title": "Convert a test result object to a text string for posting to GitHub",
      "topics": [
        "test_to_text"
      ]
    },
    {
      "page": "update_pkg_table",
      "title": "Append new issue data to existing tables",
      "topics": [
        "update_pkg_table",
        "update_tests_table"
      ]
    },
    {
      "page": "validate_pkg_issue",
      "title": "Validate the inputs for package or function tests",
      "topics": [
        "validate_pkg_issue",
        "validate_test_issue"
      ]
    }
  ],
  "_readme": "https://github.com/SwissClinicalTrialOrganisation/SCTORvalidation_Rpackage/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "bit",
    "bit64",
    "brio",
    "cachem",
    "callr",
    "cli",
    "clipr",
    "conflicted",
    "cpp11",
    "cranlogs",
    "crayon",
    "curl",
    "desc",
    "diffobj",
    "dplyr",
    "evaluate",
    "fastmap",
    "fs",
    "generics",
    "gh",
    "gitcreds",
    "glue",
    "highr",
    "hms",
    "httr",
    "httr2",
    "ini",
    "jsonlite",
    "knitr",
    "lifecycle",
    "lubridate",
    "magrittr",
    "memoise",
    "mime",
    "openssl",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "pkgload",
    "pkgsearch",
    "praise",
    "prettyunits",
    "processx",
    "progress",
    "ps",
    "purrr",
    "R6",
    "rappdirs",
    "readr",
    "rlang",
    "rprojroot",
    "sessioninfo",
    "stringi",
    "stringr",
    "sys",
    "testthat",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "tzdb",
    "utf8",
    "vctrs",
    "vroom",
    "waldo",
    "withr",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "contribute.Rmd",
      "filename": "contribute.html",
      "title": "Contributing new tests",
      "engine": "knitr::rmarkdown",
      "headings": [
        "test_skeleton helps build the structure",
        "Submitting tests to the platform",
        "Writing tests",
        "Compare computation to a reference value",
        "Testing for errors, warnings and other messages",
        "Testing booleans",
        "Testing for NULL",
        "Testing the type of object returned (base R)",
        "Testing the class (s3) of an object",
        "Running tests under certain conditions",
        "Using data in tests",
        "Worked example",
        "test-lm.R",
        "Testing coefficients",
        "A note on selecting tolerances",
        "Testing the standard errors against Stata",
        "The completed test file",
        "info.txt",
        "setup-stats.R",
        "Testing that the tests work",
        "Hints for working with GitHub"
      ],
      "created": "2024-03-13 10:54:52",
      "modified": "2024-07-04 07:42:44",
      "commits": 6
    }
  ],
  "_score": 3.6020599913279625,
  "_indexed": false,
  "_nocasepkg": "sctorvalidation",
  "_universes": [
    "dcr-unibe-ch"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.5",
      "date": "2026-05-19T09:38:46.000Z",
      "distro": "noble",
      "commit": "2ef6d6c5d1266e490e0a9a17796719dab2309d4c",
      "fileid": "9ef7176f1214be5c1d6ef2bdb13596fbb420755dc23e4e86385324367e1201b4",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/26088763953"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.5",
      "date": "2026-05-19T09:38:48.000Z",
      "distro": "noble",
      "commit": "2ef6d6c5d1266e490e0a9a17796719dab2309d4c",
      "fileid": "36c152b5a1c9f9bfeccd957e30e98b59503d107492a6e5b0621fe63af43a90b5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/26088763953"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.5",
      "date": "2026-05-19T09:38:49.000Z",
      "commit": "2ef6d6c5d1266e490e0a9a17796719dab2309d4c",
      "fileid": "8fc74e9adfa9a93649f89fba50aa2715e4bb86e0f0e882c76da65dbf85082b26",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/26088763953"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.5",
      "date": "2026-05-19T09:38:49.000Z",
      "commit": "2ef6d6c5d1266e490e0a9a17796719dab2309d4c",
      "fileid": "61eca8c1204dbef2d47e97c9fd50e4e591336b02e3e42fac5fca3797c118519b",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/26088763953"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.5",
      "date": "2026-05-19T09:37:39.000Z",
      "commit": "2ef6d6c5d1266e490e0a9a17796719dab2309d4c",
      "fileid": "286122d38766e2eff82baea88ab288915ad5430d8ced23a8238b0a7796391842",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/26088763953"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.5",
      "date": "2026-05-19T09:37:39.000Z",
      "commit": "2ef6d6c5d1266e490e0a9a17796719dab2309d4c",
      "fileid": "30d200dea01d2e8f7b424af13f70d222c0eee7c312ec17a81185df7c2beabb5e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/26088763953"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.5",
      "date": "2026-05-19T09:38:09.000Z",
      "commit": "2ef6d6c5d1266e490e0a9a17796719dab2309d4c",
      "fileid": "842cee2e82091c515e26acca43e190919ee26fa074f7b94300b53cb5376e9868",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/26088763953"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.5",
      "date": "2026-06-02T14:42:26.000Z",
      "commit": "2ef6d6c5d1266e490e0a9a17796719dab2309d4c",
      "fileid": "0c73ee7f173683675ee3780e8dc134fa43f88431094fd7d182e3f39ef4bccb55",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dcr-unibe-ch/actions/runs/26088763953"
    }
  ]
}