tbls_identical: Are submission and solution tables identical

View source: R/utils.R

tbls_identicalR Documentation

Are submission and solution tables identical

Description

Are submission and solution tables identical

Usage

tbls_identical(
  subtbl,
  sol_env,
  soltbl = subtbl,
  ignore.case = FALSE,
  roworder_strict = FALSE,
  colorder_strict = FALSE,
  allow_extracols = FALSE,
  add = TRUE
)

Arguments

subtbl

Name of the table in submission environment.

sol_env

The solution environment.

soltbl

Name of the table in the solution environment.

ignore.case

Whether to ignore case when matching submission and solution variable names.

roworder_strict

Whether to require the submission table to have rows in the same order as the solution table.

colorder_strict

Whether to require the submission table to have columns in the same order as the target table.

allow_extracols

Whether to allow the submission table to have extra columns not present in the solution table.

add

whether to add feedback

Value

logical; returns result of dplyr::setequal(tblname, get(tblname, sol_env))


dalejbarr/assessr documentation built on Jan. 25, 2024, 10:47 p.m.