Hello useRs, I'm trying to use the Roxygen package. Here my code file : #' A packge to check Roxygen's sanity #' @name helloRoxygen-package #' @docType package NA And my R code to generate the package : library(roxygen) package.skeleton("helloRoxygen", code_files = "roxy.r", force = T) roxygenize("helloRoxygen", "helloRoxygen", copy.package = F, unlink.target F, overwrite = T) I obtain this error message : Writing helloRoxygen-package to helloRoxygen/man/helloRoxygen-package.Rd Writing namespace directives to helloRoxygen/NAMESPACE Merging collate directive with helloRoxygen/DESCRIPTION to helloRoxygen/DESCRIPTION *Avis dans load.dependencies() : Package(s) 'helloRoxygen' wouldn't load; callgraphs might be incomplete.* I don't understand what this means. I'm doing something wrong? Thank you for your help. Best regards, david [[alternative HTML version deleted]]
I have found something there : https://lists.r-forge.r-project.org/pipermail/roxygen-devel/2009-January/000016.html "In order to do static callgraphs, the package itself has to be loadable; that's unfortunate in the sense that you may have to install the package before generating the docs." But I can't understand what I must do in my short example... Thank you for any help. david 2009/1/30 David Hajage <dhajage.r@gmail.com>> Hello useRs, > > I'm trying to use the Roxygen package. > > Here my code file : > #' A packge to check Roxygen's sanity > #' @name helloRoxygen-package > #' @docType package > NA > > And my R code to generate the package : > library(roxygen) > package.skeleton("helloRoxygen", code_files = "roxy.r", force = T) > roxygenize("helloRoxygen", "helloRoxygen", copy.package = F, unlink.target > = F, overwrite = T) > > I obtain this error message : > Writing helloRoxygen-package to helloRoxygen/man/helloRoxygen-package.Rd > Writing namespace directives to helloRoxygen/NAMESPACE > Merging collate directive with helloRoxygen/DESCRIPTION to > helloRoxygen/DESCRIPTION > *Avis dans load.dependencies() : > Package(s) 'helloRoxygen' wouldn't load; callgraphs might be incomplete. > * > > I don't understand what this means. I'm doing something wrong? > > Thank you for your help. > > Best regards, > > david >[[alternative HTML version deleted]]
On Fri, Jan 30, 2009 at 3:49 AM, David Hajage <dhajage.r at gmail.com> wrote:> Hello useRs, > > I'm trying to use the Roxygen package. > > Here my code file : > #' A packge to check Roxygen's sanity > #' @name helloRoxygen-package > #' @docType package > NA > > And my R code to generate the package : > library(roxygen) > package.skeleton("helloRoxygen", code_files = "roxy.r", force = T) > roxygenize("helloRoxygen", "helloRoxygen", copy.package = F, unlink.target > F, overwrite = T) > > I obtain this error message : > Writing helloRoxygen-package to helloRoxygen/man/helloRoxygen-package.Rd > Writing namespace directives to helloRoxygen/NAMESPACE > Merging collate directive with helloRoxygen/DESCRIPTION to > helloRoxygen/DESCRIPTION > *Avis dans load.dependencies() : > Package(s) 'helloRoxygen' wouldn't load; callgraphs might be incomplete.* > > I don't understand what this means. I'm doing something wrong?That's not an error - just a warning. You can't get complete call graphs (if you need them) unless you've already installed your helloRoxygen package. If you're not using the call graphs, don't worry about it. Hadley -- http://had.co.nz/
Apparently Analagous Threads
- Roxygen: @example tag does not work for me
- Problem accessing functions in package 'roxygen'
- ignorant question about Roxy- mode in ESS
- [Roxygen-devel] Roxygen: @example tag does not work for me
- R 2.13.0-beta for Windows, file.copy() throws suspicious errors due to default value of copy.mode