Re: [R-pkg-devel] using package data in package code

2019-06-06 Thread Duncan Murdoch
On 06/06/2019 6:29 p.m., Linus Chen wrote: Dear all, I am trying to understand the usage of package data. Suppose I create an object and save it x <- 3 save(x, 'sysdata.rda') and then put it into mypac/data/ directoy. And suppose in my packge code I have f <- function(x) x+1

[R-pkg-devel] using package data in package code

2019-06-06 Thread Linus Chen
Dear all, I am trying to understand the usage of package data. Suppose I create an object and save it x <- 3 save(x, 'sysdata.rda') and then put it into mypac/data/ directoy. And suppose in my packge code I have f <- function(x) x+1 Then, when the package has been built, installed,

Re: [Rd] [R] Open a file which name contains a tilde

2019-06-06 Thread Duncan Murdoch
On 06/06/2019 5:04 p.m., Richard O'Keefe wrote: How can expanding tildes anywhere but the beginning of a file name NOT be considered a bug? It looks like a bug in R, but not necessarily a bug in libreadline: we may just be using tilde_expand improperly. Duncan Murdoch On Thu, 6 Jun

Re: [Rd] R pkg install should fail for unsuccessful DLL copy on windows?

2019-06-06 Thread Duncan Murdoch
On 06/06/2019 4:19 p.m., Toby Hocking wrote: 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. Please don't encourage spam there. Add a comment if you have information to add,

Re: [Rd] R pkg install should fail for unsuccessful DLL copy on windows?

2019-06-06 Thread Toby Hocking
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 wrote: > On 5/31/19 08:41, Toby Hocking wrote:... > > In my opinion

Re: [Rd] Setting LC_CTYPE=en_US.UTF-8 failed

2019-06-06 Thread Tomas Kalibera
On 6/6/19 3:24 PM, Duncan Murdoch wrote: On 06/06/2019 7:28 a.m., Duncan Murdoch wrote: On 06/06/2019 6:22 a.m., Tomas Kalibera wrote: On 6/5/19 3:49 AM, Steven Penny wrote: Using this in my "~/.profile":      export LC_ALL=en_US.UTF-8 Yields this:      $ Rscript -e 'print(9)'      During

Re: [Rd] [R] Open a file which name contains a tilde

2019-06-06 Thread Ivan Krylov
On Wed, 5 Jun 2019 18:07:15 +0200 Frank Schwidom wrote: > +> path.expand("a ~ b") > [1] "a /home/user b" > How can I switch off any file crippling activity? It doesn't seem to be possible if readline is enabled and works correctly. Calls to path.expand [1] end up [2] in R_ExpandFileName

Re: [Bioc-devel] My address is not associated with a maintainer.

2019-06-06 Thread Turaga, Nitesh
Hi Please activate your account in the BiocCredentials account, and then add your SSH keys for access https://git.bioconductor.org/BiocCredentials Username: email address Password: biocuser Best, Nitesh > On Jun 6, 2019, at 7:57 AM, Damian Szklarczyk wrote: > > Dear Bioconductor, > >

Re: [Rd] stopifnot

2019-06-06 Thread Martin Maechler
> Martin Maechler > on Mon, 3 Jun 2019 18:14:15 +0200 writes: > Suharto Anggono Suharto Anggono > on Thu, 30 May 2019 14:45:22 + writes: > Suharto Anggono Suharto Anggono > on Thu, 30 May 2019 14:45:22 + writes: >> Here is a patch to function

Re: [Rd] Setting LC_CTYPE=en_US.UTF-8 failed

2019-06-06 Thread Duncan Murdoch
On 06/06/2019 7:28 a.m., Duncan Murdoch wrote: On 06/06/2019 6:22 a.m., Tomas Kalibera wrote: On 6/5/19 3:49 AM, Steven Penny wrote: Using this in my "~/.profile":    export LC_ALL=en_US.UTF-8 Yields this:    $ Rscript -e 'print(9)'    During startup - Warning message:    Setting

[R-pkg-devel] try() in R CMD check --as-cran

2019-06-06 Thread J C Nash
After making a small fix to my optimx package, I ran my usual R CMD check --as-cran. To my surprise, I got two ERRORs unrelated to the change. The errors popped up in a routine designed to check the call to the user objective function. In particular, one check is that the size of vectors is

[Bioc-devel] My address is not associated with a maintainer.

2019-06-06 Thread Damian Szklarczyk
Dear Bioconductor, I’m the maintainer of STRINGdb package. https://bioconductor.org/packages/release/bioc/html/STRINGdb.html Would like to get the credential for the git repository of this package. However when I insert my

Re: [Rd] Setting LC_CTYPE=en_US.UTF-8 failed

2019-06-06 Thread Duncan Murdoch
On 06/06/2019 6:22 a.m., Tomas Kalibera wrote: On 6/5/19 3:49 AM, Steven Penny wrote: Using this in my "~/.profile":    export LC_ALL=en_US.UTF-8 Yields this:    $ Rscript -e 'print(9)'    During startup - Warning message:    Setting LC_CTYPE=en_US.UTF-8 failed    [1] 9 This is

Re: [Rd] Offer zip builds

2019-06-06 Thread Jeroen Ooms
On Tue, Jun 4, 2019 at 5:40 PM Steven Penny wrote: > > Theres nothing nefarious here. It would allow people to use the R environment > without running an installer. If someone is a new user they may want to try > R out, and installers can be invasive as they commonly: > > - copy files to install

Re: [Rd] Setting LC_CTYPE=en_US.UTF-8 failed

2019-06-06 Thread Tomas Kalibera
On 6/5/19 3:49 AM, Steven Penny wrote: Using this in my "~/.profile":    export LC_ALL=en_US.UTF-8 Yields this:    $ Rscript -e 'print(9)'    During startup - Warning message:    Setting LC_CTYPE=en_US.UTF-8 failed    [1] 9 This is confusing as the exact same environment works fine with

Re: [Rd] Offer zip builds

2019-06-06 Thread Steven Penny
On Tue, Jun 4, 2019 at 11:06 AM Iñaki Ucar wrote: > FWIW, innoextract extracts the contents of the installer just fine. That is great, thank you very much: https://github.com/dscharrer/innoextract Between this thread and others I have interacted with 14 people, and you are the first person to

[Rd] Setting LC_CTYPE=en_US.UTF-8 failed

2019-06-06 Thread Steven Penny
Using this in my "~/.profile": export LC_ALL=en_US.UTF-8 Yields this: $ Rscript -e 'print(9)' During startup - Warning message: Setting LC_CTYPE=en_US.UTF-8 failed [1] 9 This is confusing as the exact same environment works fine with other languages: $ python3 -c 'print(9)'