Package: SCTORvalidation 0.4.1

Alan G Haynes

SCTORvalidation: Tools for assisting with package validation within the SCTO package validation projedct of the Statistics and Methodology platform

The validation platform consists of three GitHub repositories, one of which hosts this package. The others host tests for specific packages, and a location to reports the results of tests and validations. This package provides tools to work with that data.

Authors:Alan G. Haynes [cre]

SCTORvalidation_0.4.1.tar.gz
SCTORvalidation_0.4.1.zip(r-4.5)SCTORvalidation_0.4.1.zip(r-4.4)SCTORvalidation_0.4.1.zip(r-4.3)
SCTORvalidation_0.4.1.tgz(r-4.4-any)SCTORvalidation_0.4.1.tgz(r-4.3-any)
SCTORvalidation_0.4.1.tar.gz(r-4.5-noble)SCTORvalidation_0.4.1.tar.gz(r-4.4-noble)
SCTORvalidation_0.4.1.tgz(r-4.4-emscripten)SCTORvalidation_0.4.1.tgz(r-4.3-emscripten)
SCTORvalidation.pdf |SCTORvalidation.html
SCTORvalidation/json (API)
NEWS

# Install 'SCTORvalidation' in R:
install.packages('SCTORvalidation', repos = c('https://ctu-bern.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/swissclinicaltrialorganisation/sctorvalidation_rpackage/issues

On CRAN:

3.70 score 1 stars 39 exports 71 dependencies

Last updated 13 days agofrom:0442bbfb7d. Checks:OK: 1 NOTE: 6. Indexed: no.

TargetResultDate
Doc / VignettesOKDec 13 2024
R-4.5-winNOTEDec 13 2024
R-4.5-linuxNOTEDec 13 2024
R-4.4-winNOTEDec 13 2024
R-4.4-macNOTEDec 13 2024
R-4.3-winNOTEDec 13 2024
R-4.3-macNOTEDec 13 2024

Exports:add_labelcheck_sessionextract_functions_from_dirextract_functions_from_filefind_pkgsgen_pkg_tablegen_tests_tableget_12month_downloadsget_commentsget_issueget_labelsget_n_depsget_release_dateget_test_dataget_tested_pkgsget_testsget_valid_pkgsis_is_approvedis_packageis_testis_triageload_pkg_tableload_tests_tableparse_evidence_tabpost_commentpost_issueremove_labelrisk_hooksctopkgsctoreportssctoteststesttest_skeletontest_to_textupdate_issueupdate_pkg_tableupdate_tests_tablevalidate_pkg_issue

Dependencies:askpassbitbit64briocachemcallrclicliprconflictedcpp11cranlogscrayoncurldescdiffobjdigestdplyrevaluatefansifastmapfsgenericsghgitcredsgluehighrhmshttrhttr2inijsonliteknitrlifecyclelubridatemagrittrmemoisemimeopensslpillarpkgbuildpkgconfigpkgloadpkgsearchpraiseprettyunitsprocessxprogresspspurrrR6rappdirsreadrrlangrprojrootsessioninfostringistringrsystestthattibbletidyrtidyselecttimechangetzdbutf8vctrsvroomwaldowithrxfunyaml

Contributing new tests

Rendered fromcontribute.Rmdusingknitr::rmarkdownon Dec 13 2024.

Last update: 2024-07-04
Started: 2024-03-13

Readme and manuals

Help Manual

Help pageTopics
Interact with the GitHub API to get or set issue informationadd_label close_issue get_comments get_issue get_issues get_test_reports post_comment post_issue remove_label update_issue
Convert the text risk metric answers to numeric values and calculate a scorecalculate_pkg_score
Check a sessions loaded packages against the risk assessed packages list from GitHubcheck_session print.sctovalidity
Extract functions from R scripts within a directoryextract_functions_from_dir extract_functions_from_file
Determine which package a function is fromfind_pkgs
Convert issues from to tablesgen_pkg_table gen_tests_table
Get number of downloads in the last 12 monthsget_12month_downloads
Get the number of dependencies for a packageget_n_deps
Derive the location of a package's source codeget_pkg_source
Get the release date of a CRAN packageget_release_date
Download datasets from the SCTO validation tests repositoryget_test_data
Get the list of packages that have tests in a repositoryget_tested_pkgs
Get the list of validated packages from GitHubget_valid_pkgs
Check whether an issue has a particular labelget_labels is_ is_approved is_package is_test is_triage
Load the flat file of validated packages from githubload_pkg_table load_tests_table
Convert test evidence table back to a data frameparse_evidence_tab
Hook for collecting user-defined chunk risk level in markdown documentsrisk_hook
SCTO repositoriessctopkg sctoreports sctotests
Run all tests for a given packageprint.validate_result test
Add a new package skeletontest_skeleton
Convert a test result object to a text string for posting to GitHubtest_to_text
Append new issue data to existing tablesupdate_pkg_table update_tests_table
Validate the inputs for package or function testsvalidate_pkg_issue validate_test_issue