similar to: R CMD build should fail early for old package versions?

Displaying 20 results from an estimated 10000 matches similar to: "R CMD build should fail early for old package versions?"

2017 Nov 29
1
Un-informative Error in re-building vignettes
I am getting the following on CRAN windows and winbuilder https://www.r-project.org/nosvn/R.check/r-devel-windows-ix86+x86_64/penaltyLearning-00check.html Apparently there is an error in re-building vignettes, but I do not have any idea what it is, because all that is listed is three dots (...). Is this a bug in R CMD check? If not, the only solution I can think of is removing the vignette
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 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 >
2020 Jan 08
1
add jsslogo.jpg to R sources?
On Wed, 8 Jan 2020, I?aki Ucar wrote: > On Wed, 8 Jan 2020 at 19:21, Toby Hocking <tdhock5 at gmail.com> wrote: >> >> 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
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
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
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?
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
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]]
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
2019 May 31
2
R pkg install should fail for unsuccessful DLL copy on windows?
thanks for your input Herv?. Glad to hear I'm not the only one still having this issue. In my opinion install.packages should stop with an error (instead of a warning) if this happens. However even if you want to keep the warning, at least make it so that users can set options(warn=2) to get an error if they want one. I tried setting options(warn=2) but for some reason I still get a warning.
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 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
2019 May 30
2
R pkg install should fail for unsuccessful DLL copy on windows?
thanks for the tip Jan. However it would be nice if I didn't have to handle this myself for all of my packages. (and teach my students how to do that) BTW I tried to disable staged installation, and the issue still happens: th798 at cmp2986 MINGW64 ~/projects/max-generalized-auc (master) $ R_INSTALL_STAGED=FALSE R --vanilla -e
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 Jul 12
4
Unexpected behaviour when comparing (==) long quoted expressions
Hi everyone: I?m one of the interns at RStudio this summer working on a project that helps teachers grade student code. I found an unexpected behaviour with the |==| operator when comparing |quote|d expressions. Example 1: |u <- quote(tidyr::gather(key = key, value = value, new_sp_m014:newrel_f65, na.rm = TRUE)) s <- quote(tidyr::gather(key = key, value = value,
2017 Jul 25
1
To Supporting graphpad prism in R, add external library to poratbleR
Hi Jeff, 1). I have tried install.packages( c("dplyr", "tidyr" ) ) into the r-script file got below error:- > install.packages( c("dplyr", "tidyr" ) ) Installing packages into ?/tmp/1776492876238396447/lib/portableR-master/site-library? (as ?lib? is unspecified) Error in install.packages(c("dplyr", "tidyr")) : This version of R is
2019 Feb 19
1
patch for gregexpr(perl=TRUE)
Hi all, Several people have noticed that gregexpr is very slow for large subject strings when perl=TRUE is specified. - https://stackoverflow.com/questions/31216299/r-faster-gregexpr-for-very-large-strings - http://r.789695.n4.nabble.com/strsplit-perl-TRUE-gregexpr-perl-TRUE-very-slow-for-long-strings-td4727902.html - https://stat.ethz.ch/pipermail/r-help/2008-October/178451.html I figured out
2017 Jul 25
0
To Supporting graphpad prism in R, add external library to poratbleR
1) Definitely yes. They are on CRAN. Just type install.packages( c("dplyr", "tidyr" ) ) at the R console. 2) Don't know, but most likely the answer is yes. Since all R packages on Linux are compiled by R when installed, you either need to activate your virtual machine, compile the packages, and save the state for future use, or you have to build the package library on
2019 May 29
2
R pkg install should fail for unsuccessful DLL copy on windows?
Hi all, I am having an issue related to installing packages on windows with R-3.6.0. When installing a package that is in use, I expected R to stop with an error. However I am getting a warning that the DLL copy was not successful, but the overall package installation IS successful. This is quite dangerous because the old DLL and the new R code could be incompatible. I am definitely not the