write_envelopes: Writting labels for envelopes

View source: R/write_envelopes.R

write_envelopesR Documentation

Writting labels for envelopes

Description

Similarly as write_labels(), placing the label in a position ideal to fold the sheet as an envelope. This may be usually done for collections of Bryophytes.

Usage

write_envelopes(x, ...)

## S3 method for class 'specimens'
write_envelopes(
  x,
  output_file,
  date_format = "%d.%m.%Y",
  mar = c(l = 31, r = 31, t = 43, b = 148, u = "mm"),
  frame = FALSE,
  classoption = "a4paper",
  ...
)

Arguments

x

A specimens object retrieved by read_specimens().

...

Further arguments passed to list2rmd_doc(). It works only if 'merge = TRUE'.

output_file

A character value indicating the name of the file. It may include a relative path. This is passed to the homonymous parameter at render_rmd().

date_format

A character value indicating the format used for the collection date. It is passed to the function format.Date().

mar

A named vector indicating the margins. The mandatory names are l (left), r (right), t (top), b (bottom), and u (units).

frame

A logical value indicating whether a frame around the label should be drawn or not.

classoption

A character value to be inserted as 'classoption' in the yaml head for the Rmarkdown document.

Value

An invisible rmd_doc object.


kamapu/specimensDB documentation built on March 15, 2024, 1:27 p.m.