create_data_hake: Create package data with one call

View source: R/utils-create-data-hake.R

create_data_hakeR Documentation

Create package data with one call

Description

Create package data with one call

Usage

create_data_hake(var, val, ...)

Arguments

var

The variable name

val

The value for variable var

...

Additional arguments for usethis::use_data()

Details

Usually you have to create a variable first, and then call usethis::use_data() with the variable name as an argument and the package data will be created. This function just unifies that into one step

Value

Nothing, creates package data. See usethis::use_data()


pacific-hake/hake-assessment documentation built on Jan. 14, 2025, 9:12 p.m.