Skip to contents

Package metric workflow

The central tools for measuring packages.

metrics()
Catalog or calculate package metrics
pkg()
Create a new package object to start measuring package heuristics

Execution controls

Safeguards to ensure that you’re measuring precisely the package code you intend, in precisely the ways you intend to measure them.

permissions()
Package Data Permissions Class
policy()
Package Evaluation Policy Class
tags()
Tags Class
options
val.meter Options

Package resources

Concrete classes which characterize sources of package information.

cran_repo_resource()
Package CRAN Repository Resource Class
git_resource()
Package git Resource Class
install_resource()
Package Install Resource Class
local_resource()
Abstract Class for Local Package Resources
local_source_resource()
Abstract Class for Local Package Resources
mock_resource()
Mocked Package Resource
multi_resource()
A Resource Collection
remote_resource()
Abstract Class for Remote Package Resources
repo_resource()
Package Repository Resource Class
resource()
Resource Class
source_archive_resource()
Package Archive Source Code Resource Class
source_code_resource()
Package Local Resource Class Union

Extending and integrating with val.meter

Various developer-facing functions, used for extending val.meter

S7 Generics

pkg_data_derive()
Derive a package data field
pkg_data_info()
Derive package data information

S7 Method Implementation Helpers

Random package generation

random_pkg() random_pkgs() random_repo()
Generate Random Package(s)
pkg_words
Words for Package Names

Miscellaneous

to_dcf()
Convert an object into a DCF-formatted string
from_dcf()
Parse an object from a DCF-formatted string
pkg_from_dcf() pkgs_from_dcf()
Produce pkg(s) from a DCF-formatted string
error()
Build an error from an error type and data attributes