[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 @inheritParam

Re: [R-pkg-devel] R CMD INSTALL succeeds while R CMD BUILD fails

2019-01-11 Thread Uwe Ligges
Please report. Best, Uwe Ligges On 11.01.2019 22:15, Sam Albers wrote: Oh you are totally right. And similarly, an .rds file bonks with R CMD build: $ R CMD build foo.rds * checking for file 'foo.rds/DESCRIPTION' ... OK * preparing 'foo.rds': * checking DESCRIPTION meta-information ... OK * ch

Re: [R-pkg-devel] R CMD INSTALL succeeds while R CMD BUILD fails

2019-01-11 Thread Sam Albers
Oh you are totally right. And similarly, an .rds file bonks with R CMD build: $ R CMD build foo.rds * checking for file 'foo.rds/DESCRIPTION' ... OK * preparing 'foo.rds': * checking DESCRIPTION meta-information ... OK * checking for LF line-endings in source and make files and shell scripts * che

[R-pkg-devel] shadowing a method from the stats package

2019-01-11 Thread qxacur
Hello, I created a package for working with a new probability distribution called unifed. The source code can be found at https://gitlab.com/oquijano/unifed . This distribution is suitable for GLMs. I have included a a function called unifed in the package that returns a family that can b

Re: [R-pkg-devel] R CMD INSTALL succeeds while R CMD BUILD fails

2019-01-11 Thread Hong Ooi via R-package-devel
--- Begin Message --- It looks like the ".rdata" in your package name is confusing R CMD BUILD into thinking there is a .rdata file involved. Consider renaming it to "bcmaps.data" or something similar. -Original Message- From: R-package-devel On Behalf Of Sam Albers Sent: Friday, 11 J

[R-pkg-devel] R CMD INSTALL succeeds while R CMD BUILD fails

2019-01-11 Thread Sam Albers
Hello all, I am experiencing some issues with building a package that we are hosting on GitHub. The package itself is quite large. It is a data package with a bunch of spatial files stored as .rds files. The repo is located here: https://github.com/bcgov/bcmaps.rdata If we clone that package to

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-simmer/simmer/blob/f75e52fe1

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

2019-01-11 Thread Iñaki Ucar
On Fri, 11 Jan 2019 at 17:31, Troels Ring wrote: > > 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_

[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' U