Re: [R-pkg-devel] vignette problems: invisible

2019-02-01 Thread Troels Ring
Thanks a lot - that solved the issue! Best wishes Troels -Oprindelig meddelelse- Fra: Duncan Murdoch Sendt: 1. februar 2019 15:42 Til: Troels Ring ; package-develop Emne: Re: [R-pkg-devel] vignette problems: invisible On 01/02/2019 9:23 a.m., Duncan Murdoch wrote: > On 01/02/201

Re: [R-pkg-devel] vignette problems: invisible

2019-02-01 Thread Troels Ring
By the way: devtools::install_github("troelsring/ABCharge",force=TRUE,build_vignettes = TRUE) didn't help BW Troels Fra: Troels Ring Sendt: 1. februar 2019 12:15 Til: package-develop (r-package-devel@r-project.org) Emne: vignette problems: invisible Dear friends - I

[R-pkg-devel] vignette problems: invisible

2019-02-01 Thread Troels Ring
t; without finding the explanation. Wonder what error I did make: All best wishes Troels Ring, MD [[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] package docu

2019-01-26 Thread Troels Ring
: 26. januar 2019 22:08 Til: Troels Ring ; 'Michael Dewey' ; 'package-develop' Emne: Re: SV: [R-pkg-devel] package docu On 26/01/2019 9:04 a.m., Troels Ring wrote: > Thanks a lot - I tried with prompt(kw) and that warning disappeared > but instead I got another >> checking for code/d

Re: [R-pkg-devel] package docu

2019-01-26 Thread Troels Ring
Thanks a lot - but it is really kw and not Kw everywhere - according to "find in files" etc - thanks a lot for your patience and interest! BW Troels -Oprindelig meddelelse- Fra: Michael Dewey Sendt: 26. januar 2019 15:48 Til: Troels Ring ; 'Duncan Murdoch' ; 'package-deve

Re: [R-pkg-devel] package docu

2019-01-26 Thread Troels Ring
els -Oprindelig meddelelse- Fra: Duncan Murdoch Sendt: 26. januar 2019 14:45 Til: Troels Ring ; 'Michael Dewey' ; 'package-develop' Emne: Re: [R-pkg-devel] package docu On 26/01/2019 8:31 a.m., Troels Ring wrote: > Dear Michael - fantastic: TOTAL is now acknowledged -- so I onl

Re: [R-pkg-devel] package docu

2019-01-26 Thread Troels Ring
: Michael Dewey Sendt: 26. januar 2019 13:17 Til: Troels Ring ; package-develop Emne: Re: [R-pkg-devel] package docu Dear Troels What happens if you add \alias{TOTAL} Michael On 26/01/2019 08:15, Troels Ring wrote: > Dear friends - I'm struggling to get the documentation of my package > c

[R-pkg-devel] package docu

2019-01-26 Thread Troels Ring
Dear friends - I'm struggling to get the documentation of my package correct. The working package is now (with your help!) at devtools::install_github("troelsring/ABCharge") and in its proto version includes only a single dataset "brom.RData" which has two components, a data.frame "brom" and a

Re: [R-pkg-devel] submitting to github

2019-01-25 Thread Troels Ring
. > > More info on adding a remote through shell : > https://help.github.com/articles/adding-an-existing-project-to-github- > using-the-command-line/ More info on Github Desktop : > https://desktop.github.com/ > > Hope this helps > Cheers > Joris > > On Fri, Ja

Re: [R-pkg-devel] submitting to github

2019-01-25 Thread Troels Ring
best Troels Fra: Stefan McKinnon Høj-Edwards Sendt: 25. januar 2019 09:59 Til: Troels Ring ; package-develop Emne: Re: [R-pkg-devel] submitting to github Hej Troels, What exactly are you trying to acheive here? I.e., are you trying to 1) put a new project onto github, or 2) copy

[R-pkg-devel] submitting to github

2019-01-25 Thread Troels Ring
Dear friends - I'm sorry to bother but seem to be unable to interact constructively with github. I try to follow the instructions from Hadley (thanks) - i.e. I have a small trial-project which functions well. Since I have tried many times I start from shell with rm -rf .git and then

[R-pkg-devel] how is RData in /data understood

2019-01-22 Thread Troels Ring
Dear friends - I noticed in Hadley Wickham's comprehensive book on packages under "exported data" that the .RData file in data directory is "containing a single object (with the same name as the file)". However, in the "Writing R extensions" 1.1.6 - when discussing images created by save there is

Re: [R-pkg-devel] problems documenting data sets

2019-01-20 Thread Troels Ring
Thank you so much - this is just the first package I've made so I didn't put it out yet. Will follow your suggestion next time BW Troels -Oprindelig meddelelse- Fra: Martin Morgan Sendt: 20. januar 2019 19:14 Til: Troels Ring ; 'Rolf Turner' Cc: 'package-develop' Emne: Re: [R-pkg

Re: [R-pkg-devel] problems documenting data sets

2019-01-20 Thread Troels Ring
improving the functionalities and see if I eventually get a hunch All best wishes Troels -Oprindelig meddelelse- Fra: Rolf Turner Sendt: 19. januar 2019 23:12 Til: Troels Ring Cc: package-develop Emne: Re: [R-pkg-devel] problems documenting data sets It's hard to be sure without seeing yo

Re: [R-pkg-devel] problems documenting data sets

2019-01-20 Thread Troels Ring
Thanks a lot - I tried your script but it didn't turn up anything like Brom but in one place I had Bromic acid - which I changed to bromic acid to no avail. So I continue trying to find out what goes on BW Troels Fra: Berry Boessenkool Sendt: 19. januar 2019 23:47 Til: Troels Ring ; R

[R-pkg-devel] problems documenting data sets

2019-01-19 Thread Troels Ring
Dear friends – I still get some warning although the package runs just fine. checking for missing documentation entries ... WARNING Undocumented data sets: 'Cl' 'K' 'Na' 'TOTAL' 'WA' 'INPUT' 'Alb' 'Ca' 'Lact' 'Mg' 'PCO2' 'S1' 'Brom' 'pHOBS' All user-level objects in a package

Re: [R-pkg-devel] undocumented data sets

2019-01-14 Thread Troels Ring
Thanks a lot T -Oprindelig meddelelse- Fra: Iñaki Ucar Sendt: 14. januar 2019 15:50 Til: Troels Ring Cc: package-develop Emne: Re: [R-pkg-devel] undocumented data sets See an example with roxygen2: https://github.com/r-quantities/errors/blob/master/R/data.R And how

Re: [R-pkg-devel] RData files with identical objects in package

2019-01-14 Thread Troels Ring
Thanks a lot - for my purpose right now I seem to prosper from not loading lazy All best Troels -Oprindelig meddelelse- Fra: peter dalgaard Sendt: 14. januar 2019 15:17 Til: Troels Ring Cc: Michael Dewey ; package-develop Emne: Re: [R-pkg-devel] RData files with identical objects

[R-pkg-devel] undocumented data sets

2019-01-14 Thread Troels Ring
Dear friends - with your help I'm almost through developing a package and Ctrl-shit-E now only has a single warning > checking for missing documentation entries ... WARNING Undocumented data sets: 'Cl' 'K' 'Na' 'TOTAL' 'WA' 'INPUT' 'Alb' 'Ca' 'Lact' 'Mg' 'PCO2' 'S1' 'Brom' 'pHOBS'

Re: [R-pkg-devel] RData files with identical objects in package

2019-01-13 Thread Troels Ring
files. All best wishes Troels -Oprindelig meddelelse- Fra: peter dalgaard Sendt: 13. januar 2019 22:00 Til: Troels Ring Cc: Michael Dewey ; package-develop Emne: Re: [R-pkg-devel] RData files with identical objects in package I think it is illegal if you use the lazyload database, b

Re: [R-pkg-devel] RData files with identical objects in package

2019-01-13 Thread Troels Ring
ial munual - but it is long (wrting r extensions) -BW Troels -Oprindelig meddelelse- Fra: Michael Dewey Sendt: 13. januar 2019 12:56 Til: Troels Ring ; package-develop Emne: Re: [R-pkg-devel] RData files with identical objects in package Dear Troels Perhaps I misunderstand what you are tr

Re: [R-pkg-devel] RData files with identical objects in package

2019-01-13 Thread Troels Ring
ddelelse- Fra: Duncan Murdoch Sendt: 13. januar 2019 12:46 Til: Troels Ring ; package-develop Emne: Re: [R-pkg-devel] RData files with identical objects in package On 13/01/2019 3:38 a.m., Troels Ring wrote: > Dear friends - I have a package under creation making heavy > calculati

[R-pkg-devel] RData files with identical objects in package

2019-01-13 Thread Troels Ring
Dear friends - I have a package under creation making heavy calculations on chemical/clinical data and I plan to include as "examples" the use of some literature data used in my papers. To illustrate what then occurs, I made two RData files consisting only of x and y with different values for x

Re: [R-pkg-devel] using @inheritParams in documenting data

2019-01-12 Thread Troels Ring
s a lot for your patience Troels -Oprindelig meddelelse- Fra: Dirk Eddelbuettel På vegne af Dirk Eddelbuettel Sendt: 12. januar 2019 13:45 Til: Troels Ring Cc: package-develop Emne: Re: [R-pkg-devel] using @inheritParams in documenting data Hi Troels, Always good to see someone work

Re: [R-pkg-devel] using @inheritParams in documenting data

2019-01-12 Thread Troels Ring
. januar 2019 14:28 Til: Troels Ring Cc: package-develop Emne: Re: [R-pkg-devel] using @inheritParams in documenting data Hi Troels, If you want to create a R package (using roxygen2), I would highly recommend you to read Hadley Wickham's book on the topic. The book is easy, short, practical

[R-pkg-devel] using @inheritParams in documenting data

2019-01-11 Thread Troels Ring
Dearfriends , with your help I'm rapidly improving package development. When documenting data, I seem to be helped mpst by making the rda directly from RStudio via file, new file, R documentation then choosing data. However, my data files have a lot of params, so I thought I might use

Re: [R-pkg-devel] NAMESPACE importFrom("stats", "uniroot")

2019-01-11 Thread Troels Ring
Thanks a lot for your help - now it is fine! BW Troels -Oprindelig meddelelse- Fra: Iñaki Ucar Sendt: 11. januar 2019 18:37 Til: Troels Ring Emne: Re: [R-pkg-devel] NAMESPACE importFrom("stats", "uniroot") See an example of usage here: https://github.com/

[R-pkg-devel] NAMESPACE importFrom("stats", "uniroot")

2019-01-11 Thread Troels Ring
Dear friends - I'm slowly learning to make packages in RStudio and it seems impressive. I managed now to have my acidbase package pass the check-package test with this result > checking R code for possible problems ... NOTE pH_general: no visible global function definition for 'uniroot'

[R-pkg-devel] objects are masked _by_ '.GlobalEnv'

2019-01-10 Thread Troels Ring
0 # which is wrong and belongs to another included dataset. How did that happen to be caught in globalenvironment, how can I avoid that and get rid # of it? I can see I need to know more about environments. What do you think happens? All best wishes Troels Ring, MD Aalborg [[altern