Re: [R-pkg-devel] Use of `:::` in a package for code run in a parallel cluster

2020-09-14 Thread Jeff Newmiller
As Duncan said, if you are calling FROM a function in your package, and the function you are CALLING is in the same package, then you do NOT need any colons at all, whether exported or not. On September 14, 2020 7:30:12 AM PDT, "Wang, Zhu" wrote: >In mypkg, I want to call a function foo from

Re: [R-pkg-devel] failing on win and debian -- because of new submission?

2020-09-12 Thread Jeff Newmiller
I would not read anything into this. Does [1] help? [1] https://jef.works/blog/2018/06/18/get-your-package-on-cran-in-10-steps/ On September 12, 2020 1:58:15 PM PDT, Simit Patel wrote: >hello, > >  >i am submitting my first package for CRAN, but am failing pre-check on >windows and debian.

Re: [R-pkg-devel] DOI for archived package?

2020-09-10 Thread Jeff Newmiller
If your article is published with a DOI and read by anyone actually interested in it then it will be likely be accessed, so "never" seems rather pessimistic of you. You could simply not argue with your editor and acquiesce. On September 10, 2020 9:14:12 AM PDT, "Kevin R. Coombes" wrote:

Re: [R-pkg-devel] NOTE in r-devel-linux-x86_64-fedora-clang

2020-08-07 Thread Jeff Newmiller
The whole point of the Suggests package relationship is that you don't actually have to have it installed to use the package. It does have to be installed to check the package, which allows the link to be tested at least once before being released. On August 7, 2020 8:02:47 AM PDT, "Brian G.

Re: [R-pkg-devel] Error in CHECK caused by dev.off()

2020-07-22 Thread Jeff Newmiller
I suspect your foo and bar variables are not logical anymore... insufficient info. However, why aren't you using short-circuit && and || operators? On July 22, 2020 5:36:06 AM PDT, "Helmut Schütz" wrote: >Dear all, > >I have two variables, foo and bar. The first is TRUE if a png should be >

Re: [R-pkg-devel] [External] Re: Interpret feedback: not write testthat-tests in examples

2020-07-16 Thread Jeff Newmiller
Looks like 187 opportunities to improve clarity. On July 16, 2020 11:30:37 AM PDT, Ben Bolker wrote: >FWIW/in defense of the OP, this is a *very* common idiom in the base R >code base.  There may be some false positives, but > > find . -name "*.Rd" -exec grep -Fl "stopifnot(" {} \; | grep -v

Re: [R-pkg-devel] Interpret feedback: not write testthat-tests in examples

2020-07-16 Thread Jeff Newmiller
The point of an example is to provide an illustration of how the function should be used for people who are not software developers. IMO any use of any other functions should be absolutely minimized to reduce the cognitive overload ("you need to understand 13 other concepts before you can

Re: [R-pkg-devel] Getting two independent packages with identical S3 generics to dispatch each other's methods

2020-07-10 Thread Jeff Newmiller
Perhaps: https://cran.r-project.org/web/packages/generics/index.html On July 10, 2020 4:51:52 PM PDT, "Pavel N. Krivitsky" wrote: >Dear All, > >I would like to have two packages that do not depend on each other that >have an identical generic to be able to dispatch to each other's (non-

Re: [R-pkg-devel] data and load version 3

2020-06-29 Thread Jeff Newmiller
Your choice. Do you want to support people using older versions of R, or not? On June 29, 2020 1:55:02 PM PDT, "Göran Broström" wrote: >I added two data sets (.rda) to my package eha, but when I build the >new >version I get: > > WARNING: Added dependency on R >= 3.5.0 because serialized

Re: [R-pkg-devel] package CatDataAnalysis

2020-06-28 Thread Jeff Newmiller
t;says. > >So like I said in my original posting, good idea in an alternative >universe >where copyright law does not exist. > >On Sun, Jun 28, 2020 at 1:13 PM Jeff Newmiller > >wrote: > >> Just describe the nature of the data sets literally as though the >book was

Re: [R-pkg-devel] package CatDataAnalysis

2020-06-28 Thread Jeff Newmiller
Just describe the nature of the data sets literally as though the book was inaccessible. They are not asking you to describe how one should analyze the the data, so there really shouldn't be any conflict with the book content that your agreement with the author has not already resolved. If you

Re: [R-pkg-devel] Problem with test data folder. R package develpoment

2020-06-14 Thread Jeff Newmiller
Use a different name than "data" such as "rawdata" within "inst" to put files that your code refers to using the system.name() function. The directory name "data" is used for a specific purpose as described in the Writing R Extensions manual [1], and if you want to put files in that directory

Re: [R-pkg-devel] [R] a question of etiquette

2020-06-02 Thread Jeff Newmiller
r copyleft license. If there is a >term >which reflects that mechanism from a discipline other than biology, >please let me know. > >Thanks, > >Avi > >On Tue, Jun 2, 2020 at 8:25 PM Jeff Newmiller > >wrote: > >> "Viral" is has connotations that reflect

Re: [R-pkg-devel] [R] a question of etiquette

2020-06-02 Thread Jeff Newmiller
"Viral" is has connotations that reflect the biases of the person using the term. A less loaded perspective is that some people don't want you to take their contributions out of circulation by using it as the foundation of your proprietary work. If you want to close it up, build from scratch or

Re: [R-pkg-devel] R_MAKEVARS_USER fail to pass down to sub-makes?

2020-06-01 Thread Jeff Newmiller
AGS. >b) Syntax passed checkbashisms so I expect no problems due to that. > >On Mon, Jun 1, 2020 at 4:03 PM Jeff Newmiller > wrote: >> >> I don't know anything about the function of that environment >variable, but >> >> a) system() invokes a child process so

Re: [R-pkg-devel] R_MAKEVARS_USER fail to pass down to sub-makes?

2020-06-01 Thread Jeff Newmiller
I don't know anything about the function of that environment variable, but a) system() invokes a child process so environment variable changes made using it will only affect the child process created by that system call. b) The syntax you have used is shell-specific, so does not look portable.

Re: [R-pkg-devel] References in DESCRIPTION file

2020-05-25 Thread Jeff Newmiller
Sorry, ESP not working today. Note that this list may or may not include the reviewer who last checked your submission. Perhaps re-read [1] and if you are still puzzled then consider pointing us to (or pasting into the body of the email) the DESCRIPTION file you are having difficulty with so

Re: [R-pkg-devel] Problems importing packages with SystemRequirements

2020-04-28 Thread Jeff Newmiller
Maybe your use of those packages represent use cases that are not tested by those packages. If you pare down your code that triggers these problems to small reproducible examples then you can contribute them to those packages? On April 27, 2020 11:05:49 PM PDT, fvaf...@mailbox.org wrote: >Dear

Re: [R-pkg-devel] /usr/bin/ld: cannot find -ludev

2020-04-26 Thread Jeff Newmiller
This is a highly OS-specific dependency. Are you sure you need this? Is it listed in your SystemRequirements entry in your DESCRIPTION file? On April 26, 2020 6:41:27 AM PDT, "Sameh M. Abdulah" wrote: >I am getting this error when trying to install my package on CRAN. Do I >need to contact

Re: [R-pkg-devel] Detritus in temp directory - Note from submission of R package in CRAN

2020-04-18 Thread Jeff Newmiller
I agree that my example was not optimal, but I was trying to duplicate the existing behaviour with the exception of use of global variables. On April 18, 2020 3:02:17 PM PDT, Duncan Murdoch wrote: >On 18/04/2020 5:55 p.m., Jeff Newmiller wrote: >> See below: >> >> On Sa

Re: [R-pkg-devel] Detritus in temp directory - Note from submission of R package in CRAN

2020-04-18 Thread Jeff Newmiller
olombia, Bogot? phone: +571 3165000 ext 13406 address: Av. NQS (Carrera 30) # 45-03, Hydraulics Lab (408-213) email: dazamo...@unal.edu.co [[alternative HTML version deleted]] __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-packa

Re: [R-pkg-devel] Appropriate keyword in help file.

2020-04-16 Thread Jeff Newmiller
You can get away with a lot if you are not distributing your package. But I usually try to satisfy R CMD check at least. On April 16, 2020 5:50:04 PM PDT, Rolf Turner wrote: > >On 17/04/20 12:14 pm, Duncan Murdoch wrote: > >> On 16/04/2020 8:12 p.m., Rolf Turner wrote: >>> >>> I'm writing a

Re: [R-pkg-devel] Add SystemRequirements of imported package in description file?

2020-04-09 Thread Jeff Newmiller
AFAIK, no, though if the upstream package cannot (or won't) be implemented without that system requirement and it really is a requirement for this package then you might want to indicate "libzzz via Package X" just to be clear for users. If it isn't a requirement for most of your functionality

Re: [R-pkg-devel] [FWD] [CRAN-pretest-archived] CRAN submission JuliaConnectoR 0.5.0

2020-04-07 Thread Jeff Newmiller
output on the command line. > > >ursprüngliche Nachricht- >Von: Jeff Newmiller [jdnew...@dcn.davis.ca.us] >An: r-package-devel@r-project.org, Duncan Murdoch >[murdoch.dun...@gmail.com], Stefan Lenz IMBI >[l...@imbi.uni-freiburg.de] >Datum

Re: [R-pkg-devel] About dataset in my own package

2020-04-07 Thread Jeff Newmiller
Either use the data() function to retrieve it or use the LazyData: true line in your DESCRIPTION file. On April 6, 2020 11:25:21 PM PDT, jared_wood wrote: >Dear all, > >I have three datasets (drugbank.rda edgar.rda mala.rda) in my package >and I put them in the document folder which called

Re: [R-pkg-devel] [FWD] [CRAN-pretest-archived] CRAN submission JuliaConnectoR 0.5.0

2020-04-06 Thread Jeff Newmiller
One could take the position that the library and require functions were a mistake to begin with and that all contributed packages should be accessed using ::... or one could recognize that these functions are an expected feature of R at this point and then it is not defensible to ban the

Re: [R-pkg-devel] packaging biosig for R

2020-03-15 Thread Jeff Newmiller
I am just a lurker (not representing CRAN) but I am having a hard time understanding your question. Binary packages are a convenience for users, not a method for submitting packages. When you have an R package accepted it is accepted in source format. If it doesn't exclude support for Windows

Re: [R-pkg-devel] [EXTERNAL] Re: slightly polemic question re R CMD check

2020-03-09 Thread Jeff Newmiller
from >the general, so that an lm is a glm, not a glm is an lm. It's way too >late to change this now, of course. > > >-Original Message- >From: R-package-devel On Behalf >Of David Hugh-Jones >Sent: Sunday, 8 March 2020 6:28 PM >To: Jeff Newmiller >Cc: R pac

Re: [R-pkg-devel] slightly polemic question re R CMD check

2020-03-08 Thread Jeff Newmiller
argument then we are back into the generic conundrum again and the user will experience the normal function failing to catch unused arguments. On March 8, 2020 10:14:49 AM PDT, Jeff Newmiller wrote: >R encourages the use of ... particularly in S3 generics, to avoid >over-dep

Re: [R-pkg-devel] slightly polemic question re R CMD check

2020-03-08 Thread Jeff Newmiller
> >@param ... Not used. > >Cheers, >David > > >On Sun, 8 Mar 2020 at 16:24, Jeff Newmiller >wrote: > >> You seem to think this is a bad thing. R does encourage lenient >argument >> checking... what rock have you been under for the last 20 years? >&

Re: [R-pkg-devel] slightly polemic question re R CMD check

2020-03-08 Thread Jeff Newmiller
You seem to think this is a bad thing. R does encourage lenient argument checking... what rock have you been under for the last 20 years? On March 8, 2020 5:41:51 AM PDT, David Hugh-Jones wrote: >You're quite right :-) But I think the polemic still holds, because I >have >to add manual

Re: [R-pkg-devel] First R package, want to release to CRAN, have some questions about R CMD check and README.md

2020-03-07 Thread Jeff Newmiller
is very nice to >have. > >I'm not sure what the error you are seeing is, but having README on >CRAN is >nice. > >Have you .Rbuildignore 'd README.Rmd?? That should be ignored if I >remember >correctly. > >-Robert > >On Sat, Mar 7, 2020, 5:55 PM Jeff Newmiller >wro

Re: [R-pkg-devel] First R package, want to release to CRAN, have some questions about R CMD check and README.md

2020-03-07 Thread Jeff Newmiller
help! > >On Sat, Mar 7, 2020 at 1:55 PM Jeff Newmiller > >wrote: > >> README.md is a github convention... do not try to treat it like part >of >> the R package documentation. Instead, list it in your .Rbuildignore >file >> and use it to inform developers how to c

Re: [R-pkg-devel] First R package, want to release to CRAN, have some questions about R CMD check and README.md

2020-03-07 Thread Jeff Newmiller
README.md is a github convention... do not try to treat it like part of the R package documentation. Instead, list it in your .Rbuildignore file and use it to inform developers how to change the package and to direct (potential) users browsing the GitHub repo to read the more conventional R

Re: [R-pkg-devel] Private S3 Method not Found

2020-02-17 Thread Jeff Newmiller
I don't think it is possible to avoid exporting S3 methods from a package and still have the class behave as intended. Use a regular function if name encapsulation is important to you. On February 17, 2020 8:33:30 AM PST, b...@denney.ws wrote: >Thanks for the pointer! Adding

Re: [R-pkg-devel] Warning: parse error in file 'Rraven-Ex.R'

2020-02-04 Thread Jeff Newmiller
In your examples. On February 4, 2020 5:53:08 PM PST, Marcelo Araya Salas wrote: >Hi all > >I got this error from CRAN tests: > >Warning: parse error in file 'Rraven-Ex.R': >'\.' is an unrecognized escape in character string starting ""\." > >However, I can't find the original file where the

Re: [R-pkg-devel] Optional library dependencies for compiled code

2020-01-29 Thread Jeff Newmiller
Complex system dependencies are not cleanly handled by the R packaging system, but Suggesting other packages is. You could create or re-use an existing package for each external dependency and possibly even let the user specify which one they want to your dependent package the way DBI handles

Re: [R-pkg-devel] For reproducibility issue

2020-01-17 Thread Jeff Newmiller
As an existing package I suspect that it already calls the R RNG, but the default RNG changed [1] so you need to call RNGkind(sample.kind = "Rounding") before calling set.seed in your test code to compare with old results. [1]

Re: [R-pkg-devel] pandoc lua filter error with win devel check

2020-01-06 Thread Jeff Newmiller
Pandoc is not part of the standard R documentation tooling... you must be doing something special, and doing something special makes getting a package accepted more challenging. Perhaps if you were more specific you might get a more specific response. On January 6, 2020 1:38:44 PM PST,

Re: [R-pkg-devel] New Package olr 4 NOTES

2019-12-05 Thread Jeff Newmiller
I have not had good luck building packages for final delivery using devtools... use the command line, Luke! On December 5, 2019 7:40:46 AM PST, Mat Fok via R-package-devel wrote: >Hi Max, >Following your comment about, ".Rbuildignore is used by R CMD build to >exclude some files from the

Re: [R-pkg-devel] Including in my vignette a figure drawn outside R

2019-12-03 Thread Jeff Newmiller
You could use DiagrammeR. On December 3, 2019 7:36:19 AM PST, Michael Dewey wrote: >I am planning to include a flow-chart in the vignette of one of my >packages (metap). I am planning to draw it using dot from Graphviz. I >know that there is Rgraphviz which would do the whole thing in R but I

Re: [R-pkg-devel] How to Document and S3 Method for the Parenthesis Class?

2019-11-07 Thread Jeff Newmiller
<- 1 > >(This is selected to show how bad things can be done-- not as an >example to advocate.) > >-Original Message- >From: Jeff Newmiller >Sent: Thursday, November 7, 2019 10:43 AM >To: r-package-devel@r-project.org; b...@denney.ws >Subject: Re: [R-pkg-de

Re: [R-pkg-devel] How to Document and S3 Method for the Parenthesis Class?

2019-11-07 Thread Jeff Newmiller
There are three types of quoting in R... " and ' are for strings, and ` (backtick) is for symbols. On November 7, 2019 6:35:49 AM PST, b...@denney.ws wrote: >Hi, > > > >Short version of the question: How does one document a method for the >"(" >class in a .Rd file? > > > >Details: > >I

Re: [R-pkg-devel] winbuilder fails for package depending on rJava

2019-10-29 Thread Jeff Newmiller
wrote: > >On 10/29/19 2:12 PM, Jeff Newmiller wrote: >> Once again, you can color me mystified. Are you reading logs not >referred to in this email thread? > >Hi Jeff; > >I suppose am reading else. I ran: > >maintainer("rJava") > > >... a

Re: [R-pkg-devel] winbuilder fails for package depending on rJava

2019-10-29 Thread Jeff Newmiller
Once again, you can color me mystified. Are you reading logs not referred to in this email thread? On October 29, 2019 12:28:59 PM PDT, David Winsemius wrote: > >On 10/29/19 12:22 PM, Jeff Newmiller wrote: >> I suspect David did not read the subject line. This is about >winbuild

Re: [R-pkg-devel] winbuilder fails for package depending on rJava

2019-10-29 Thread Jeff Newmiller
I suspect David did not read the subject line. This is about winbuilder [1]. I don't know who runs that service (Uwe?), but this sounds like they need to investigate. [1] https://win-builder.r-project.org/ On October 29, 2019 9:28:23 AM PDT, David Winsemius wrote: > >On 10/29/19 4:48 AM,

Re: [R-pkg-devel] Seeking for best way to manage package transitive dependencies

2019-10-10 Thread Jeff Newmiller
Seems quite clear to me. If dplyr chooses to re-implement pipes (e.g. based on [1]) then you should not be importing from magrittr unless you had a specific reason to, and if you do then you should not make assumptions about where the dplyr pipe came from. [1]

Re: [R-pkg-devel] Fwd: Passing CRAN check when an examples must save a file

2019-09-27 Thread Jeff Newmiller
Read the Posting Guide... sending html formatted email corrupts your message. Reading between the garbage... a) Pasting an extension is not necessary. b) using tempfile() in your example as an argument to sink( file=) is a straightforward way to illustrate that a file can be created. On

Re: [R-pkg-devel] What counts as an API change?

2019-09-25 Thread Jeff Newmiller
iven the position of ... . So maybe this is my get >out of >jail free card. If I add "fill", existing function calls won't break, >and I >can call this "adding functionality in a backwards-compatible manner". > >David > > >On Wed, 25 Sep 2019

Re: [R-pkg-devel] What counts as an API change?

2019-09-25 Thread Jeff Newmiller
te the force of the idea that an API >change >is an API change, and should be defined precisely. > >Best, >David > > >On Wed, 25 Sep 2019 at 15:01, Jeff Newmiller >wrote: > >> Both of your examples are incompatible. >> >> foo <- function (a, b, c, d

Re: [R-pkg-devel] What counts as an API change?

2019-09-25 Thread Jeff Newmiller
Both of your examples are incompatible. foo <- function (a, b, c, d, e = NA ) (add with default value) would be compatible. Your second example cannot be made compatible even with default values because the positional behaviour has changed. On September 25, 2019 6:51:58 AM PDT, David

Re: [R-pkg-devel] meta-question

2019-09-07 Thread Jeff Newmiller
I don't think this list is only for questions about submitting to CRAN, but it is specific to writing packages for R. If your question could just as easily apply to another language then you probably ought to ask elsewhere. Perhaps https://softwareengineering.stackexchange.com/help/on-topic ?

Re: [R-pkg-devel] URL of a frame (or a vignette)?

2019-09-01 Thread Jeff Newmiller
I don't know if [1] implies vignette persistence after archiving, but it might. I think it just has to fall back to a warning with an archive link to qualify. (Quite a slick trick if so because there can potentially be a parade of different package vignettes over time.) [1]

Re: [R-pkg-devel] URL of a frame (or a vignette)?

2019-09-01 Thread Jeff Newmiller
On >Behalf Of Georgi Boshnakov >Sent: 01 September 2019 15:57 >To: Spencer Graves; Jeff Newmiller; r-package-devel@r-project.org >Subject: Re: [R-pkg-devel] URL of a frame (or a vignette)? > >It may be better to use the canonical url, >https://cran.r-project.org/package=bssm, as in:

Re: [R-pkg-devel] NAMESPACE issue and grDevices

2019-08-24 Thread Jeff Newmiller
I think yes. If a direct user of graphics opted not to call smoothScatter then they would have no need to even install KernSmooth. However, since generics automatically trigger loading of class-specific methods, one of which in your case includes that dependency, your package cannot avoid at

Re: [R-pkg-devel] Example fails in check

2019-07-26 Thread Jeff Newmiller
Pipes are very functional, unlike data.table. However, their extensive use of non-standard evaluation a la `subset` or `with` does complicate the package check process. As to the actual question, Imports announces that the magrittr package is a private dependency for your package. Users would

Re: [R-pkg-devel] "Progress reports" for examples in packages --- SOLVED.

2019-07-06 Thread Jeff Newmiller
This is why I only put localization variables in .Rprofile and am always putting such options into my project-specific scripts. This may sound like I am a masochist, but I hate sharing my scripts with someone else contaminated with compatibility bombs like that. On July 6, 2019 8:19:27 PM PDT,

Re: [R-pkg-devel] Block quote in an Rd file?

2019-07-04 Thread Jeff Newmiller
Ehh... not that much. Will make do with a couple of quote marks. Thanks for the confirmation. On July 4, 2019 5:48:56 PM PDT, Duncan Murdoch wrote: >On 04/07/2019 7:43 p.m., Jeff Newmiller wrote: >> Not seeing in "Writing R Extensions" a way to annotate a block quote

[R-pkg-devel] Block quote in an Rd file?

2019-07-04 Thread Jeff Newmiller
Not seeing in "Writing R Extensions" a way to annotate a block quote in an Rd file. Any suggestions? -- Sent from my phone. Please excuse my brevity. __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] CRAN-compatible location for output of example code?

2019-07-04 Thread Jeff Newmiller
https://stat.ethz.ch/R-manual/R-devel/library/base/html/tempfile.html ?tempdir On July 4, 2019 3:25:25 PM PDT, Michael Gruenstaeudl wrote: >Assume an R package that generates a figure ('output.pdf') as the >result >of executing the example code specified in one of the manual files >(i.e. >an

Re: [R-pkg-devel] The correct way to put additional DLLs on windows?

2019-07-01 Thread Jeff Newmiller
A) You cannot assume the package code will have write access to the library directories. The user/admin who installs the package may never load the package. B) Downloading binary files for execution without the direct involvement of the user/admin is a security risk. C) Open-source package

Re: [R-pkg-devel] access is denied

2019-06-20 Thread Jeff Newmiller
I have not had much luck doing package development on network drives. Try using a local drive. On June 20, 2019 11:26:42 AM CDT, Tomas Kalibera wrote: >If you have not already done so, I'd check the package directory (and >its parent) is not opened in any application, including Windows

Re: [R-pkg-devel] Link compiled C object to internal package file

2019-06-19 Thread Jeff Newmiller
What do you mean by "call an external text file" ? Text files are data... do you want to open it and read it? Are you familiar with the system.file() function? On June 19, 2019 5:45:51 AM CDT, mark padgham wrote: >Dear All, > >I'm developing a package which primarily relies on C code that

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

2019-06-07 Thread Jeff Newmiller
>> any(is.infinite(fval)) || any(is.na(fval)) > >a little typo here: it should be '|', not '||', right ? Since `any` collapses the vectors to length 1 either will work, but I would prefer `||`. On June 7, 2019 6:51:29 AM PDT, Serguei Sokol wrote: >On 07/06/2019 15:31, Sebastian Meyer wrote: >>

Re: [R-pkg-devel] note

2019-06-04 Thread Jeff Newmiller
Regarding the global variables... I found [1] illuminating, in particular the comments on the solution. [1] https://stackoverflow.com/questions/41954302/where-to-create-package-environment-variables On June 4, 2019 11:07:20 AM PDT, Duncan Murdoch wrote: >On 04/06/2019 8:36 a.m., Bernd JAGLA

Re: [R-pkg-devel] noL

2019-05-16 Thread Jeff Newmiller
It pays to read the archives before posting https://stat.ethz.ch/pipermail/r-package-devel/2019q2/003941.html On May 16, 2019 6:31:19 AM PDT, "Goldfeld, Keith" wrote: >Good morning - > >I have one final issue that is preventing me from a successful >submission of my package simstudy to

Re: [R-pkg-devel] Writing to files without altering working directory in R package

2019-05-06 Thread Jeff Newmiller
You cannot go littering the user directories with sample files. Such examples would have to be dontrun, but in order to make some of the example runnable as is you would also need examples that use system.file paradigm. If you store the temporary file name in a variable then the user can

Re: [R-pkg-devel] long file names in tar

2019-04-18 Thread Jeff Newmiller
You could go down this rabbit hole if you like, but I suspect it has something to do with maintaining compatibility with multiple operating systems and I doubt R Core will explore the consequences of this change for you. Windows, for example, allows long file names but has some nasty corners

Re: [R-pkg-devel] read-only mirror of the CRAN R package repository on GitHub

2019-04-11 Thread Jeff Newmiller
I don't think "CRAN" (R Core) _ever_ did this... it was a volunteer effort by someone independently. On April 11, 2019 4:16:47 PM PDT, Mohammad Ali Nilforooshan wrote: >Hi, > >In the past, there were read-only mirrors of the CRAN R packages on >GitHub >(i.e., https://github.com/cran/). >I

Re: [R-pkg-devel] Re :Re: Re :Re: Re :Re: package cartograflow_0.0.0.9000.tar.gz

2019-04-07 Thread Jeff Newmiller
don't you think other.ot...@gmail.com is inappropriate? On April 7, 2019 12:01:59 PM PDT, "cartograf...@gmail.com" wrote: >Thanks!So, I've already check and I didn't see the descrption of the >note in 00check.log.The only thing I can say is that there's a problem >with Author. >I tried to put

Re: [R-pkg-devel] Calls not declared

2019-03-11 Thread Jeff Newmiller
PDT, Duncan Murdoch wrote: >On 11/03/2019 11:32 a.m., Jeff Newmiller wrote: >> I did not see any mention of the distinction between Depends and >Imports in the DESCRIPTION file... which is always a risk when >duplicating existing documentation in an email. Imports is preferred &g

Re: [R-pkg-devel] Calls not declared

2019-03-11 Thread Jeff Newmiller
I did not see any mention of the distinction between Depends and Imports in the DESCRIPTION file... which is always a risk when duplicating existing documentation in an email. Imports is preferred because the user does not have to put definitions only needed inside your package into their

Re: [R-pkg-devel] regarding solution of these warning and note

2019-03-03 Thread Jeff Newmiller
Do you have a question? If so, please read the Posting Guide and follow its recommendations. (e.g. What did you do to trigger these errors in enough detail that we could trigger them? What is your desired outcome?) On March 3, 2019 1:11:45 PM PST, Krishan Gupta wrote: >Original: no visible

Re: [R-pkg-devel] problems with .mod files

2019-02-28 Thread Jeff Newmiller
Don't run R CMD check against your working directory... only run it against your tar.gz source file. The devtools package will do this for you automatically from within R for convenience. On February 28, 2019 4:50:18 AM PST, "Rampal S. Etienne" wrote: >Dear Remi, > >The mod files are not in

Re: [R-pkg-devel] NOTE for a suggested package

2019-02-23 Thread Jeff Newmiller
Remove the library function call... On February 23, 2019 3:43:15 PM PST, Mohammad Ali Nilforooshan wrote: >I'm struggling to stop receiving a NOTE about a suggested package, and >it >seems to be the problem for many people. Your help is really >appreciated. > >In the function, I have: >