Re: [R-pkg-devel] Package Rejection Error Help

2021-04-07 Thread Duncan Murdoch
emove that dependency (or move it to Suggests, and check for it before using). If that's not feasible, then you just need to wait for it to become available. Based on its status page, it shouldn't be long. Try submitting again tomorrow? Duncan Murdoch Thanks Andrew On Wed, Apr

Re: [R-pkg-devel] rtracklayer installation problems

2021-04-07 Thread Duncan Murdoch
or.org/. When you do, please show the command you used for the install; it's possible a simple change there will fix things. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Using RC_fopen in a CRAN package

2021-04-02 Thread Duncan Murdoch
eaders nor .Internal() nor .Call() etc calls to base packages. Also, ::: should not be used to access undocumented/internal objects in base packages (nor should other means of access be employed). Such usages can cause packages to break at any time, eve

Re: [R-pkg-devel] checking LazyData ... NOTE 'LazyData' is specified without a 'data' directory

2021-03-31 Thread Duncan Murdoch
On 31/03/2021 8:28 a.m., Tim Hulsen wrote: I don’t believe I do anything with lazydata. Your DESCRIPTION file specifies it is TRUE. Duncan Murdoch https://cran.r-project.org/web/checks/check_results_BioVenn.html <https://cran.r-project.org/web/checks/check_results_BioVenn.html>

Re: [R-pkg-devel] checking LazyData ... NOTE 'LazyData' is specified without a 'data' directory

2021-03-31 Thread Duncan Murdoch
bit more information, e.g. a link to your source. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] CRAN note about \href{https://doi.org/...}{label} in Rd files

2021-03-30 Thread Duncan Murdoch
On 30/03/2021 12:36 p.m., Duncan Murdoch wrote: On 30/03/2021 10:39 a.m., Floris Vanderhaeghe wrote: I just tried \doi{10.5281/zenodo.2611233} and it worked. Sure, but what about making a hyperlink to https://doi.org/10.5281/zenodo.2611233 while showing "text" in the documentat

Re: [R-pkg-devel] CRAN note about \href{https://doi.org/...}{label} in Rd files

2021-03-30 Thread Duncan Murdoch
o, I don't think there's currently any way to do that. Your choices are probably to link to whatever the DOI links to, e.g. \href{https://zenodo.org/record/2682323}{text} and live with the fact that the URL might change tomorrow, or show the D

Re: [R-pkg-devel] CRAN note about \href{https://doi.org/...}{label} in Rd files

2021-03-30 Thread Duncan Murdoch
. I just tried \doi{10.5281/zenodo.2611233} and it worked. Duncan Murdoch Perhaps a 'https://doi.org' address which does not show as such in the documentation (because of the clickable label) should still be allowed. With regards Floris Vanderhaeghe _

[R-pkg-devel] When are import version requirements checked?

2021-03-26 Thread Duncan Murdoch
ee where the error occurred. The problem here is that the "output_handler" argument is new in downlit 0.2.1.9000, and we aren't using that version. Should R object to the incompatible versions here? Duncan Murdoch __ R-package-devel@r

Re: [R-pkg-devel] Confusion about what should be in Imports for a package with a shiny app

2021-03-24 Thread Duncan Murdoch
omewhere in your main code to silence the message. But it's probably better to leave it in Suggests. As to the "wrong package version" issue: CRAN isn't showing 1.0.5 anywhere. You may have submitted it, but it hasn't been accepted. It's not in the CRAN

Re: [R-pkg-devel] ‘Package required and available but unsuitable version’ and notes about examples execution time

2021-03-21 Thread Duncan Murdoch
fine with no more changes. Mention the issues you saw in your submission message, but it looks to me like a transient issue on Win-builder. Duncan Murdoch Any further hint? Thank you for your time Best Gianmarco Dr Gianmarco Alberti (PhD Udin

Re: [R-pkg-devel] ‘Package required and available but unsuitable version’ and notes about examples execution time

2021-03-21 Thread Duncan Murdoch
is package? Your current version only mentions "spatstat (>= 1.56-0)". CRAN has spatstat.linnet 2.0-0, but perhaps Win-builder hadn't updated its old release library to that version when you ran your test. Duncan Murdoch I am wondering: (1) are the 2 notes returned by (a) an

Re: [R-pkg-devel] Rcmd check and sourcing URL issues

2021-03-16 Thread Duncan Murdoch
kip that source call and look for the next available path (which may or may not exist) * throw an error that this.path is incompatible when sourcing URLs * return the URL from that source call No opinion. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Two (newbie/luser) questions about adding CI to github hosted package

2021-03-16 Thread Duncan Murdoch
On 16/03/2021 9:04 a.m., Chris Evans wrote: Hugely appreciated Duncan. - Original Message - From: "Duncan Murdoch" ... You have 5 workflows, and their current content doesn't appear to match the results on your actions page. Pick one, run it, and I'll see if I

Re: [R-pkg-devel] Two (newbie/luser) questions about adding CI to github hosted package

2021-03-16 Thread Duncan Murdoch
27;ll see if I can spot the reason for a failure. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Submitting breaking changes to CRAN

2021-03-12 Thread Duncan Murdoch
compatible with the old one, so there would be no excuse for the downstream packages not to update right away. Duncan Murdoch On 11/03/2021 7:39 p.m., Ege Rubak wrote: Dear Duncan, Thanks for taking the time to read my message and for the constructive idea. You are right that it is a bit late

Re: [R-pkg-devel] Submitting breaking changes to CRAN

2021-03-11 Thread Duncan Murdoch
depend on spatstat. at their leisure. Duncan Murdoch On 11/03/2021 10:18 a.m., Ege Rubak wrote: Dear all, I'm seeking advice on how to submit a new package version with breaking changes to CRAN. I will try to make this short: 1. spatstat (<= 1.65) had grow to be very large with e

Re: [R-pkg-devel] Vignettes from LaTeX files.

2021-03-07 Thread Duncan Murdoch
On 06/03/2021 9:12 a.m., Dirk Eddelbuettel wrote: On 5 March 2021 at 15:41, Duncan Murdoch wrote: | On 05/03/2021 2:40 p.m., Henrik Bengtsson wrote: | > Thank you. Glad to hear it's useful. | > | > This plain TeX/LaTeX vignette engine is implemented using base R. If | > some

Re: [R-pkg-devel] Vignettes from LaTeX files.

2021-03-05 Thread Duncan Murdoch
On 05/03/2021 2:40 p.m., Henrik Bengtsson wrote: Thank you. Glad to hear it's useful. This plain TeX/LaTeX vignette engine is implemented using base R. If someone is willing to drive the efforts, I think it's not too much work to refactor it and propose it for base R itself, where I think it be

Re: [R-pkg-devel] Using data.table in a package

2021-03-05 Thread Duncan Murdoch
", "v")) outside of your function, and that will suppress warnings about them. You could also put the NULL assignments outside the function and it would have the same effect. (You don't want to export those variables, so be careful with your NAMESPACE file.) Duncan Murdoch _

Re: [R-pkg-devel] Why .Rbuildignore doesn't ignore?

2021-03-04 Thread Duncan Murdoch
aces or punctuation before or after the patterns will be taken to be part of the pattern. If your working directory is the top level package directory, this emulates the test R CMD build uses: files <- list.files() files[tools:::inRbuildignore(files, ".")] It should list all the fil

Re: [R-pkg-devel] Why .Rbuildignore doesn't ignore?

2021-03-04 Thread Duncan Murdoch
being included in the .tar.gz file produced by R CMD build? This could be a bug in devtools::check. If you're using RStudio, you can use the standard build and check functions by unchecking the box for "Use devtools package functions if available". Duncan Murdoch T

Re: [R-pkg-devel] R package check stuck on “checking use of S3 registration …”

2021-02-26 Thread Duncan Murdoch
t I would suspect it will cause trouble with any package compiled against 2.7.11, as the macOS binaries on CRAN likely are. If reinstalling 2.7.11 doesn't fix it, you may need to remove some 2.8.0 leftovers, as described here: https://stat.ethz.ch/pipermail/r-sig-mac/2021-February/01395

Re: [R-pkg-devel] Support for several versions of another package

2021-02-21 Thread Duncan Murdoch
On 21/02/2021 12:17 p.m., Gábor Csárdi wrote: On Sun, Feb 21, 2021 at 6:05 PM Duncan Murdoch wrote: On 21/02/2021 9:47 a.m., Iñaki Ucar wrote: Hi, Let's say that pkgA uses pkgB::function1. Then, version 2 of pkgB removes function1 and exports function2 for the same functionality. So

Re: [R-pkg-devel] Support for several versions of another package

2021-02-21 Thread Duncan Murdoch
warning that somethingNonexistent doesn't exist as long as you're not on the old version of rgl. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] How to manage using different packages if available (suggests - imports)

2021-02-18 Thread Duncan Murdoch
onment variable _R_CHECK_FORCE_SUGGESTS_ set to "FALSE". If you are worried about a CRAN submission, explain to them in your submission message why they can't have all your suggested packages. Duncan Murdoch On 18/02/2021 10:36 a.m., Knut Krueger wrote: The following problem: there are three packa

Re: [R-pkg-devel] How to fix a check error for a package in CRAN

2021-02-15 Thread Duncan Murdoch
? It looks like some sort of transient problem on the test machine. I'd ignore it unless you're submitting an update. In that case, I'd comment on it in your submission comment, saying you haven't fixed one problem because it was not reproducib

Re: [R-pkg-devel] Subarchitectures

2021-02-13 Thread Duncan Murdoch
tform$r_arch)') You can switch to backticks to not depend on bash so this R_ARCH=`"${R_HOME}/bin/Rscript" -e 'cat(.Platform$r_arch)'` should work too. It didn't work for me, but I gave up on that approach pretty quickly so I might have made some other erro

Re: [R-pkg-devel] How to build *-package description from *-package.R files ... and a luser/newbie question about pkgdown

2021-02-12 Thread Duncan Murdoch
I'm guessing you use ESS? No, I use RStudio. When I said "I don't use it much", I meant Roxygen2. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] How to build *-package description from *-package.R files ... and a luser/newbie question about pkgdown

2021-02-12 Thread Duncan Murdoch
anything important in my minimal github repository were I to use pkgDown::build_site() to write directly to that repository? Q2b: is there more documentation on enhancing the site build_site() creates that I can read? I don't use pkgDown, so can't comment on these questions. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Subarchitectures

2021-02-11 Thread Duncan Murdoch
ual, so I'm not certain it doesn't violate the intention of some rule or other. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Subarchitectures

2021-02-09 Thread Duncan Murdoch
On 09/02/2021 11:01 a.m., Duncan Murdoch wrote: I think the WRE manual says that an R_ARCH environment variable will be set when subarchitectures are involved, but environment variables aren't accessible in Makevars. Actually, I probably misread the section about environment variables. D

Re: [R-pkg-devel] Fwd: Subarchitectures

2021-02-09 Thread Duncan Murdoch
On 09/02/2021 11:30 a.m., Sokol Serguei wrote: Le 09/02/2021 à 17:01, Duncan Murdoch a écrit : I think the WRE manual says that an R_ARCH environment variable will be set when subarchitectures are involved, but environment variables aren't accessible in Makevars. Is there a standard way t

[R-pkg-devel] Subarchitectures

2021-02-09 Thread Duncan Murdoch
I think the WRE manual says that an R_ARCH environment variable will be set when subarchitectures are involved, but environment variables aren't accessible in Makevars. Is there a standard way to get a value in Makevars which will match .Platform$r_arch once R is running? Duncan Mu

[R-pkg-devel] Two versions of package DLL?

2021-02-08 Thread Duncan Murdoch
cf68878a1361d00ff2125db2e1ac7dc8f6c8009/src/library/tools/R/QC.R#L2118) looks at the "DLL name", and ignores the fact that the path to the DLL is in the rgl libs directory. I'll try to put together a patch for R that fixes this. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Advice on R-forge to Github migration

2021-02-02 Thread Duncan Murdoch
Thanks again to all who wrote on this thread: rgl now lives in git, with the main website now https://github.com/dmurdoch/rgl. Thanks especially to Joshua, who did most of the heavy lifting of actually importing the R-forge material. Duncan Murdoch

Re: [R-pkg-devel] Undeclared packages ... in Rd xrefs

2021-02-02 Thread Duncan Murdoch
On 02/02/2021 9:13 a.m., Ulrike Grömping wrote: Am 02.02.2021 um 02:38 schrieb Duncan Murdoch: On 01/02/2021 5:03 p.m., Ulrike Grömping wrote: Dear package developeRs, under the Fedora clang checks, I find the note "Undeclared packages ‘FrF2’, ‘DoE.wrapper’, ‘sfsmisc’, ‘DoE.MIP

Re: [R-pkg-devel] Cache in vignette not working when checking a package

2021-02-02 Thread Duncan Murdoch
_cache directory, it would be installed (unless your .Rbuildignore file says to ignore it). If you extract the tar.gz file into a new directory, does the cache end up in the same directory as the main vignette file? Duncan Murdoch Thanks, Jose Barrera Statistician, Associate Lecturer *I

Re: [R-pkg-devel] Undeclared packages ... in Rd xrefs

2021-02-01 Thread Duncan Murdoch
packages. So presumably you don't mention those packages in your DESCRIPTION file. Generally that means they should be listed in Suggests, which doesn't force them to be installed, but they will be installed during tests. You might also argue they should be in Enhances, though

Re: [R-pkg-devel] Advice on R-forge to Github migration

2021-01-31 Thread Duncan Murdoch
On 31/01/2021 3:20 p.m., Joshua Ulrich wrote: On Sun, Jan 31, 2021 at 2:17 PM Duncan Murdoch wrote: Thanks to everyone who commented. A few replies inline: On 31/01/2021 1:21 p.m., Joshua Ulrich wrote: > I've moved history and issues from R-Forge to GitHub for half a doz

Re: [R-pkg-devel] Advice on R-forge to Github migration

2021-01-31 Thread Duncan Murdoch
could help > you do it. Thanks for the offer (and the more detailed one offline, where you recommend cloning the repository rather than forking it). Just for future reference, could you tell me the benefits of cloning over forking? Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

[R-pkg-devel] Advice on R-forge to Github migration

2021-01-31 Thread Duncan Murdoch
iscussions that were sent to R-forge. - I'll need to do a bit of work to change dmurdoch/rgl to a more standard R package layout, but this should be quite easy: basically just moving the files in pkg/rgl to the top level. I assume "git mv" will keep their his

Re: [R-pkg-devel] Testing on old R versions

2021-01-31 Thread Duncan Murdoch
On 31/01/2021 12:35 p.m., Duncan Murdoch wrote: On 31/01/2021 10:57 a.m., Gábor Csárdi wrote: Do you actually experience any problems, if you don't treat this case specially? Yes, what was happening was that remotes::install_deps skipped installing rgl from CRAN because the local copy

Re: [R-pkg-devel] Testing on old R versions

2021-01-31 Thread Duncan Murdoch
e `remotes::install_deps()` with `remotes::install_local()` and then remotes will install the local package as well, not only its dependencies. I'll try that. Duncan Gabor On Sun, Jan 31, 2021 at 11:32 AM Duncan Murdoch wrote: I am trying out a modified version of the tidyverse actions, a

Re: [R-pkg-devel] Testing on old R versions

2021-01-31 Thread Duncan Murdoch
order? Duncan Murdoch On 29/01/2021 2:26 p.m., Hadley Wickham wrote: On Thu, Jan 28, 2021 at 6:27 PM Henrik Bengtsson wrote: Hi, you're probably already aware of it, but 'rgl' depends on 'magrittr' which depends on 'rlang', and the latter requires R (>

[R-pkg-devel] Using a package only at install time?

2021-01-29 Thread Duncan Murdoch
ing says: NOTE 'LinkingTo' for ‘js’ is unused as it has no 'include' directory Is that an ignorable NOTE? If not, is there another strategy for minifying Javascript files at install time? Duncan Murdoch __ R-package-dev

Re: [R-pkg-devel] Testing on old R versions

2021-01-29 Thread Duncan Murdoch
just tried this, and rgl still won't install in 3.2.0. I guess this is because some of the other dependencies import magrittr, and/or there are other post 3.2.0 needs. In any case, I'm not too worried about that ancient of a version. Duncan Murdoch On 28/01/2021 7:27 p.m., Henrik Bengts

Re: [R-pkg-devel] Testing on old R versions

2021-01-28 Thread Duncan Murdoch
now installs in the basic r-base container, without adding additional libs. This is due to some config checks that let it run on a barebones machine: it can still produce WebGL output for a browser, it just can't show it on screen. Duncan Murdoch On 28/01/2021 11:42 a.m., Dirk Ed

[R-pkg-devel] Testing on old R versions

2021-01-28 Thread Duncan Murdoch
finally, my question: what is the recommended way to handle tests of new packages on old R versions? Do docker or other images exist that are already set up and ready to go? Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.

Re: [R-pkg-devel] problem with donttest example

2021-01-26 Thread Duncan Murdoch
ers. If you marked them that way because they take too long to run, then it seems like CRAN shouldn't complain about the run time. I don't know if they do or not. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat

Re: [R-pkg-devel] Rdmacros as Suggests rather than Imports

2021-01-23 Thread Duncan Murdoch
e similar to the existing \eqn and \deqn macros in base R, it was easy to switch back to those and I (hopefully temporarily) dropped the mathjaxr dependency completely. For a package that made more extensive use of math in the help pages it would be more work. Duncan Murdoch

Re: [R-pkg-devel] checking for detritus in the temp directory ... NOTE 'RtmpvRaBK1_copy'

2021-01-14 Thread Duncan Murdoch
NOTE only on some platforms. Duncan Murdoch Thanks Joe Joe Thorley PhD, RPBio Computational Biologist Poisson Consulting Ltd. 4216 Shasheen Road Nelson, BC V1L 6X1, Canada Tel: +1 250 551 2194 Email: j...@poissonconsulting.ca Web: www.poissonconsulting.ca [[alternative HT

Re: [R-pkg-devel] CRAN check texi2dvi failure

2021-01-10 Thread Duncan Murdoch
may fail in CRAN tests; see the recent "URL checks" thread on R-devel for a discussion of ways in which this can happen even when the URL works for you. Duncan Murdoch Paul On 2021-01-10 8:04 a.m., Georgi Boshnakov wrote: > The problem is not in the Warning from the e

Re: [R-pkg-devel] Package used unconditionally only in testing

2021-01-08 Thread Duncan Murdoch
lution? Most users aren't going to run your tests, so they shouldn't be forced to install software that would let them do so. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Sweave vignette and bibtex

2021-01-06 Thread Duncan Murdoch
?), and maybe even a reproducible example if you can extract a minimal amount from the document and the .bib file. I haven't used Sweave in a few years (I recommend switching to knitr's implementation of .Rnw processing), but I didn't have problems like yours in the past.

Re: [R-pkg-devel] Used package not updated - needs java < V 11

2020-12-16 Thread Duncan Murdoch
On 16/12/2020 10:21 a.m., Knut Krueger wrote: Am 15.12.20 um 14:37 schrieb Duncan Murdoch: thank you for your answer You should not have @importFrom XLConnect createSheet writeWorksheet saveWorkbook in your ROxygen comments; that results in an unconditional import. Instead, you should use

Re: [R-pkg-devel] R CMD check warning on Solaris

2020-12-15 Thread Duncan Murdoch
markdown") || !rmarkdown::pandoc_available("1.14")) { warning(call. = FALSE, "These vignettes assume rmarkdown and pandoc version 1.14. These were not found. Older versions will not work.") knitr::knit_exit() } This results in very short vignettes on system

Re: [R-pkg-devel] Used package not updated - needs java < V 11

2020-12-15 Thread Duncan Murdoch
s like if (requireNamespace("XLConnect")) { run code } else { report that you can't run that code } and make sure none of your examples or vignettes fail if XLConnect is not present. Duncan Murdoch __ R-package-devel@r-project.org mailing

Re: [R-pkg-devel] CRAN packages suggesting other packages but not using them conditionally

2020-12-12 Thread Duncan Murdoch
On 12/12/2020 6:01 p.m., Ben Bolker wrote: On 12/12/20 5:50 PM, Duncan Murdoch wrote: On 12/12/2020 4:08 p.m., Spencer Graves wrote: Hi, Ben et al.: On 2020-12-12 13:43, Ben Bolker wrote:     Apologies if I'm telling you something you already know:     By default, fda::CRAN() use

Re: [R-pkg-devel] CRAN packages suggesting other packages but not using them conditionally

2020-12-12 Thread Duncan Murdoch
ines? Most people want the same tests in both places. Those who like writing lots of time consuming tests are the ones who shouldn't mind a small step to control them. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] CRAN packages suggesting other packages but not using them conditionally

2020-12-12 Thread Duncan Murdoch
m in a "slowtests" directory, and tell R CMD check to use that. How could it be easier? Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] How to avoid R CMD check warning for documentation of non-package functions?

2020-12-02 Thread Duncan Murdoch
o of them. \docType{data} might be flexible enough. If you do this, you won't use \usage{} or \arguments{}, you'll put together your own sections using \section{Usage}{ ... } and \section{Arguments}{ ... } and try to get the formatting right. Duncan Murdoch [1]: https://stat.ethz.ch/R-

Re: [R-pkg-devel] C++11 requirements for package dependencies

2020-11-30 Thread Duncan Murdoch
On 30/11/2020 11:54 a.m., Duncan Murdoch wrote: On 30/11/2020 11:31 a.m., Dirk Eddelbuettel wrote: On 30 November 2020 at 11:27, Duncan Murdoch wrote: | I think that C++11 isn't a requirement of RcppArmadillo, it's an option It is as of the 10.* series of Armadillo and hence Rcp

Re: [R-pkg-devel] C++11 requirements for package dependencies

2020-11-30 Thread Duncan Murdoch
On 30/11/2020 11:31 a.m., Dirk Eddelbuettel wrote: On 30 November 2020 at 11:27, Duncan Murdoch wrote: | I think that C++11 isn't a requirement of RcppArmadillo, it's an option It is as of the 10.* series of Armadillo and hence RcppArmadillo 0.10.* I was going to complain that

Re: [R-pkg-devel] C++11 requirements for package dependencies

2020-11-30 Thread Duncan Murdoch
f whatever package did that, even though it isn't a system requirement for RcppArmadillo. But I could be wrong about this... Duncan Murdoch On 30/11/2020 11:06 a.m., Mark Clements wrote: [Apologies for cross-posting] A colleague uses a package I maintain (rstpm2) as a dependency i

Re: [R-pkg-devel] devtools::release() does not release

2020-11-26 Thread Duncan Murdoch
Why not use the CRAN submission web page, as documented here: https://cran.r-project.org/web/packages/policies.html#Submission? Duncan Murdoch On 26/11/2020 2:57 p.m., Gábor Csárdi wrote: Why not submit a bug report at the devtools repository? ❯ packageDescription("devtools")$Bug

Re: [R-pkg-devel] Failing vignette engine for package rasciidoc on solaris

2020-11-23 Thread Duncan Murdoch
sage that source-highlight is needed to build the vignette. This is described in Section 1.6, "Writing portable packages", of Writing R Extensions. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Having shiny as an optional dependency

2020-11-16 Thread Duncan Murdoch
g* that requires those packages in the requireNamespace test. - Make sure your example code in help pages never calls that function unless shiny and shinyjqui are present, by a test similar to the above but a positive one: if (requireNamespace("shiny") && requireNamespace(&qu

Re: [R-pkg-devel] Error in loadNamespace(x) : there is no package called 'formatR'

2020-11-13 Thread Duncan Murdoch
On 13/11/2020 4:32 p.m., Gábor Csárdi wrote: On Fri, Nov 13, 2020 at 9:02 PM Duncan Murdoch wrote: [...] Things may have changed since Henrik and I wrote the code, but his description matches my understanding as well (and I think he's contributed more recently than I have). The way non-S

Re: [R-pkg-devel] Error in loadNamespace(x) : there is no package called 'formatR'

2020-11-13 Thread Duncan Murdoch
uess it's pretty common to forget to include rmarkdown and formatR, since they may not be explicitly used. Then putting them in the VignetteBuilder field will trigger an error if they are not also in Suggests. Duncan Murdoch My understanding is that R CMD build (and possibly other co

Re: [R-pkg-devel] Import package countreg that is not on CRAN

2020-11-13 Thread Duncan Murdoch
r Bioconductor - a process that might take years, if at all. /Henrik On Fri, Nov 13, 2020 at 3:23 AM Duncan Murdoch wrote: On 13/11/2020 3:10 a.m., Jason Luo wrote: Hi, I'm submitting a new package (https://github.com/Penncil/pda/) to CRAN. It relies on some function (zerotrunc and hur

Re: [R-pkg-devel] Import package countreg that is not on CRAN

2020-11-13 Thread Duncan Murdoch
to CRAN without that dependency. - you could publicize that your package is on Github, and give up on publishing it on CRAN. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Strange error from CRAN on package submission

2020-11-12 Thread Duncan Murdoch
Actually I think it is a bug in the check code. I've just posted about this on the R-devel list. Duncan Murdoch On 12/11/2020 10:13 a.m., Martin Morgan wrote: This seems more like a problem with the CRAN test machine, with the movMF package installed with flexmix available but loaded

Re: [R-pkg-devel] Strange error from CRAN on package submission

2020-11-11 Thread Duncan Murdoch
change your dependency lists if one of them sets a method that you're using. Duncan Murdoch On 11/11/2020 3:31 p.m., Kevin R. Coombes wrote: Oh, I forgot to mention explicitly that checking (with --as-cran) on the development version of R on Windows also produces no errors or warnings.

Re: [R-pkg-devel] Strange error from CRAN on package submission

2020-11-11 Thread Duncan Murdoch
ll.R. But that function runs a new R instance, and I didn't get to debugging that. I'll try again later today if nobody else figures it out. Duncan Murdoch On 11/11/2020 12:03 p.m., Kevin R. Coombes wrote: Hi Duncan, Oops; I didn't realize I had forgotten to push updat

Re: [R-pkg-devel] Strange error from CRAN on package submission

2020-11-11 Thread Duncan Murdoch
Uwe suggested you suggest flexmix, but I see below you already tried that. I'd like to take a look, but I can't find your package. The existing version on CRAN gives the URL as http://oompa.r-forge.r-project.org/, but I can't see it mentioned there. Duncan Murdoch On 11/1

Re: [R-pkg-devel] Error during automatic check for vignette re-building - The magick package is required to crop

2020-11-05 Thread Duncan Murdoch
e dimensions). I am not sure about this one; I'd need to look at the package to check. Is it on Github? Duncan Murdoch Have ever someone faced a similar issue? However, it seems ineffective. Is there any possibility to be a false negative? I am sending bellow the links for the check l

Re: [R-pkg-devel] import with except(ion)

2020-10-31 Thread Duncan Murdoch
= lung) For example, would you like to generate an error, because you don't support frailty in this context? Could you clarify that? Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] checking PDF version of manual without hyperrefs or index ... ERROR

2020-10-29 Thread Duncan Murdoch
I don't know the best solution, but one workaround would be to replace "fl" in your Rd files with "fl". Duncan Murdoch On 29/10/2020 10:34 a.m., Anthony Hammond wrote: Hello, I'm attempting to upload a package to CRAN and although it passes the R CMD checks that I

Re: [R-pkg-devel] Warning on r-oldrel-macos-x86_64

2020-10-25 Thread Duncan Murdoch
RIPTION file, or - test for it in the vignette, or - remove the dependency by being explicit about stringsAsFactors = FALSE. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Licenses

2020-10-22 Thread Duncan Murdoch
On 22/10/2020 12:56 p.m., Marc Schwartz wrote: On Oct 22, 2020, at 12:12 PM, Duncan Murdoch wrote: On 22/10/2020 11:55 a.m., Marc Schwartz wrote: On Oct 22, 2020, at 11:19 AM, Marc Schwartz wrote: On Oct 22, 2020, at 10:21 AM, Kevin R. Coombes wrote: Hi, I am developing a package and

Re: [R-pkg-devel] Licenses

2020-10-22 Thread Duncan Murdoch
n license.db, but R could still do computations on them, as described in ?library in the "Licenses" section. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Licenses

2020-10-22 Thread Duncan Murdoch
wCore apparently does and ignore the NOTE? flowCore is a Bioconductor package, not on CRAN. Are you intending to send yours there, or to CRAN? I suspect Bioconductor is happy with the Hutch's license. Duncan Murdoch __ R-package-devel@r-p

Re: [R-pkg-devel] CRAN pending status , left up in the air

2020-10-19 Thread Duncan Murdoch
e on to the next one... Most of the contributors to R are reasonable people, but they have their own priorities. If you can make it easier for them to achieve their priorities, they'll appreciate it. If you ask them to change their priorities, they might not. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] puzzling CRAN rejection

2020-10-13 Thread Duncan Murdoch
On 13/10/2020 5:33 a.m., Iñaki Ucar wrote: On Tue, 13 Oct 2020 at 01:47, Ben Bolker wrote: On 10/12/20 7:37 PM, Duncan Murdoch wrote: On 12/10/2020 6:51 p.m., Ben Bolker wrote: On 10/12/20 6:36 PM, Duncan Murdoch wrote: On 12/10/2020 6:14 p.m., Ben Bolker wrote: I'd say a mis

Re: [R-pkg-devel] puzzling CRAN rejection

2020-10-12 Thread Duncan Murdoch
On 12/10/2020 6:51 p.m., Ben Bolker wrote: On 10/12/20 6:36 PM, Duncan Murdoch wrote: On 12/10/2020 6:14 p.m., Ben Bolker wrote: I'd say a mismatch in saved output isn't a small problem, it's either a too-sensitive test or something serious. Duncan Murdoch     Tha

Re: [R-pkg-devel] puzzling CRAN rejection

2020-10-12 Thread Duncan Murdoch
On 12/10/2020 6:14 p.m., Ben Bolker wrote: I'd say a mismatch in saved output isn't a small problem, it's either a too-sensitive test or something serious. Duncan Murdoch That's fair enough, but it would be nice if (1) this were a NOTE and I don't think s

Re: [R-pkg-devel] puzzling CRAN rejection

2020-10-12 Thread Duncan Murdoch
On 12/10/2020 5:17 p.m., Ben Bolker wrote: On 10/12/20 4:40 PM, Duncan Murdoch wrote: There's this one in https://win-builder.r-project.org/incoming_pretest/lme4_1.1-24_20201012_210730/Windows/00check.log:   Comparing 'lmer-1.Rout' to 'lmer-1.Rout.save' ...428

Re: [R-pkg-devel] puzzling CRAN rejection

2020-10-12 Thread Duncan Murdoch
les_and_tests/tests_i386/lmer-1.Rout.save The difference also doesn't show up in the x64 versions of the files. Duncan Murdoch On 12/10/2020 4:03 p.m., Ben Bolker wrote: Before I risk wasting the CRAN maintainers' time with a query, can anyone see what I'm missing here? Ev

Re: [R-pkg-devel] Procedure for the transfer or an R package maintainership

2020-10-11 Thread Duncan Murdoch
l but I couldn't find an answer to my questions. Hopefully I've added enough info for you. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Static vignettes / bibtex warning in Debian

2020-10-10 Thread Duncan Murdoch
g you need to worry about: that other package has probably been updated to drop the bibtex dependence, but Debian hasn't got the update yet. I don't know how you determine which is the "guilty" package. Maybe there are more hints in the check log? Duncan Murdoch On 10/1

Re: [R-pkg-devel] rlang not available on Windows builder machine with R-devel

2020-10-09 Thread Duncan Murdoch
w version. In the latter case, mention the failure in your submission message and say that you're assuming it's a problem on their end. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] is R CMD build --compact-vignettes working as expected?

2020-10-08 Thread Duncan Murdoch
When I tried that on MacOS, it did the gs compression with gs_quality set to "none", which does nothing. I don't know what quality CRAN uses, but for me setting the environment variable GS_QUALITY=screen made a big difference. Duncan Murdoch On 08/10/2020 11:10 a.m., John F

Re: [R-pkg-devel] is R CMD build --compact-vignettes working as expected?

2020-10-07 Thread Duncan Murdoch
Just to clarify: I've never noticed the problem you mention. I just know how to debug R CMD build. Duncan cheers Ben On 10/7/20 8:31 PM, Duncan Murdoch wrote: I don't know the answer to your question, but you can debug the --compact-vignettes option as follows. deb

Re: [R-pkg-devel] is R CMD build --compact-vignettes working as expected?

2020-10-07 Thread Duncan Murdoch
et those criteria. When I trick it into accepting the compaction, it does put the compacted PDF into the tarball. Duncan Murdoch On 07/10/2020 6:03 p.m., John Fox wrote: Dear Ben, On 2020-10-07 5:26 p.m., Ben Bolker wrote:   I hope so too. The (annoying) workaround is to compact the vignett

Re: [R-pkg-devel] A note from CRAN package check

2020-09-28 Thread Duncan Murdoch
ly, you could choose to distribute your package in some other way besides CRAN. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] CRAN Windows failure due to old pandoc ?

2020-09-26 Thread Duncan Murdoch
On 26/09/2020 12:54 p.m., Dirk Eddelbuettel wrote: On 26 September 2020 at 11:50, Duncan Murdoch wrote: | On 26/09/2020 9:14 a.m., Dirk Eddelbuettel wrote: | > | > I had a submission fail and bomb with this error on Windows: | > | >Flavor: r-devel-windows-ix86+x86_64 | &g

Re: [R-pkg-devel] CRAN Windows failure due to old pandoc ?

2020-09-26 Thread Duncan Murdoch
This makes the test happy, though it also makes the vignette pretty useless on systems that don't meet the stated requirements. Since SystemRequirements is free-form, I can see why CRAN doesn't do automatic interpretation of it, but it would be nice if they did. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Dependency needs to be loaded manually even its specified in the package

2020-09-18 Thread Duncan Murdoch
. Rather, you declare dependency relationsships via DESCRIPTION (and likely NAMESPACE). See "Writing R Extensions" for all the details. I think you misread the post: this was an example of code a user would run, not code from the package. Dunc

Re: [R-pkg-devel] Dependency needs to be loaded manually even its specified in the package

2020-09-18 Thread Duncan Murdoch
You could probably fix this by adding the envir argument to exists() in that call, e.g. test <- sapply(ffun, exists, mode = "function", envir = parent.env(environment())) but it would be better to not try to invent a new object system. Duncan Murdoch __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

<    1   2   3   4   5   6   7   8   9   10   >