Re: [R-pkg-devel] [External] RcmdrPlugin.HH_1.1-48.tar.gz

2024-03-06 Thread Joshua Ulrich
want to manually list your exports in the NAMESPACE file > > (which can get tedious) or generate it (which takes additional > > dependencies and build steps), you can use exportPattern('^[^\\.]') to > > export everything except objects with a name starting with a period: >

Re: [R-pkg-devel] Changing package maintainers

2024-02-08 Thread Joshua Ulrich
R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel -- Joshua Ulrich | about.me/joshuaulrich FOSS Trading | www.fosstrading.com __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] LICENSE file in an R package for CRAN submission

2023-08-16 Thread Joshua Ulrich
uele-cordano-31995333 > > GitHub: https://github.com/ecor > > > > [[alternative HTML version deleted]] > > > > __ > > R-package-devel@r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-package-devel > > __ > R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel -- Joshua Ulrich | about.me/joshuaulrich FOSS Trading | www.fosstrading.com __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Segmentation Fault cause 'memory not mapped' on Debian only

2023-04-21 Thread Joshua Ulrich
see them, rerun with: --leak-check=full --show-leak-kinds=all > ==2273761== > ==2273761== ERROR SUMMARY: 43 errors from 39 contexts (suppressed: 0 from 0) > > That probably warrants a few more close looks. > > Hth, Dirk > > -- > dirk.eddelbuettel.com | @eddelbuettel | e

Re: [R-pkg-devel] Replacing dplyr by stats functions

2023-04-19 Thread Joshua Ulrich
the package. That should help avoid these types of conflicts. > Best regards > > Adam > > Wysłane z aplikacji Poczta dla systemu Windows > > > [[alternative HTML version deleted]] > > ______ > R-package-devel@r-pr

Re: [R-pkg-devel] Tools for reducing dependencies?

2023-03-12 Thread Joshua Ulrich
_ > R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel -- Joshua Ulrich | about.me/joshuaulrich FOSS Trading | www.fosstrading.com __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

[R-pkg-devel] Rd cross-references to Suggested package

2022-10-10 Thread Joshua Ulrich
_R_CHECK_FORCE_SUGGESTS_=false for R CMD check --as-cran. I didn't notice a difference in output from R CMD check. Both runs had: * checking Rd cross-references ... NOTE Package unavailable to check Rd xrefs: ‘timeSeries’ I'd appreciate any thoughts and/or pointers to ot

Re: [R-pkg-devel] Searching examples in source code

2022-05-08 Thread Joshua Ulrich
u could search for occurrences of commands in R code. > > Ben > > __ > R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel -- Joshua Ulrich | about.me/joshuaulrich FOSS Trading | www.fo

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

2021-01-31 Thread Joshua Ulrich
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 dozen > > R packages. I mig

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

2021-01-31 Thread Joshua Ulrich
gl. At minimum, I could help you do it. Yes, git mv will retain the file history. > Duncan Murdoch > > __ > R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel -- Joshua Ulrich | about.me/joshuaulrich FOSS Trading | w

Re: [R-pkg-devel] unexpected CRAN pretest failure

2020-12-17 Thread Joshua Ulrich
F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-package-devel&data=04%7C01%7Cbart-jan.vanrossum%40wur.nl%7C7cee644adb0a4aebb06008d8a28746e3%7C27d137e5761f4dc1af88d26430abb18f%7C0%7C0%7C637438049192516675%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJ

Re: [R-pkg-devel] How to remove rJava from Ecfun when it's not called directly or indirectly

2020-10-11 Thread Joshua Ulrich
OK > * checking for executable files ... OK > * checking for hidden files and directories ... OK > * checking for portable file names ... OK > * checking whether package 'Ecfun' can be installed ... ERROR > Installation failed. > See 'C:/Users/spenc/Documents/R/Ecfun/Ecf

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

2020-09-18 Thread Joshua Ulrich
release/R-exts.html#Registering-S3-methods Best, Josh > > Dirk > > -- > https://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org > > __ > R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/lis

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

2020-09-13 Thread Joshua Ulrich
> > > > Best, > > David > > > > [[alternative HTML version deleted]] > > > > __ > > R-package-devel@r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-package-devel > > > > __ > R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel -- Joshua Ulrich | about.me/joshuaulrich FOSS Trading | www.fosstrading.com __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

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

2020-09-04 Thread Joshua Ulrich
On Fri, Sep 4, 2020 at 9:20 AM Joshua Ulrich wrote: > > Hi Rainer, > > You could set an environment variable with the API key, and only run > the tests if the variable is set. > Sorry, I missed that you're already doing this. I confirm that it works for CRAN. I also set

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

2020-09-04 Thread Joshua Ulrich
asse 190 > 8075 Zürich > Switzerland > > Office: +41 (0)44 635 47 64 > Cell: +41 (0)78 630 66 57 > email: rainer.k...@uzh.ch > rai...@krugs.de > Skype: RMkrug > > PGP: 0x0F52F982 > > __

Re: [R-pkg-devel] visible binding for '<<-' assignment

2020-09-03 Thread Joshua Ulrich
they won't need to deal with all the Unicode escape > >>> sequences after that. > >>> > >>> However, this is getting rejected by the CRAN checks with the message: > >>> > >>> * checking R code for possible problems ... [4s] NOTE >

Re: [R-pkg-devel] url checks not working for me

2020-08-26 Thread Joshua Ulrich
> 200 Message: OK URL: https://www.accelting.com/ (moved to > > > https://accelting.com/) From: inst/doc/GGIR.html Status: 200 Message: OK > > > URL: https://www.physiology.org/doi/10.1152/japplphysiol.00421.2014 > > (moved > > > to https://journals.physiology.org/doi/10.1152/japplphysiol.00421.2014) > > > From: inst/CITATION Status: 200 Message: OK > > > > > > [[alternative HTML version deleted]] > > > > > > __ > > > R-package-devel@r-project.org mailing list > > > https://stat.ethz.ch/mailman/listinfo/r-package-devel > > > > > > [[alternative HTML version deleted]] > > __ > R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel -- Joshua Ulrich | about.me/joshuaulrich FOSS Trading | www.fosstrading.com __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Etiquette for package submissions that do not automatically pass checks?

2020-08-14 Thread Joshua Ulrich
m Aug 14 to Aug 24, 2020 (CRAN team vacation and maintainance work)" > Alternatively, you could export those troublesome functions from your > package but document them as for internal use only. Renaming them with > a name starting with "." will make them harder for users to s

Re: [R-pkg-devel] help troubleshooting travis-ci issues?

2019-08-04 Thread Joshua Ulrich
tory -y "ppa:marutter/rrutter3.5" sudo add-apt-repository -y "ppa:marutter/c2d4u3.5" The R C API changed between R-3.4.x and R-3.5.x, which created incompatibility in packages installed using different versions. Any R > 3.6.x should use the "ppa:*3.5" PPAs. > cheers > Ben Bolker > > >

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

2019-02-23 Thread Joshua Ulrich
at I receive: > > 'library' or 'require' call to 'doParallel' in package code. > Please use :: or requireNamespace() instead. > See section 'Suggested packages' in the 'Writing R Extensions' manual. > > [[alternative HTML v

Re: [R-pkg-devel] nativeRoutines error when using roxygen2 in RStudio

2018-11-07 Thread Joshua Ulrich
L Error in nativeRoutines[[lib]] <- routines : > > object > > >>>> 'nativeRoutines' not found Calls: > > suppressPackageStartupMessages ... > > >>>> withCallingHandlers -> -> load_all -> load_dll > >

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

2018-09-08 Thread Joshua Ulrich
Germany) > > University of Zürich > > Cell: +41 (0)78 630 66 57 > email: rai...@krugs.de > Skype: RMkrug > > PGP: 0x0F52F982 > > > > > __________ > R-package-devel@r-project.org mailing list > ht

Re: [R-pkg-devel] Warnings and error message in CRAN Package Check Results

2018-03-24 Thread Joshua Ulrich
; If you really need an int in that argument, you'll need to typecast or write >> your own pow() function. >> >> The Fedora warning seems self explanatory: >> >> Mstep.cpp:62:69: warning: explicitly assigning value of variable of type >> '

Re: [R-pkg-devel] Help with CRAN error

2018-02-04 Thread Joshua Ulrich
stigation on your own and come back with more specifics. > Sincerely, > > Dev > > > -- > Dev Chakraborty, PhD > Professor of Radiology retired > > [[alternative HTML version deleted]] > > __ > R-package-d

Re: [R-pkg-devel] Help with correcting error in package

2018-02-03 Thread Joshua Ulrich
> > *> pkgname <- "RJafroc"* > > *> source(file.path(R.home("share"), "R", "examples-header.R"))* > > > Thanking you in advance for any help rendered, > > Sincerely, > > Dev > > -- > Dev Chakraborty, PhD >

Re: [R-pkg-devel] Conditionally register method with generic in other package

2018-01-22 Thread Joshua Ulrich
For posterity, the solution I employed did not register the method as a formal S3 method. Functionality in package B was unchanged as long as package B was loaded and attached... which was good enough for my purposes. On Wed, Dec 6, 2017 at 6:45 AM, Joshua Ulrich wrote: > I have a feelin

Re: [R-pkg-devel] Conditionally register method with generic in other package

2017-12-07 Thread Joshua Ulrich
Bill, Duncan, Thanks for the replies. On Wed, Dec 6, 2017 at 12:51 PM, Duncan Murdoch wrote: > On 06/12/2017 8:44 AM, Bill Denney wrote: >> >> >>> On Dec 6, 2017, at 07:45, Joshua Ulrich wrote: >>> >>> To avoid excessive dependencies, I would like to o

[R-pkg-devel] Conditionally register method with generic in other package

2017-12-06 Thread Joshua Ulrich
Are there other alternatives? Thanks, Josh -- Joshua Ulrich | about.me/joshuaulrich FOSS Trading | www.fosstrading.com R/Finance 2018 | www.rinfinance.com __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] Installing Tests with R Build

2017-11-25 Thread Joshua Ulrich
On Thu, Nov 23, 2017 at 10:05 AM, Bill Denney wrote: > Hi Joshua and Dirk, > >> On Nov 23, 2017, at 10:17, Dirk Eddelbuettel wrote: >> >> >> On 23 November 2017 at 08:07, Joshua Ulrich wrote: >> | On Wed, Nov 22, 2017 at 4:21 PM, Bill Denney wrote: >> |

Re: [R-pkg-devel] Installing Tests with R Build

2017-11-23 Thread Joshua Ulrich
t/ directory (e.g. inst/tests/). That directory will be copied to the top-level of the installed package directory. > Thanks, > > Bill > __ > R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-d

Re: [R-pkg-devel] spurious rchk warning

2017-11-21 Thread Joshua Ulrich
r PROTECT and UNPROTECT calls inside the for loop are leaving 'ans' unprotected at some point. Consider using PROTECT_WITH_INDEX() and REPROTECT() instead. > Thanks, > > > Patrick > > __ > R-package-devel@r-project.org ma

Re: [R-pkg-devel] Storing Data Used in an Example

2017-09-20 Thread Joshua Ulrich
moral universe is long, but it bends toward justice" -MLK Jr. > > __ > R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel -- Joshua Ulrich | about.me/joshuaulrich FOSS Trading | www.fosstrad

Re: [R-pkg-devel] loadMethod() not available with Rscript

2017-09-20 Thread Joshua Ulrich
> > > Van 14 tot en met 19 december 2017 verhuizen we uit onze vestiging in > Brussel naar het Herman Teirlinckgebouw op de site Thurn & Taxis. > Vanaf dan ben je welkom op het nieuwe adres: Havenlaan 88 bus 73, 1000 > Brussel. >

Re: [R-pkg-devel] Errors in Package Check Results due to package in Suggestions

2017-09-19 Thread Joshua Ulrich
Joachim Prölß, Martina Saurin (komm.) > _ > > SAVE PAPER - THINK BEFORE PRINTING > > ______ > R-package-devel@r-project.org mailing list > https://stat.

[R-pkg-devel] Need to call strptime() with specific LC_TIME

2017-04-10 Thread Joshua Ulrich
"LC_TIME", locale = "C") on.exit(Sys.setlocale(category = "LC_TIME", locale = lc_time) Thanks! -- Joshua Ulrich | about.me/joshuaulrich FOSS Trading | www.fosstrading.com R/Finance 2017 | www.rinfinance.com __ R-package-

Re: [R-pkg-devel] robust download function in R (similar to wget)?

2016-08-25 Thread Joshua Ulrich
software by the user. > > regards > Lucas > > [[alternative HTML version deleted]] > > __ > R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel -- Joshua Ulrich |

Re: [R-pkg-devel] Handling Not-Always-Needed Dependencies?

2016-08-02 Thread Joshua Ulrich
personally would not want install.packages() to install packages I'm unlikely to actually use. It's also not clear to me how importing rarely used functions causes bloat, but installing all packages for all rarely-used functions does not cause bloat. > I am interested

Re: [R-pkg-devel] [R-SIG-Finance] [VC++ calling R] How to create a real-time interactive ticking time-series chart using dygraph via RInside?

2016-04-11 Thread Joshua Ulrich
> > > > > > > [[alternative HTML version deleted]] > > > ___ > r-sig-fina...@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-sig-finance > -- Subscriber-posting only. If you wan

Re: [R-pkg-devel] Is it possible to reverse engineer a package from the installed library directory ?

2016-03-23 Thread Joshua Ulrich
lhurley.co.uk >> >> [[alternative HTML version deleted]] >> >> __ >> R-package-devel@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-package-devel >> > >

Re: [R-pkg-devel] Class with functions as slots

2015-11-18 Thread Joshua Ulrich
ate > MortgageRate <- function(){ > sato = NULL > new("MortgageRate", > yr30 = function(two = numeric(), ten = numeric(), sato = numeric()) { > 2.25 + (.06 * two) + (.75 * ten) + sato}, > > yr15 = function(two = numeric(), ten = numeric()){ > 1.75 + (.06 * two

Re: [R-pkg-devel] Working with connections - What is correct?

2015-08-11 Thread Joshua Ulrich
R; it is a functional > language. However, some use return() and one finds return(value) in the R > help files. Is it a strict no-no to use return()? > | | With respect to the second, The function can be refactored and reduced > to readRDS(). My question, is using gz file overkill or

Re: [R-pkg-devel] Working with connections

2015-08-09 Thread Joshua Ulrich
s of how the function exits (e.g. because of an error). > -Glenn > __ > R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel -- Joshua Ulrich | about.me/joshuaulrich FOSS Trading | www.fosstrading.com __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] "Imports" for seemingly "base" functions/libraries

2015-07-10 Thread Joshua Ulrich
tive HTML version deleted]] > > ______ > R-package-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-package-devel -- Joshua Ulrich | about.me/joshuaulrich FOSS Trading | www.fosstrading.com __ R-package-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-package-devel

Re: [R-pkg-devel] download.file and https

2015-07-02 Thread Joshua Ulrich
oad.file("http://research.stlouisfed.org/fred2/series/M2/downloaddata/M2.csv";, > : > cannot open URL > 'http://research.stlouisfed.org/fred2/series/M2/downloaddata/M2.csv' >> >> >> >> download.file("http://research.stlouisfed.org/fred2/series/M2