Re: [R-pkg-devel] Detritus reported by r-hub builder check_for_cran

2022-01-16 Thread Rainer M Krug
Thanks Uwe, I’ll try submission to CRAN beginning of next week. Rainer On 15 Jan 2022 at 00:40:00, Uwe Ligges wrote: > > > On 14.01.2022 15:14, Rainer M Krug wrote: > > Hi > > > I want to re-submit an archived package to CRAN, and I get, when checking > > on h

[R-pkg-devel] Detritus reported by r-hub builder check_for_cran

2022-01-14 Thread Rainer M Krug
t I assume that is not relevant. — Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Orcid ID: -0002-7490-0066 Department of Evolutionary Biology and Environmental Studies University of Zürich Office Y34-J-74 Winterthurerstrasse 190 8

Re: [R-pkg-devel] Pre-test check fails with "non-standard things in check directory" on one platform

2021-09-02 Thread Rainer M Krug
> On 2 Sep 2021, at 14:02, Duncan Murdoch wrote: > > On 02/09/2021 6:29 a.m., Rainer M Krug wrote: >> Hi >> I submitted an update of the dmdScheme package and got the response back >> from the pre-submission check that it failed on one platform with the Note: >

[R-pkg-devel] Pre-test check fails with "non-standard things in check directory" on one platform

2021-09-02 Thread Rainer M Krug
omebody give any guidance, how to fix this? Which one is the “check directory"? Thanks, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Orcid ID: -0002-7490-0066 Department of Evolutionary Biology and Environmental S

Re: [R-pkg-devel] CRAN, API packages, Keys and tests

2020-09-07 Thread Rainer M Krug
blob/master/tests/test_getSymbols.R#L4 >> >> Best, >> Josh >> >> On Fri, Sep 4, 2020 at 3:25 AM Rainer M Krug wrote: >>> >>> I know this has been asked a few times - but I can’t find anything which >>> might help me. >>> >>

[R-pkg-devel] CRAN, API packages, Keys and tests

2020-09-04 Thread Rainer M Krug
on remote machines. My question is: 1) I have disabled all tests and all examples if there is no environmental variable set with the API Key - is this OK for CRAN? 2) If not, how can I make this CRAN compliant? Thanks, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc

Re: [R-pkg-devel] Proper CRAN way - How to handle dependency of java jar file?

2020-07-13 Thread Rainer M Krug
Astrance > (Paris) > Phone number : +33.6.30.97.34.27 > Research topics: population genetics, landscape ecology, graph theory, > spatial statistics > > - Mail original - > De: "Rainer M Krug" > À: "Maëlle SALMON" > Cc: "r-package-devel&qu

Re: [R-pkg-devel] Proper CRAN way - How to handle dependency of java jar file?

2020-07-13 Thread Rainer M Krug
rs package, the hoardr > package) cf > https://blog.r-hub.io/2020/03/12/user-preferences/#not-so-temporary-files3 > > Maëlle. > > Den tisdag 23 juni 2020 14:56:30 CEST, Rainer M Krug skrev: > > > > > > Thanks Duncan. > >> On 23 Jun 2020, at 14:35, Du

Re: [R-pkg-devel] Making possible the use of external java codes by downloading it

2020-07-03 Thread Rainer M Krug
with "rappdirs::user_data_dir()". > > Do you know how to check if java is installed on their machine? > > I thought about using something like that: > > jv <- system2("java", args = c("-version")) > if(jv != 0){ > stop("You hav

Re: [R-pkg-devel] Making possible the use of external java codes by downloading it

2020-07-03 Thread Rainer M Krug
> R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Orcid ID: -0002-7490-0066 Department of Evolutionary Biology

Re: [R-pkg-devel] [EXTERNAL] Proper CRAN way - How to handle dependency of java jar file?

2020-06-23 Thread Rainer M Krug
Perfect. You also mention the “backports” package - how can I use that one to be able to also support old versions of R? Thanks, Rainer > On 23 Jun 2020, at 16:34, Hong Ooi wrote: > > Yes, that’s the one. > > From: Rainer M Krug > Sent: Tuesday, 23 June 2020 11:12

Re: [R-pkg-devel] [EXTERNAL] Proper CRAN way - How to handle dependency of java jar file?

2020-06-23 Thread Rainer M Krug
config/user dir. This is > available via R_user_dir() in R 4.0 (and earlier versions via the backports > package). An older alternative that still works is to use the rappdirs > package. > > > -Original Message- > From: R-package-devel On Behalf Of > Rainer

Re: [R-pkg-devel] Proper CRAN way - How to handle dependency of java jar file?

2020-06-23 Thread Rainer M Krug
the jar file into that directory or, when no permission is granted, into the tmpdir() Thanks, no major changes necessary for that, Rainer > > Duncan Murdoch > > On 23/06/2020 8:18 a.m., Rainer M Krug wrote: >> Hi >> I have a package called `plantuml` (https://github.

[R-pkg-devel] Proper CRAN way - How to handle dependency of java jar file?

2020-06-23 Thread Rainer M Krug
is doing stuff. Any suggestions on how I could make this “CRAN conform”? Thanks a lot, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Orcid ID: -0002-7490-0066 Department of Evolutionary Biology and Environmental Studies Unive

Re: [R-pkg-devel] Strange leftovers after check by CRAN

2020-03-20 Thread Rainer M Krug
gt; >> >> >> ____ >> From: R-package-devel >> <mailto:r-package-devel-boun...@r-project.org> on behalf of Rainer M Krug >> <mailto:rai...@krugs.de> >> Sent: March 19, 2020 11:21:08 AM >&

Re: [R-pkg-devel] Strange leftovers after check by CRAN

2020-03-19 Thread Rainer M Krug
OK. Thanks, Rainer > > Best, > Kevin > > On Thu, Mar 19, 2020 at 9:21 AM Rainer M Krug wrote: >> >> Hi >> >> My package dmdScheme gets always one note after submission to CRAN: >> >> >> ... >> * check

[R-pkg-devel] Strange leftovers after check by CRAN

2020-03-19 Thread Rainer M Krug
... OK * DONE Any suggestions how I can track down the where these are coming from? Each time my package has to go through a manual check at CRAN… Thanks, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Orcid ID: -0002-7490

Re: [R-pkg-devel] R CMD build hanging for some but not all packages

2020-02-12 Thread Rainer M Krug
ng like file.copy( setdiff(list.files(recursive=TRUE)), >> scan(".Rbuildignore", what=character())), to = destdir) ? >> >> On 2020-02-11 8:50 a.m., Rainer Krug wrote: >>> Thinking about it - what would be the easiest way, to copy the package, >>> excluding

Re: [R-pkg-devel] [EXTERNAL] R CMD build hanging for some but not all packages

2020-02-11 Thread Rainer M Krug
probably because R CMD build does something like cp * to > copy everything to a temp folder first up, before processing it. An argument > could be made that it should manually loop through all files and dirs, > checking each against .Rbuildignore before copying. > > > From: Rain

Re: [R-pkg-devel] R CMD build hanging for some but not all packages

2020-02-11 Thread Rainer M Krug
> On 11 Feb 2020, at 09:54, Gábor Csárdi wrote: > > On Tue, Feb 11, 2020 at 8:52 AM Rainer M Krug wrote: >> On 11 Feb 2020, at 09:42, Gábor Csárdi wrote: >> On Tue, Feb 11, 2020 at 8:38 AM Rainer M Krug wrote: >> On 10 Feb 2020, at 17:58, Gábor Csárdi wrote:

Re: [R-pkg-devel] R CMD build hanging for some but not all packages

2020-02-11 Thread Rainer M Krug
> On 11 Feb 2020, at 09:42, Gábor Csárdi wrote: > > On Tue, Feb 11, 2020 at 8:38 AM Rainer M Krug <mailto:rai...@krugs.de>> wrote: >> >> >> >> On 10 Feb 2020, at 17:58, Gábor Csárdi wrote: >> >> Maybe you have large, ignored files

Re: [R-pkg-devel] R CMD build hanging for some but not all packages

2020-02-11 Thread Rainer M Krug
8bf86f141af91ab2d7cd011db47%7C1%7C0%7C637169502304943506&sdata=DPyD6zGGcxq41irkaMfMLyjnmqSB96PiIxIh9N2p%2Ft4%3D&reserved=0 >> >> __ >> R-package-devel@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-pac

Re: [R-pkg-devel] Proper way to ask a user to set permanent variables?

2020-01-17 Thread Rainer M Krug
__ > R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Orcid ID: -0002-7490-0066 Department of Evolutionary Biology and Environme

Re: [R-pkg-devel] Proper way to ask a user to set permanent variables?

2020-01-14 Thread Rainer M Krug
I'm >> concerned with workspace-type saves since I feel like that often results in >> a ton of variables being saved. >> >> Thanks! >> >> --j >> >>[[alternative HTML version deleted]] >> >> ___

Re: [R-pkg-devel] DOI in of package in DESCRIPTION file

2019-12-16 Thread Rainer M Krug
e than > asking him to perform a post-mortem examination: he may be able to say what > the experiment died of. - Ronald Fisher > > On Mon, Dec 16, 2019 at 9:43 AM Rainer M Krug <mailto:rai...@krugs.de>> wrote: > Hi > > UI am preparing my package for CRAN. I have

Re: [R-pkg-devel] DOI in of package in DESCRIPTION file

2019-12-16 Thread Rainer M Krug
Thanks Uwe, I will do so. Rainer > On 16 Dec 2019, at 15:56, Uwe Ligges wrote: > > > > On 16.12.2019 15:34, Rainer M Krug wrote: >> Hi >> UI am preparing my package for CRAN. I have a DOI for my package, and would >> like to add Ito the DESCRIPTION fi

[R-pkg-devel] DOI in of package in DESCRIPTION file

2019-12-16 Thread Rainer M Krug
field. Is there a recommended way, of adding the DOI of a package to the DESCRIPTION file? I did not find anything when googling. Thanks, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Orcid ID: -0002-7490-0066

Re: [R-pkg-devel] CRAN submission with "possibly unsafe calls" or alternative approach?

2019-12-06 Thread Rainer M Krug
ple who know the details > much better than I do). > > I seem to recall that people have come up with ways to set up an environment > which can contain mutable objects of this sort. > > -pd > >> On 6 Dec 2019, at 10:05 , Rainer M Krug wrote: >> >> Hi >&

Re: [R-pkg-devel] Package write access for storing new files

2019-12-06 Thread Rainer M Krug
ory. But for CRAN I believe you will need to obtain some kind > of user confirmation at least once to allow this behaviour. Best, Greg. > > Sent from my iPhone > >> On 6 Dec 2019, at 08:43, Rainer M Krug wrote: >> >> Hi >> >> I am writing a

[R-pkg-devel] CRAN submission with "possibly unsafe calls" or alternative approach?

2019-12-06 Thread Rainer M Krug
ames(dmdScheme) [1] "Experiment" "Genus""Treatments" "Measurement" [5] "DataExtraction" "DataFileMetaData" > names(dmdScheme::dmdScheme) NULL > ``` Is there a way, that I can change the value of dmdScheme:

[R-pkg-devel] Package write access for storing new files

2019-12-06 Thread Rainer M Krug
cate things. Thanks, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Orcid ID: -0002-7490-0066 Department of Evolutionary Biology and Environmental Studies University of Zürich Office Y34-J-74 Winterthurerstrasse 190 807

Re: [R-pkg-devel] Package dependency graphs of packages in development (local)

2019-05-09 Thread Rainer M Krug
ee above). Rainer ``` > On 9 May 2019, at 13:16, Gábor Csárdi wrote: > > It fails to download package metadata. Maybe your internet access is > restricted? > > Gabor > > On Thu, May 9, 2019 at 12:12 PM Rainer M Krug wrote: >> >> But I don’t get it to run. >

Re: [R-pkg-devel] Package dependency graphs of packages in development (local)

2019-05-09 Thread Rainer M Krug
tp_error(resp)) : Not Found (HTTP 404). Could not load or update metadata cache. If you think your local cache is broken, try deleting it with `meta_cache_cleanup()`, or the `$cleanup()` method. d> I get an error. Suggestions? Rainer  > On 9 May 2019, at 12:20, Rainer M Krug

Re: [R-pkg-devel] Package dependency graphs of packages in development (local)

2019-05-09 Thread Rainer M Krug
Thanks. This sounds like a really useful package - I’ll check it out. > On 9 May 2019, at 12:15, Maëlle SALMON wrote: > > Could https://github.com/jimhester/itdepends help? > > Maëlle. > Den torsdag 9 maj 2019 12:10:14 CEST, Rainer M Krug skrev: > > > Thanks Ga

Re: [R-pkg-devel] Package dependency graphs of packages in development (local)

2019-05-09 Thread Rainer M Krug
ot;" > #> 5 r-lib/crancache Imports crancache >=0.0.0.9001 > #> 6 crayon Imports crayon """" > #> 7 DBI Imports DBI """" > #> 8 descImports desc >=1.1.1.900

[R-pkg-devel] Package dependency graphs of packages in development (local)

2019-05-09 Thread Rainer M Krug
GitHub and a drat repo), and I would like to look at the package dependencies BEFORE submitting to CRAN. Is there a tool which allows me to plot a dependency graph for my local package? Thanks, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl

Re: [R-pkg-devel] Checking for future file timestamps - warning with worldclockapi HTTP status 403 Site Disabled

2019-03-19 Thread Rainer M Krug
k.R#L457 > > G. > > On Tue, Mar 19, 2019 at 11:11 AM Rainer M Krug wrote: >> >> Can anyone confirm if this has been fixed? I would like to remove the >> _R_CHECK_SYSTEM_CLOCK_=0 but would like to know in advance. >> >> Thanks >> >> Rainer

Re: [R-pkg-devel] Checking for future file timestamps - warning with worldclockapi HTTP status 403 Site Disabled

2019-03-19 Thread Rainer M Krug
nk perhaps "stealth fixed" may be more appropro since it's not >>> in SVN logs, Bugzilla nor noted prominently in any of the various NEWS* >>> files. >>>>>>> >>>>>>> Then there's the "why was the core R inst

Re: [R-pkg-devel] Checking for future file timestamps - warning with worldclockapi HTTP status 403 Site Disabled

2019-03-07 Thread Rainer M Krug
> [...] > > > > ## Ralf Herold > ## mailto: ralf.her...@mailbox.org [S/MIME] > ## https://paediatricdata.eu/ > > __ > R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-10 Thread Rainer M Krug
> been a build in the past 24 hours. That solves the problem adequately > for my purposes without adding any burden to CRAN. Hopefully it works > for your purposes too. I haven’t thought about the CRON job for TravisCI - good point. I will activate it straight away. Thanks, Rainer >

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-06 Thread Rainer M Krug
ylmer Fisher > The plural of anecdote is not data. ~ Roger Brinner > The combination of some data and an aching desire for an answer does not > ensure that a reasonable answer can be extracted from a given body of data. ~ > John Tukey > //////

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-05 Thread Rainer M Krug
gges >>>>>>> >>>>>>> >>>>>>> >>>>>>> On 05.09.2018 09:28, Rainer Krug wrote: >>>>>>>> Hi >>>>>>>> I have a package at GitHub (https://github.com/rkrug/ROriginStamp) &g

Re: [R-pkg-devel] Submission to CRAN when package needs personal data (API key)

2018-09-05 Thread Rainer M Krug
question: >> Is there a way of storing the API key encrypted, so that only the CRAN test >> servers can decrypt it, or is there another way can steal with this? >> Thanks, >> Rainer >> -- >> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation

Re: [R-pkg-devel] Building my R package: issue when importing two functions with the same name

2018-08-07 Thread Rainer M Krug
Gianmarco_Alberti4 >> http://cainarchaeology.weebly.com/ >> ** >> [[alternative HTML version deleted]] >> __ >> R-package-devel@r-project.org mailing list >> https://stat.ethz.c

Re: [R-pkg-devel] Building my R package: issue when importing two functions with the same name

2018-08-07 Thread Rainer M Krug
gt; University of Malta >>> >>> (starting from 3rd September 2018) >>> Lecturer in Spatial Forensics >>> Department of Criminology >>> Faculty for Social Wellbeing >>> University of Malta >>> https://www.researchgate.net/profile/Gianmarco_Alb

Re: [R-pkg-devel] plot graph (png, svg, eps, pdf, vdx, ok tikz) to device

2018-05-15 Thread Rainer M. Krug
>>• it is a raster format and I would prefer a vector format. >> >> My question is therefore: >> >>• Is there a way to display any of the vector formats in a graphics device >> in R? • Can I pipe stdout (the result from the call to plantuml) d

Re: [R-pkg-devel] plot graph (png, svg, eps, pdf, vdx, ok tikz) to device

2018-05-15 Thread Rainer M Krug
re: > > • Is there a way to display any of the vector formats in a graphics > device in R? > • Can I pipe stdout (the result from the call to plantuml) directly > into the device (or through any function) without having to create an > intermediate file? > > #

Re: [R-pkg-devel] Adding non-exported functions in an extra environment in new S4 object

2016-01-21 Thread Rainer M Krug
Rainer M Krug writes: > Hi > > I have a package named asm which contains many non-exported functions > which are all starting with "for.eq.". > > I also have an S4 class ASM which, when a new object asm of class ASM is > created by using the function newASM(

[R-pkg-devel] Adding non-exported functions in an extra environment in new S4 object

2016-01-21 Thread Rainer M Krug
mulation executed by the sim() function, which attaches the equations environment at the beginning and detaches it at the end. This enables me to have different simulation objects with different functions. Thanks, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology

Re: [R-pkg-devel] install from github

2015-12-03 Thread Rainer M Krug
; library(extremeStat) > instgithub("talgalili/installr") > instgithub("hadley/readxl") > } > > > > > [[alternative HTML version deleted]] > > __ >

Re: [R-pkg-devel] Build fails on Mavericks

2015-11-19 Thread Rainer M Krug
ebrew? The path looks very much like homebrew. If yes, try installing readline From homebrew. Cheers, Rainer > > Duncan Murdoch > > __________ > R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel -- Rainer M. Krug, PhD (Conservation E

Re: [R-pkg-devel] R CMD check for a package which depends on not installed other package

2015-08-26 Thread Rainer M Krug
Uwe Ligges writes: > On 26.08.2015 12:23, Rainer M Krug wrote: >> Hi >> >> I am working on two packages, where one (EnergyBalance) contains >> general functions and the second package (EnergyBalancePaper) contains >> the data and the analysis of this

[R-pkg-devel] R CMD check for a package which depends on not installed other package

2015-08-26 Thread Rainer M Krug
l in the command, or should I define a .Rprofile in the current diractory? What is the best approach in such a situation? Thanks, Rainer -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbo