Displaying 20 results from an estimated 2000 matches similar to: "(no subject)"
2015 Nov 06
2
bad performance centos6 ->centos7
hi,
i'm evaluating performance of centos7
i did tests on centos6 x86_64/distro kernel 2.6.32, asterisk 11.16.0
with 500calls (7sec alaw, simple dialplan, pass trough - sipp
generators/asterisk receiver with answer/playback)
scenario - sipp generators - asterisk - asterisk receiver (i wrote
ansible scenario for this if you are interested)
then i reinstalled system to
centos7 x86_64/distro
2013 Jun 07
0
[5.10] PXE + dhcp opts 209, 210 and path issues in tftp/http
On Wed, Jun 5, 2013 at 8:29 PM, Gerardo Exequiel Pozzi
<vmlinuz386 at yahoo.com.ar> wrote:
> [#1]
> https://dl.dropboxusercontent.com/u/88891866/archiso_syslinux_406.tar.xz
> https://dl.dropboxusercontent.com/u/88891866/archiso_syslinux_406.tar.xz.sig
>
> [#2]
> https://dl.dropboxusercontent.com/u/88891866/archiso_syslinux_510.tar.xz
>
2011 Nov 13
0
Roxygen2: version 2.2
# Roxygen2
The premise of `roxygen2` is simple: describe your functions in
comments next to where their definitions and `roxygen2` will process
your source code and comments to produce R compatible Rd files.
Here's a simple example from the `stringr` package:
? ? #' The length of a string (in characters).? ? #'? ? #' @param
string input character vector? ? #' @return numeric
2011 Nov 13
0
Roxygen2: version 2.2
# Roxygen2
The premise of `roxygen2` is simple: describe your functions in
comments next to where their definitions and `roxygen2` will process
your source code and comments to produce R compatible Rd files.
Here's a simple example from the `stringr` package:
? ? #' The length of a string (in characters).? ? #'? ? #' @param
string input character vector? ? #' @return numeric
2023 Apr 28
1
Should '@" now be listed in tools:::.get_internal_S3_generics() ?
I was building a package that uses the new generic @ and kept having errors with ?roxygen2? documentation. ?roxygen2? generated NAMESPACE added `@.newclass` as a newly exported function, not as a S3method.
At first I thought this must be a bug in roxygen2 and they lag behind the new developments in R. But after some investigation I found that ?roxygen2? is using tools:::.get_internal_S3_generis()
2023 Apr 28
1
Should '@" now be listed in tools:::.get_internal_S3_generics() ?
This issue might go deeper - I was not successful in passing R CMD checks for the usage files. R CMD check kept showing errors for `@` declarations, even thou they were identical to `$` declarations (which passed fine).
Seems like the usage check functions are not prepared for `@` - also in tools:::.S3_method_markup_regexp
> On Apr 28, 2023, at 10:34 PM, Karolis Koncevi?ius
2018 Jan 31
0
Best practices in developing package: From a single file
Dear Duncan,
With all respect, but I strongly disagree on your stance regarding roxygen2
for multiple reasons:
1. It is in my humble opinion not correct to evaluate a tool based on the
abuse of some users. It's not because people write packages with bad
documentation, that roxygen2 is to blame. I use roxygen2, and I care a
great deal about documentation. So I actually took a bit offense
2023 Jul 21
1
tools::parseLatex() crashes on "\\verb{}"
Do I understand correctly that we don't want Rd files to be valid latex ?
This seems odd to me.
I see that `tools::parse_Rd()` doesn't like `\verb!foo!` so maybe roxygen2
is actually doing the right thing (as opposed to just trying to) ?
`parse_Rd() ` is probably what I need indeed, for some reason I hadn't
found it, so that should fix my own issue here thanks a lot.
Le ven. 21 juil.
2023 Apr 28
1
Should '@" now be listed in tools:::.get_internal_S3_generics() ?
Karolis,
It seems likely, without having looked myself, that you could be correct
about the issue, but it does seem worth noting that both of the functions
you have mentioned are not exported, and thus not part of the API that
extension packages are allowed to use and rely on.
If retrieving the list of "internal S3 generics" is something package and
user code is allowed to do, the real
2018 Jan 30
0
Best practices in developing package: From a single file
In response to Duncan regarding the use of roxygen2 from the point of view
of a current user, I believe the issue he brings up is one of correlation
rather than causation.
Writing my first piece of R documentation was made much easier by using
roxygen2, and it shallowed the learning curve substantially.
What Duncan may be observing is a general tendency of roxygen2 users to
write overly concise
2023 Apr 28
1
Should '@" now be listed in tools:::.get_internal_S3_generics() ?
A more concrete example in order to correct my vague messages below.
Writing an R package that uses `@` and `@<-` as S3 generics. Line from manual pages in .Rd files:
\method{@}{newclass}(object, name) <- value
Throws this error during R CMD check ?as-cran
Bad \usage lines found in documentation object ?code?:
<unescaped bksl>method{@}{newclass}(object, name) <-
2023 Apr 29
1
Should '@" now be listed in tools:::.get_internal_S3_generics() ?
>>>>> Karolis Koncevi?ius writes:
Can you pls try again with r84341 or later?
Best
-k
> A more concrete example in order to correct my vague messages below.
> Writing an R package that uses `@` and `@<-` as S3 generics. Line from manual pages in .Rd files:
> \method{@}{newclass}(object, name) <- value
> Throws this error during R CMD check ?as-cran
>
2012 Aug 16
2
warning in lattice key function
## this example shows a problem in key.
tmp <- data.frame(y=rnorm(10), g=rep(ordered(c("A","B")), 5))
bwplot(y ~ g, data=tmp,
key=list(
text=list(c("A","B"), col=c("blue","red")),
points=list(pch=c(17, 16), col=c("blue","red")),
space="top", columns=2, border=TRUE,
2023 Jul 21
1
tools::parseLatex() crashes on "\\verb{}"
? Fri, 21 Jul 2023 15:14:09 +0200
Antoine Fabri <antoine.fabri at gmail.com> ?????:
> On a closer look it seems like roxygen2 introduces those, when using
> markdown backtick quoting, if the quoted content is not syntactic. For
> instance:
>
> #' `c(c(1)`
> #' `c(c(1))`
>
> Will convert the first line to `\verb{c(c(1)}` and the second to
>
2023 Apr 28
1
Should '@" now be listed in tools:::.get_internal_S3_generics() ?
Thank you for such a quick reply, Gabriel,
I am not too familiar with the package tools, so cannot speak too confidently, but below is how I see the issue currently.
The issue is not for external packages to rely on unexported functions from tools::, rather the issue is that 'R CMD check ?as-cran' runs those functions from tools:: in order to check the validity of Rd files (from any
2023 Apr 29
1
Should '@" now be listed in tools:::.get_internal_S3_generics() ?
Hello Kurt,
With r84341 it now works on my side.
Warm regards,
Karolis K.
> On Apr 29, 2023, at 1:24 PM, Kurt Hornik <Kurt.Hornik at wu.ac.at> wrote:
>
>>>>>> Karolis Koncevi?ius writes:
>
> Can you pls try again with r84341 or later?
>
> Best
> -k
>
>> A more concrete example in order to correct my vague messages below.
>> Writing
2018 Jan 31
2
Best practices in developing package: From a single file
On 30/01/2018 4:30 PM, Kenny Bell wrote:
> In response to Duncan regarding the use of roxygen2 from the point of view
> of a current user, I believe the issue he brings up is one of correlation
> rather than causation.
Could be. However, I think editing comments in a .R file is a bit
harder than editing text in a .Rd file, so I think the format
discourages editing. I think it does
2012 Nov 30
1
Workarounds to Rd file name conflict when extending a S4 method of some other package
Dear list,
// IN SHORT //
What are possible workarounds to "consolidate" documentation for S4
methods that are scattered across different packages (generic and some
custom methods in one package, additional custom methods in another
package) in a *single* Rd help file while using package 'roxygen2' to
generate the actual Rd files?
// ADDITIONAL INFORMATION //
First of, here
2023 Apr 30
1
Should '@" now be listed in tools:::.get_internal_S3_generics() ?
But this might require a more detailed investigation. For example I just noticed that even with the patch `@` is still not listed in .S3_methods_table().
KK.
> On Apr 29, 2023, at 4:44 PM, Karolis Koncevi?ius <karolis.koncevicius at gmail.com> wrote:
>
> Hello Kurt,
>
> With r84341 it now works on my side.
>
> Warm regards,
> Karolis K.
>
>> On Apr 29,
2020 Jun 27
1
roxygen2 / documentation of reexports
Dear colleagues,
preparing a release of my package ?polmineR? I encountered the following issue with a new warning issued when running R CMD check with the --as-cran option on Debian with R-devel.
To reexport the magrittr pipe operator %>%, my package adopted I snippet you?d see in the dplyr package, for instance:
#' @importFrom magrittr %>%
#' @export
magrittr::`%>%`
The