[R] Correct placement of .tex files in an R package

David Kane <David Kane a296180 at agate.fmr.com
Fri Oct 18 22:23:57 CEST 2002

I have a package in which I would like to store a LaTeX .tex file. It is not
documentation on any particular function, but is related to the package. In
thought that I could just create a "doc" directory under the "inst"
subdirectory and place it there. I thought that things in "inst" were just
recursively copied when the package was installed.

Alas, when I check the package (named "portfolio"), I get messages like:

Error in codoc(package = "portfolio") : cannot source usages in documentation object 'attribution'


Error in checkDocArgs(package = "portfolio") : 
	cannot source usages in documentation object 'attribution'

The name of my file is "attribution.tex".

Why is the happening and what can I do about it?

> version
platform sparc-sun-solaris2.6
arch     sparc               
os       solaris2.6          
system   sparc, solaris2.6   
major    1                   
minor    5.1                 
year     2002                
month    06                  
day      17                  
language R                   


Dave Kane

David Kane
Geode Capital Management
david.d.kane at fmr.com
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list