From therne@u @end|ng |rom m@yo@edu  Tue Jun 18 19:02:29 2019
From: therne@u @end|ng |rom m@yo@edu (Therneau, Terry M., Ph.D.)
Date: Tue, 18 Jun 2019 12:02:29 -0500
Subject: [Rd] making a vignette optional
Message-ID: <9ecfbe$btcmmv@ironport10.mayo.edu>

I had added a vignette to the coxme package and all worked well locally, but it failed at 
CRAN.???? The issue is that the vignette involves using coxme for pedigree data, it 
doesn't work without the kinship2 package, and I hadn't put in the necessary "if 
(require(...." logic.

The question is, how do I make the entire vignette conditional? If the package isn't 
available, there is nothing to run.? The latex itself will fail when it can't find the 
figures? (I float them), and the parts that don't will end up as inane discussion of 
material that isn't there.

Terry T.



	[[alternative HTML version deleted]]



[Rd] making a vignette optional
Therneau, Terry M., Ph.D.