Displaying 20 results from an estimated 2000 matches similar to: "Roxygen not truncating files"
2010 Oct 04
1
Globbing inconsistencies, dir() vs. unlink()
I was trying to remove a directory and couldn't figure out why it was
failing:
> dir("~/p4/r-packages/IREval/Users", recursive=T)
[1] "u0048513/p4/r-packages/IREval/DESCRIPTION"
[2] "u0048513/p4/r-packages/IREval/R/IREval.R"
[3] "u0048513/p4/r-packages/IREval/Read-and-delete-me"
[4] "u0048513/p4/r-packages/IREval/tests/general.R"
>
2010 Aug 05
4
A %nin% operator?
Sometimes I write code like this:
> qf.a <- subset(qf, pubid %in% c(104, 106, 107, 108))
> qf.b <- subset(qf, !pubid %in% c(104, 106, 107, 108))
and I get a little worried that maybe I've remembered the precedence rules
wrong, so I change it to
> qf.a <- subset(qf, pubid %in% c(104, 106, 107, 108))
> qf.b <- subset(qf, !(pubid %in% c(104, 106, 107, 108)))
and pretty
2010 Jun 22
1
Installing rsync-2.4.6 on an Intel box running Solaris x86....
Resending again, now that I'm a new member - AQ
________________________________
From: Quintana, Andre (M Tech Ops)
Sent: Tuesday, June 22, 2010 4:23 PM
To: rsync at samba.org
Cc: Quintana, Andre (M Tech Ops)
Subject: Installing rsync-2.4.6 on an Intel box running Solaris x86....
Importance: High
Greetings all RSYNC Guru's,
We are presently using rsync-2.4.6 on our
2010 Sep 15
0
Roxygen: question regarding 'use.Rd2' and creation of DESCRIPTION
Dear List,
I ran into the following two problems while using the package 'roxygen':
QUESTION 1
I split the relevant R-Code for my package into the following scripts:
classes.R (S4), functions.R ('standard' functions), generics.R (S4),
methods.R (S4). Function package.skeleton() generates Rd-files for all class
defs, function defs etc. in dir 'pkg/man'. So far, so good.
2010 Apr 14
0
Roxygen - basic usage uncertain
I am trying to make a package consisting of a single function with
auto-documentation assistance from 'roxygen' but am uncertain of the correct
procedure. My version of 'R' is 2.10.1.
I followed the following steps:
1) Get an existing function (un-commented) as an '.R' file.
2) Add formal comments (e.g. owner) above that function's code using the [#'
@] syntax.
2010 Nov 04
2
Roxygen: @example tag does not work for me
Dear list,
somehow I can't get the Roxygen tag "@example" to work for me.
My "Roxygen-Header" of a script containing, say, a function looks like this:
#' My header
#'
#' My description
#'
#' @param a Blabla.
#' @param b Blabla.
#' @return \code{TRUE}.
#' @callGraphPrimitives
#' @references
#'
2009 Jan 30
2
error message with roxygen
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",
2009 Jul 16
0
Cryptic error with Roxygen
Dear all,
I'm using Roxygen for the first time and I'm getting a rather cryptic
error message. I must be doing something wrong but I have no clue what
is it. Any suggestions?
Regards,
Thierry
roxygenize("AFLP", roxygen.dir = "AFLP", copy.package = FALSE,
unlink.target = FALSE)
Writing AFLP.outlier to AFLP/man/AFLP.outlier.Rd
Writing AFLP.outlier to
2010 Nov 04
1
[Roxygen-devel] Roxygen: @example tag does not work for me
> -----Urspr?ngliche Nachricht-----
> Von: roxygen-devel-bounces at lists.r-forge.r-project.org [mailto:roxygen-
> devel-bounces at lists.r-forge.r-project.org] Im Auftrag von Vinh Nguyen
> Gesendet: Donnerstag, 4. November 2010 04:04
> An: roxygen-devel at r-forge.wu-wien.ac.at
> Betreff: Re: [Roxygen-devel] Roxygen: @example tag does not work for me
>
> Try @examples
2010 Nov 27
0
How to stop roxygen from creating Rd for functions that are not exported?
Hi all,
It seems roxygen will create Rd files for any functions under the ./R/
directory, and I did not find a way to hide certain functions, even if
I specified a name space. E.g.
#' @export
f = function() {}
#' do nothing
g = function() {}
If I run roxygenize() on the package, both f and g will be documented,
although only f is visible to the users.
Thanks!
Regards,
Yihui
--
Yihui
2010 Dec 01
0
New package Rd2roxygen: Convert Rd to roxygen documentation
Hi,
A new package Rd2roxygen has been released on CRAN:
http://cran.r-project.org/package=Rd2roxygen (source package
available; binaries to come)
This package can be useful for developers who used to document their
functions in the raw Rd files but want to switch to roxygen now using
inline roxygen comments (e.g. me). The main functionality of this
package is to parse the Rd files under the
2011 Apr 07
1
R 2.13.0-beta for Windows, file.copy() throws suspicious errors due to default value of copy.mode
While checking packages against R 2.13.0-beta on Windows, I have run into a
few strange error messages related to copying files. The errors all relate
to file.copy() and have the form of:
Error in Sys.chmod(to[okay], file.info(from[okay])$mode, TRUE) :
'mode' must be of length at least one
After half a day of tinkering, the best reproducible example I can come up
with involves using
2015 Oct 04
0
Conditional importFrom (roxygen?)
On 04/10/2015 7:34 PM, Ben Bolker wrote:
> Duncan Murdoch <murdoch.duncan <at> gmail.com> writes:
>
>>
>> On 04/10/2015 10:10 AM, Jonathan Greenberg wrote:
>>> Folks:
>>>
>
> [snip snip snip]
>
>>>
>>> Is there a way to do a conditional importFrom based on the OS? Or can I
>>> safely ignore this (I'm trying
2009 Sep 03
1
Problem accessing functions in package 'roxygen'
I have Vista Home with R-2.9.0, and installed and tried to test the
package 'roxygen':
> utils:::menuInstallPkgs()
trying URL
'http://lib.stat.cmu.edu/R/CRAN/bin/windows/contrib/2.9/roxygen_0.1.zip'
Content type 'application/zip' length 699474 bytes (683 Kb)
opened URL
downloaded 683 Kb
package 'roxygen' successfully unpacked and MD5 sums checked
The
2009 Sep 01
2
List of tags in roxygen and use for S4 classes?
Hi
is there a list of all roxygen tags which are available? I couldn't find them.
I am asking specifically towards the use of roxygen in documenting S4
classes - is that implemented yet (i am using roxygen 0.1 from CRAN at
the moment)?
Thanks
Rainer
--
Rainer M. Krug, Centre of Excellence for Invasion Biology,
Stellenbosch University, South Africa
2010 Nov 20
1
Roxygen examples in DONTRUN mode - how?
Dear list,
I have just started to use roxygen and cannot find out how to specify NOT RUN examples.
I know that to include R code examples works via the @examples tag followed by the code.
Without roxygen, if I want R code not to be run when processing the .Rd files I would include the \dontrun tag
\examples{\dontrun{ ... some example R code} }
How can I achieve this using roxygen?
Thanks
Mark
2009 Jun 21
2
Roxygen to ignore a block of code?
Any way to tell Roxygen to ignore a block of code? It is generating an
unwanted .Rd file.
I've been searching for hours for an example, scouring documentation, but no
luck...
Thanks.
- Ken
--
View this message in context: http://www.nabble.com/Roxygen-to-ignore-a-block-of-code--tp24133293p24133293.html
Sent from the R help mailing list archive at Nabble.com.
2010 Nov 25
3
Go (back) from Rd to roxygen
Hi all,
Since roxygen is a great help to document R packages, I am wondering
if there exists an approach to go back from the raw Rd files to
roxygen-documentation? E.g. turn "\author{Somebody}" into "@author
Somebody". This sounds ridiculous, but I believe it helps in the long
term for me to maintain R packages.
Thanks!
Regards,
Yihui
--
Yihui Xie <xieyihui at
2013 Jul 20
1
roxygen
I am modifying a package that appears to have been made with roxygen. I'm
currently running Debian stable (wheezy) amd64 with the stock R 2.15.1. I
have some other, mostly older, flavors as well.
roxygen doesn't seem to be in the Debian repositories or (if I wanted to
switch to R v3) http://cran.r-project.org/bin/linux/debian/wheezy-cran3/.
Any tips? Just install from source and
2015 Oct 04
2
Conditional importFrom (roxygen?)
Duncan Murdoch <murdoch.duncan <at> gmail.com> writes:
>
> On 04/10/2015 10:10 AM, Jonathan Greenberg wrote:
> > Folks:
> >
[snip snip snip]
> >
> > Is there a way to do a conditional importFrom based on the OS? Or can I
> > safely ignore this (I'm trying to submit to CRAN).
> >
>
> Yes, you can put conditionals into the