Re: [R-pkg-devel] Subarchitectures

2021-02-12 Thread Dirk Eddelbuettel
On 11 February 2021 at 11:30, Balasubramanian Narasimhan wrote: | If GNU make is acceptable as a system requirement, you can get any R | configuration/runtime variable in Makevars, e.g. | | R_ARCH=$(shell $(R_HOME)/bin/Rscript -e 'cat(.Platform$r_arch)') You can switch to backticks to not depe

Re: [R-pkg-devel] How to build *-package description from *-package.R files ... and a luser/newbie question about pkgdown

2021-02-12 Thread Georgi Boshnakov
Please note that most rooygen2 users don't call the overview file 'pkgname-package' but just 'pkgname'. Also, these days people mostly use README.md for approximately that purpose and put a very minimal statement in pkgname-package or equivalent. Georgi Boshnakov -Original Message- Fro

Re: [R-pkg-devel] How to build *-package description from *-package.R files ... and a luser/newbie question about pkgdown

2021-02-12 Thread Georgi Boshnakov
Regarding 'pkgdown', can't you just use the default directory , docs/, that pkgdown populates? When you push to your repository, github will automatically regenerate the pkgdown website (for this to work, you need to go to the settings on your github repo and activate building the website). As

Re: [R-pkg-devel] How to build *-package description from *-package.R files ... and a luser/newbie question about pkgdown

2021-02-12 Thread Merlise Clyde, Ph.D.
Chris, I have migrated from Travis CI to using GitHub actions with pkgdown to build websites for packages - see https://ropenscilabs.github.io/actions_sandbox/websites-using-pkgdown-bookdown-and-blogdown.html to set up. The GitHub action doesn’t use Rstudio’s check but does automatically up

Re: [R-pkg-devel] Error occurring only when I submit to CRAN

2021-02-12 Thread Ivan Krylov
On Fri, 12 Feb 2021 09:47:37 -0500 Elysée Aristide wrote: > I did not want to put restrictions. Apologies, I could have phrased this better. If you want the whole of your package to be distributed under the terms of Apache-2.0 or GPL-3 license (at the user's choosing), the following DESCRIPTION

Re: [R-pkg-devel] How to build *-package description from *-package.R files ... and a luser/newbie question about pkgdown

2021-02-12 Thread Chris Evans
Apologies, I think that was clear. Do you or anyone else have an example of a -package.R that Rstudio's check has built into a package documentation file that was well populated and useful? I think that's the key exemplar I am seeking and I'm finding it hard to craft any web search that

Re: [R-pkg-devel] How to build *-package description from *-package.R files ... and a luser/newbie question about pkgdown

2021-02-12 Thread Duncan Murdoch
Just one clarification: On 12/02/2021 9:59 a.m., Chris Evans wrote: [ lots deleted ] - I don't think RStudio supports a "Preview" for the help page for a function (but I might be wrong about this, since I don't use it much). I haven't found it if it is there. I'm guessing you use ESS? No

Re: [R-pkg-devel] How to build *-package description from *-package.R files ... and a luser/newbie question about pkgdown

2021-02-12 Thread Chris Evans
Thanks Duncan, Some comments and hopes for others to follow that lead inline below but great to take from this an overarching idea that I am not just being dumb. More below ... - Original Message - > From: "Duncan Murdoch" > To: "Chris Evans" , "r-package-devel" > > Sent: Friday, 12

Re: [R-pkg-devel] How to build *-package description from *-package.R files ... and a luser/newbie question about pkgdown

2021-02-12 Thread Duncan Murdoch
On 12/02/2021 6:28 a.m., Chris Evans wrote: This feels embarrassingly trivial compared with most of the posts I try to understand here: apologies. I am taking my first clumsy steps to build my own library of source code functions I have created and use a lot and want to share with a few colla

[R-pkg-devel] How to build *-package description from *-package.R files ... and a luser/newbie question about pkgdown

2021-02-12 Thread Chris Evans
This feels embarrassingly trivial compared with most of the posts I try to understand here: apologies. I am taking my first clumsy steps to build my own library of source code functions I have created and use a lot and want to share with a few collaborators. I tried once before, a few years ag

Re: [R-pkg-devel] R package check stuck on “checking use of S3 registration …”

2021-02-12 Thread Tomas Kalibera
On 2/11/21 8:28 AM, Evan Biederstedt wrote: Hi there Creating an R package here which I plan to upload to CRAN. Upon checking the tarball created with `R CMD BUILD`, I try to use `R CMD CHECK` as follows: ``` R CMD CHECK my_package.tar.gz --as-cran ``` This normally works smoothly. However, in

Re: [R-pkg-devel] Error occurring only when I submit to CRAN

2021-02-12 Thread Sokol Serguei
Le 12/02/2021 à 08:45, Elysée Aristide a écrit : > Greetings, > > I submitted my package CDatanet . > Before that I checked (as CRAN) locally on Linux and Windows and I did not > get any error. I only get a note about my address mail (which is normal). >

Re: [R-pkg-devel] Error occurring only when I submit to CRAN

2021-02-12 Thread Ivan Krylov
On Fri, 12 Feb 2021 02:45:02 -0500 Elysée Aristide wrote: > How can I fix this given that I am not able to reproduce the error > locally? Your LaTeX setup seems to have better Unicode support than the one installed on CRAN machines. Try using tools::showNonASCIIfile on all your *.Rd files to fin

[R-pkg-devel] Error occurring only when I submit to CRAN

2021-02-12 Thread Elysée Aristide
Greetings, I submitted my package CDatanet . Before that I checked (as CRAN) locally on Linux and Windows and I did not get any error. I only get a note about my address mail (which is normal). However, when I submitted the package to CRAN, I got a warni