Displaying 20 results from an estimated 3000 matches similar to: "Stale link from ?check to R Internals"
2020 Aug 19
0
Stale link from ?check to R Internals
On 19/08/2020 12:26 p.m., Toby Hocking wrote:
> Hi the reference to R Internals
> https://cran.r-project.org/doc/manuals/r-release/R-ints.html#Tools
> in ?check (PkgUtils.Rd in utils package) is stale. Here is my proposed
> patch (use named reference rather than numeric reference to avoid any
> similar broken links in the future).
Just to be clear: you're giving the current
2020 May 13
2
docs about _R_CHECK_FORCE_SUGGESTS_ ?
Can someone please add documentation for that environment variable to
Writing R Extensions? An appropriate place would be section
https://cloud.r-project.org/doc/manuals/r-release/R-exts.html#Suggested-packages
which already discusses _R_CHECK_DEPENDS_ONLY_=true
[[alternative HTML version deleted]]
2013 Apr 20
3
R CMD build
I have no idea where I must R CMD build...
I am using Windows 7 wiht pearl installed
http://stat.ethz.ch/R-manual/R-patched/library/utils/html/PkgUtils.html
its completely unclear for me ... sorry
Knut
2023 Mar 30
1
write.csv performance improvements?
Dear R-devel,
I did a systematic comparison of write.csv with similar functions, and
observed two asymptotic inefficiencies that could be improved.
1. write.csv is quadratic time (N^2) in the number of columns N.
Can write.csv be improved to use a linear time algorithm, so it can handle
CSV files with larger numbers of columns?
For more details including figures and session info, please see
2018 Apr 08
2
suggested patch for messages
Does anyone have comments on the new wording here?
Suggested:
The Title field should be in title case. Current version is:
(xxx)
In title case this would be:
(Xxx)
Hoping R core will see this here and magically adopt it, otherwise
I'll try posting it to the r bugs site ...
===================================================================
--- src/library/tools/R/QC.R (revision
2008 Aug 20
1
Improvements to write.arff (PR#12574)
Full_Name: Martin C. Martin
Version: 2.7.1
OS: Ubuntu
Submission from: (NULL) (75.150.115.86)
The function write.arff, in the foreign library:
- Can produce relation names with invalid characters
- Doesn't use colnames() for attribute names when writing a matrix.
Here's a better version:
write.arff <- function (x, file, eol = "\n")
{
if (file == "")
2019 Feb 20
2
Bug: time complexity of substring is quadratic as string size and number of substrings increases
Hi all, (and especially hi to Tomas Kalibera who accepted my patch sent
yesterday)
I believe that I have found another bug, this time in the substring
function. The use case that I am concerned with is when there is a single
(character scalar) text/subject, and many substrings to extract. For example
substring("AAAA", 1:4, 1:4)
or more generally,
N=1000
2020 Jan 08
2
add jsslogo.jpg to R sources?
Hi R-core, I was wondering if somebody could please add jsslogo.jpg to the
R sources? (as I reported yesterday in this bug)
https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17687
R already includes jss.cls which is the document class file for Journal of
Statistical Software. Actually, for the jss.cls file to be useful, it also
requires jsslogo.jpg in order to compile JSS articles without
2019 Feb 22
1
Bug: time complexity of substring is quadratic as string size and number of substrings increases
On 2/20/19 7:55 PM, Toby Hocking wrote:
> Update: I have observed that stringi::stri_sub is linear time complexity,
> and it computes the same thing as base::substring. figure
> https://github.com/tdhock/namedCapture-article/blob/master/figure-substring-bug.png
> source:
> https://github.com/tdhock/namedCapture-article/blob/master/figure-substring-bug.R
>
> To me this is a
2015 Sep 02
4
mclapply memory leak?
Dear R-devel,
I am running mclapply with many iterations over a function that modifies
nothing and makes no copies of anything. It is taking up a lot of memory,
so it seems to me like this is a bug. Should I post this to
bugs.r-project.org?
A minimal reproducible example can be obtained by first starting a memory
monitoring program such as htop, and then executing the following code
while
2020 Jun 26
2
Error in substring: invalid multibyte string
Hi all,
I'm getting the following error from substring:
> substr("<I>Jens Oehlschl\xe4gel-Akiyoshi", 1, 100)
Error in substr("<I>Jens Oehlschl\xe4gel-Akiyoshi", 1, 100) :
invalid multibyte string at '<e4>gel-A<6b>iyoshi'
Is that normal / intended? I've tried setting the Encoding/locale to
Latin-1/UTF-8 but that does not help. nchar
2012 Oct 20
1
R-2.15.1 CMD CHECK output: "Call Sequence"
Hi guRus,
i'm running R-2.15.1 and the R CMD CHECK output appears to have changed substantially, in that instead of pointing me to the offending functions or files, I get lots of 'call sequence' traces as below.
I've been using R CMD CHECK for years & never seen anything like this before. This is on a pretty fresh OSX 10.8 Mountain Lion installation, where I installed R from
2007 Oct 14
1
Inconsistent behavior of sQuote and dQuote
Dear all
When comparing sQuote("text") and dQuote("text") on MacOS X and Linux FC4
I get an inconsistent behavior (using the new release version R-2.6.0):
sQuote: On Mac I get the correct result "'text'", but on FC4 the
incorrect result "`text?".
dQuote: On Mac I get the correct result "\"text\"", but on FC4 the
incorrect
2020 Jun 27
1
Error in substring: invalid multibyte string
Thanks for the quick response Ivan. readLines with encoding='latin1' works
for me (on Ubuntu).
However I was more concerned with the inconsistency in results between
substr and regexpr. I was expecting that if one of them errors because of
an unknown encoding then the other should as well. Even better, if regexpr
works, why shouldn't substr work as well?
Incidentally the analogous
2015 Jan 22
5
Programming Tools CTV
I've had a lot of requests for additions to the reproducible research
task view that fall into a grey area (to me at least).
For example, roxygen2 is a tool that broadly enable reproducibility
but I see it more as a tool for better programming. I'm about to check
in a new version of the task view that includes packrat and
checkpoint, as they seem closer to reproducible research, but also
2020 May 13
1
docs about _R_CHECK_FORCE_SUGGESTS_ ?
Hi Toby,
As Gabor pointed out the place where the various levers R CMD check
supports is in the R-internals manual, but there is a link directly to that
section in
https://cloud.r-project.org/doc/manuals/r-release/R-exts.html#Checking-packages
It could perhaps be more prominent, perhaps by moving the paragraph that
appears in to before the detailed list of exact tests that are performed?
2018 Sep 18
2
Suggested Patch: Adding commas to list of packages after R CMD check
Dear R-devs,
Scenario:
When checking a package via `R CMD check package_tar.ball`, required / suggested packages may be missing. R subsequently returns a list of packages that are missing (delimited by spaces).
Example:
```
R CMD check glmSparseNet_0.99.13.tar.gz
* using log directory '/home/ubuntu/Bioconductor/glmSparseNet.Rcheck'
* using R Under development (unstable) (2018-06-06
2015 May 04
2
Print output during long tests?
I am the author of R package animint which uses testthat for unit tests.
This means that there is a single test file (animint/tests/testthat.R) and
during R CMD check we will see the following output
* checking tests ...
Running ?testthat.R?
I run these tests on Travis, which has a policy that if no output is
received after 10 minutes, it will kill the check. Because animint's
testthat
2019 Jun 06
1
R pkg install should fail for unsuccessful DLL copy on windows?
If anybody else has this issue, please add a comment on
https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17478 so we are more
likely to get R-core to address this.
Thanks
Toby
On Tue, Jun 4, 2019 at 2:58 PM Pages, Herve <hpages at fredhutch.org> wrote:
> On 5/31/19 08:41, Toby Hocking wrote:...
> > In my opinion install.packages should stop with an error (instead of a
>
2024 Oct 25
1
Could .Primitive("[") stop forcing R_Visible = TRUE?
On Thu, 24 Oct 2024 13:23:56 -0400
Toby Hocking <tdhock5 at gmail.com> wrote:
> The patch you are proposing to base R is
> https://github.com/Rdatatable/data.table/issues/6566#issuecomment-2428912338
> right?
Yes, it's this one, thank you for providing the link.
Surprisingly, a very cursory check of 100 packages most downloaded from
cloud.r-project.org in the last month