this function removes named print components

# S3 method for gadgetprint
gadget_discard(gf, comp_name)

Arguments

gf

The gadgetfile object to update

comp_name

named components to remove