[R-pkg-devel] Re :Re: Internet resources and Errors

2021-09-24 Thread Maëlle SALMON via R-package-devel
We've summarized some advice around graceful packages in this chapter of the HTTP testing in R book: https://books.ropensci.org/http-testing/graceful.html I hope this can help too!  Le ven., sept. 24, 2021 à 17:03, Ben Bolker a écrit:   I think you're not supposed to stop().   You

Re: [R-pkg-devel] Namespace is imported from in YAML header, but attracts Note that is is not imported from

2021-09-23 Thread Maëlle SALMON via R-package-devel
Hello, It's better to get rid of this NOTE, by listing bookdown in VignetteBuilder and Suggests, not Imports see https://blog.r-hub.io/2020/06/03/vignettes/#infrastructure--dependencies-for-vignettes That's actually what you did in another package

Re: [R-pkg-devel] ERROR (re)building vignettes

2021-09-23 Thread Maëlle SALMON via R-package-devel
Dear Christine, Looking at the chunk that causes the error https://github.com/cran/SleepCycles/blob/141186934418af387f0af257e3079af588e72844/vignettes/introduction.Rmd#L50-L56 (via the CRAN mirror maintained by R-hub): * You should not install packages from a vignette. You can add "eval=FALSE"

Re: [R-pkg-devel] Good practice for database with utf-8 string in package

2021-09-17 Thread Maëlle SALMON via R-package-devel
You could also try to submit the package to CRAN with a comment about the NOTE. There is interesting information in https://discuss.ropensci.org/t/note-on-utf-8-strings-by-goodpractice-gp/2165/ Good luck! Ma\\u00eblle Den fredag 17 september 2021 13:01:25 CEST, Enrico Schumann skrev:

Re: [R-pkg-devel] Scrapping R CRAN website from package

2021-07-19 Thread Maëlle SALMON via R-package-devel
Could pkgsearch http://r-hub.github.io/pkgsearch/ help with what you're doing, as it can queries all versions of CRAN packages? See http://r-hub.github.io/pkgsearch/reference/cran_package_history.html for the docs of the function cran_package_history(). It does not scrape CRAN pages, it uses

Re: [R-pkg-devel] URLencode at DESCRIPTION file and citation()

2020-11-03 Thread Maëlle SALMON via R-package-devel
Hello, 1) I found (via GitHub search for DOIs in DESCRIPTION files  https://github.com/search?q=org%3Acran+%3Cdoi+user%3Acran+filename%3ADESCRIPTION=Code=advsearch==) a package with an URL-encoded DOI see

Re: [R-pkg-devel] (no subject)

2020-10-19 Thread Maëlle SALMON via R-package-devel
Hello, Usually such problems with pkgdown will come from your pkgdown configuration. I see (thanks to a search engine :-) and sorry if my search result is wrong ) that you actually write to exclude all articles * your configuration

Re: [R-pkg-devel] Interpret feedback: not write testthat-tests in examples

2020-07-17 Thread Maëlle SALMON via R-package-devel
If you do want to communicate around tests a bit more, without cluttering the manual, you might find the covrpage package interesting  https://yonicd.github.io/covrpage/ It creates a README in the tests folder, with test results, and it can create a vignette with the same content. On dj.,

Re: [R-pkg-devel] Proper CRAN way - How to handle dependency of java jar file?

2020-07-13 Thread Maëlle SALMON via R-package-devel
Regarding where to save the jar file, you might be interested in "app dirs" (via tools::R_user_dir() in R from 4.0, the rappdirs package, the hoardr package) cf https://blog.r-hub.io/2020/03/12/user-preferences/#not-so-temporary-files3 Maëlle. Den tisdag 23 juni 2020 14:56:30 CEST, Rainer M

Re: [R-pkg-devel] Including fonts in an rmarkdown vignette

2020-06-03 Thread Maëlle SALMON via R-package-devel
Hi, I've recently seen an example of a package that provides its own fonts for a vignette. See links in https://blog.r-hub.io/2020/06/03/vignettes/#pretty-vignettes In that same post I link to a workaround I saw on this list

Re: [R-pkg-devel] Documenting raw data

2020-05-12 Thread Maëlle SALMON via R-package-devel
Hello, I don't think you have to (and shouldn't?) document raw data. However, you can use it in examples/tests/etc. using the system.file() command you mention. But maybe you want to export the data? In that case it should be under data/. This chapter of the R packages book might be useful

Re: [R-pkg-devel] CensSpatial package error.

2020-05-12 Thread Maëlle SALMON via R-package-devel
I just wanted to add that is an interesting read on the topic. :-) Den lördag 2 maj 2020 18:27:29 CEST, Max Turgeon skrev: Hi Jos�, The error message is pretty clear: Error in if

Re: [R-pkg-devel] Documentation for non-user-level objects

2020-05-12 Thread Maëlle SALMON via R-package-devel
I see you already got useful answers, but here is a further resource: I wrote a blog post about internal functions earlier this year Best wishes Maëlle. Den söndag 10 maj 2020 23:32:00 CEST, Sapphire Zhou skrev: I met a problem

Re: [R-pkg-devel] Error while checking if Pandoc is available

2019-12-10 Thread Maëlle SALMON via R-package-devel
Furthermore, I think you can simply use rmarkdown::pandoc_available("1.12.3") to answer both questions (is pandoc available, is the particular version or a later version available). Maëlle. Den fredag 6 december 2019 17:30:28 CET, Henrik Bengtsson skrev: Hugh is correct. To clarify,

Re: [R-pkg-devel] Package dependency graphs of packages in development (local)

2019-05-09 Thread Maëlle SALMON via R-package-devel
--- Begin Message --- Could https://github.com/jimhester/itdepends help? Maëlle. Den torsdag 9 maj 2019 12:10:14 CEST, Rainer M Krug skrev: Thanks Gabor. This gives me an impressive long list. Is there a way to see this graphically? Parsing seems to be a long, tedious process. I

[R-pkg-devel] Blog post about R-package-devel

2019-04-11 Thread Maëlle SALMON via R-package-devel
--- Begin Message --- Dear R-package-devel subscribers, We've just published a post about how to get help with R package development on R-hub blog. https://blog.r-hub.io/2019/04/11/r-package-devel/ It features this mailing list and its archives quite prominently. Thanks to the maintainers and

Re: [R-pkg-devel] Re :Re: Re :Re: package cartograflow_0.0.0.9000.tar.gz

2019-04-04 Thread Maëlle SALMON via R-package-devel
--- Begin Message --- I'd recommend reading https://r-pkgs.org/description.html#dependencies (and the rest of the book is very good as well), it'll help you understand why and how to declare dependencies. Den torsdag 4 april 2019 17:05:02 CEST, cartograf...@gmail.com skrev: How I

Re: [R-pkg-devel] Re :Re: Re :Re: package cartograflow_0.0.0.9000.tar.gz

2019-03-27 Thread Maëlle SALMON via R-package-devel
--- Begin Message --- Hi, To be able to run R CMD check on R devel, on top of your local checks, you might want to have a a look at the R-hub package builder that allows you to run R CMD check on several platforms (R versions, OS) for free. You can use the rhub package for that,

Re: [R-pkg-devel] How to debug CRAN errors?

2019-03-14 Thread Maëlle SALMON via R-package-devel
--- Begin Message --- To follow up on the great answers regarding R-hub,- to use R-hub Linux Docker images you can use this brand-new rhub function  https://r-hub.github.io/rhub/reference/local_check_linux.html (untested on Windows)- here's WIP R-hub docs entry about choosing a platform to

Re: [R-pkg-devel] CRAN review

2019-03-13 Thread Maëlle SALMON via R-package-devel
--- Begin Message --- Sorry, the link was removed (by my copy-pasting it wrongly): https://itsalocke.com/cransays/articles/dashboard Den onsdag 13 mars 2019 08:54:00 CET, Maëlle SALMON via R-package-devel skrev: We at Locke Data have made an hourly updated dashboard based on the FTP

Re: [R-pkg-devel] CRAN review

2019-03-13 Thread Maëlle SALMON via R-package-devel
--- Begin Message --- We at Locke Data have made an hourly updated dashboard based on the FTP server CRAN incoming dashboard • cransays | | | | CRAN incoming dashboard • cransays | | | We hope it makes data more accessible whilst reducing load on the FTP server. Maëlle. Den