Re: [R] roxygen2 & markdown & math

2021-01-14 Thread Hadley Wickham
On Tuesday, January 12, 2021, Duncan Murdoch wrote: > On 12/01/2021 1:12 p.m., Sigbert Klinke wrote: > >> Hi, >> >> thanks a lot, but maybe I was to vague. >> >> I do not want to replace \eqn{...} and \deqn{...} by \mjseqn{...} and >> \mjsdeqn{...}. I would like to use $...$ and $$...$$ as in Rma

Re: [R] roxygen2 & markdown & math

2021-01-12 Thread Duncan Murdoch
Of Sigbert Klinke Sent: Tuesday, 12 January, 2021 9:14 To: r-help@r-project.org Subject: [R] roxygen2 & markdown & math Hi, I like to make my package documentation with markdown which is supported since roxygen2 6.0.0 . I used a math expression like $t_n \appox N(0,1)$ which leads in th

Re: [R] roxygen2 & markdown & math

2021-01-12 Thread Jeff Newmiller
From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of >Sigbert >>> Klinke >>> Sent: Tuesday, 12 January, 2021 9:14 >>> To: r-help@r-project.org >>> Subject: [R] roxygen2 & markdown & math >>> >>> Hi, >>> >>> I l

Re: [R] roxygen2 & markdown & math

2021-01-12 Thread Sigbert Klinke
-help@r-project.org Subject: [R] roxygen2 & markdown & math Hi, I like to make my package documentation with markdown which is supported since roxygen2 6.0.0 . I used a math expression like $t_n \appox N(0,1)$ which leads in the package check to "unknown macro '\approx'"

Re: [R] roxygen2 & markdown & math

2021-01-12 Thread Viechtbauer, Wolfgang (SP)
y, 2021 9:14 >To: r-help@r-project.org >Subject: [R] roxygen2 & markdown & math > >Hi, > >I like to make my package documentation with markdown which is supported >since roxygen2 6.0.0 . I used a math expression like $t_n \appox N(0,1)$ >which leads in the package chec

[R] roxygen2 & markdown & math

2021-01-12 Thread Sigbert Klinke
Hi, I like to make my package documentation with markdown which is supported since roxygen2 6.0.0 . I used a math expression like $t_n \appox N(0,1)$ which leads in the package check to "unknown macro '\approx'". I guess I get the warning because math is not supported in markdown. Are there

Re: [R] roxygen2 error - x$tag operator is invalid for atomic vectors

2018-01-17 Thread Duncan Murdoch
On 17/01/2018 8:37 AM, Martin Møller Skarbiniks Pedersen wrote: On 17 January 2018 at 14:30, Eric Berger wrote: This is an error message from R. For example, if you give the following R commands a <- 5 a$foo This will generate the error message: Error in a$foo : $ operator is invalid for a

Re: [R] roxygen2 error - x$tag operator is invalid for atomic vectors

2018-01-17 Thread Martin Møller Skarbiniks Pedersen
On 17 January 2018 at 14:30, Eric Berger wrote: > This is an error message from R. > For example, if you give the following R commands > > a <- 5 > > a$foo > This will generate the error message: > Error in a$foo : $ operator is invalid for atomic vectors > > So you can search for the string 'x$

Re: [R] roxygen2 error - x$tag operator is invalid for atomic vectors

2018-01-17 Thread Ben Tupper
gt; ?`$` Cheers, Ben > On Jan 17, 2018, at 8:16 AM, Martin Møller Skarbiniks Pedersen > wrote: > > Hi, > > I am trying to create my first R package. > I will later today put the files on Github. > > However I gets this error and I can't find any reason for i

Re: [R] roxygen2 error - x$tag operator is invalid for atomic vectors

2018-01-17 Thread Eric Berger
e). HTH, Eric On Wed, Jan 17, 2018 at 3:16 PM, Martin Møller Skarbiniks Pedersen < traxpla...@gmail.com> wrote: > Hi, > > I am trying to create my first R package. > I will later today put the files on Github. > > However I gets this error and I can't fin

[R] roxygen2 error - x$tag operator is invalid for atomic vectors

2018-01-17 Thread Martin Møller Skarbiniks Pedersen
Hi, I am trying to create my first R package. I will later today put the files on Github. However I gets this error and I can't find any reason for it: R> roxygen2::roxygenise() First time using roxygen2. Upgrading automatically... Error in x$tag : $ operator is invalid for atomic

Re: [R] roxygen2 v6.0.0

2017-02-06 Thread Bert Gunter
Marc: You miss Yihui's point I think: roxygen2 will generate the (Namespace and other) files for you. See its documentation for how (the directives to put in your comments). -- Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it."

Re: [R] roxygen2 v6.0.0

2017-02-06 Thread Marc Girondot via R-help
Le 06/02/2017 à 17:14, Yihui Xie a écrit : If your package source is version controlled (meaning you are free to regret any time), I'd recommend you to delete the three files NAMESPACE, chr.Rd, and essai-package.Rd. Then try to roxygenize again. Basically the warnings you saw indicates that roxyg

Re: [R] roxygen2 v6.0.0

2017-02-06 Thread Yihui Xie
If your package source is version controlled (meaning you are free to regret any time), I'd recommend you to delete the three files NAMESPACE, chr.Rd, and essai-package.Rd. Then try to roxygenize again. Basically the warnings you saw indicates that roxygen2 failed to find the line % Generated by r

[R] roxygen2 v6.0.0

2017-02-06 Thread Marc Girondot via R-help
Hi, I used roxygen2 v5.0.1 to document my package, and all was ok. I have just updated to roxygen2 v6.0.0 and my script is broken and I can't find why. I have done a simple version of a package folder as a test with 3 files: chr.R, essai-package.R and DESCRIPTION. Previously, I did: packa

Re: [R] roxygen2

2014-07-21 Thread Brian Diggs
On 7/20/2014 12:50 AM, Kevin Kunzmann wrote: Hi, I have developed a package and would like to switch documentation to roxygen2 from manual :) However >roxygen2::roxygenize() First time using roxygen2 4.0. Upgrading automatically... Loading required package: nleqnslv Error in

[R] roxygen2

2014-07-20 Thread Kevin Kunzmann
Hi, I have developed a package and would like to switch documentation to roxygen2 from manual :) However >roxygen2::roxygenize() First time using roxygen2 4.0. Upgrading automatically... Loading required package: nleqnslv Error in file(filename, "r", encoding = encoding) :

[R] roxygen2 question

2014-05-14 Thread Witold E Wolski
How to document S3Methods with roxygen so that I have only 1 entry in the package documentation page per S3Method. In the package documentation page they show up than as follows read2msExperiment read 2 feature alginer long format and generate an msexperiment read2msExperiment.data.frame convert

Re: [R] roxygen2 and install.packages()

2013-12-09 Thread Jeff Newmiller
The package specifies it. Either because the package author has used some feature that is only available in that version, or he did not test it in any earlier version. You can contact the maintainer (?maintainer) or try modifying the package dependencies and finding out yourself if it is a real

Re: [R] roxygen2 and install.packages()

2013-12-09 Thread Hadley Wickham
Unfortunately roxygen2 3.0.0 now requires R 3.0.2. See https://github.com/klutometis/roxygen/issues/163 for some discussion as to why. Hadley On Mon, Dec 9, 2013 at 12:28 PM, François Lefebvre wrote: > Hi, I am unable to install roxygen2 on R<3.0.2. Any idea why? > > > >> install.packages("roxyg

[R] roxygen2 and install.packages()

2013-12-09 Thread François Lefebvre
Hi, I am unable to install roxygen2 on R<3.0.2. Any idea why? > install.packages("roxygen2") Installing package into ‘/home/lefebvr3/R/x86_64-unknown-linux-gnu-library/3.0’ (as ‘lib’ is unspecified) Warning message: package ‘roxygen2’ is not available (for R version 3.0.1) > sessionInfo() R vers