zeallous: Allow zeallous assignment

View source: R/zeallous.R

zeallousR Documentation

Allow zeallous assignment

Description

Using zeallot within an R package may cause ⁠R CMD check⁠ to raise NOTEs concerning variables with "no visible binding". To avoid these NOTEs, include a call to zeallous() in a package's .onLoad() function.

Usage

zeallous()

Details

The ⁠R CMD check⁠ process uses a package {codetools} to check for assigned variables. However, due to the non-standard nature of zeallot assignment the codetools package does not identify these variables. To work around this, the zeallous() function modifies the variables found by codetools to avoid the NOTEs raised by ⁠R CMD check⁠.

Examples


.onLoad <- function(libname, pkgname) {
  zeallous()
}


zeallot documentation built on June 8, 2025, 1:36 p.m.