Re: [R-pkg-devel] R CMD check --as-cran problem

2019-01-12 Thread Dirk Eddelbuettel
On 11 January 2019 at 22:51, Wang, Zhu wrote: | ** testing if installed package can be loaded | Error: package or namespace load failed for 'bujar' in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): | there is no package called 'Matrix' | Error: loading failed | Execution hal

Re: [R-pkg-devel] check works in ubuntu linux, but get debian-CRAN C++ error

2019-01-12 Thread Dirk Eddelbuettel
Hi Rob, On 12 January 2019 at 15:40, Robert McCulloch wrote: | checking whether the C++ compiler works... no That line is weird. It is difficult to debug from afar, and I bemoan that Kurt's system has no equivalent Docker container (or alike) to make it more reproducible. But _something_ is u

[R-pkg-devel] check works in ubuntu linux, but get debian-CRAN C++ error

2019-01-12 Thread Robert McCulloch
Folks, I am running Ubuntu: $ lsb_release -a LSB Version: core-9.20170808ubuntu1-noarch:printing-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch Distributor ID: Ubuntu Description:Ubuntu 18.04.1 LTS Release:18.04 Codename: bionic #

[R-pkg-devel] R CMD check --as-cran problem

2019-01-12 Thread Wang, Zhu
I am trying to update an R package but there was some problem illustrated below. The current version of the package appears to be fine on CRAN: https://cran.r-project.org/web/checks/check_results_bujar.html When R checked the package on a Linux system with R 3.5.2, I had no problem, but the f

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

2019-01-12 Thread qxacur
Hi Joris,     thank you for your reply.     I re-read the CRAN policy after I saw your reply and you are right, I do not need permission for this.     About the search PATH. unifed will always be attached after stats, so I think the unifed function would always be found before the one in stats (

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

2019-01-12 Thread Troels Ring
Hi Dirk - thank you for your kind mail - I can see I better follow the basic ways! Also since I seem by my shortcuts to have accomplished a major problem: I had two *.RData files with similar variables of same names in /data - if I included both and had no rda files to document data, I had this pre

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

2019-01-12 Thread Troels Ring
Thanks a lot! I stumbled over the RStudio way of producing *.rda files for data sets individually instead of making a *.R file as Hadley writes in the book if I understand it correctly. It certainly is fun to find out about !! All best wishes Troels Fra: Alexandre Courtiol Sendt: 12. ja

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

2019-01-12 Thread Alexandre Courtiol
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 and legally free (here: http://r-pkgs.had.co.nz/). If you follow it step by step, everything should work fine. For anything not

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

2019-01-12 Thread Joris Meys
Hi, technically you don't need permission for this. You only need permission if you tamper with the namespace of the stats package, which you don't. You just hide a function from another package, which is rather common actually (eg dplyr::lag() and stats::lag() ). Then again, I'm not sure this wi

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

2019-01-12 Thread Dirk Eddelbuettel
Hi Troels, Always good to see someone work on packaging with so much energy. On 12 January 2019 at 08:46, Troels Ring wrote: | BUT where and how to put the @inheritParams CMB I cannot find documented. | Otherwise it seems to run OK I fear you are getting confused between 'roxygen2' and base R.