[R-pkg-devel] .OnLoad v .OnAttach

2023-09-22 Thread Jonathan Godfrey
Hello all, An issue has been raised for my BrailleR package. https://github.com/ajrgodfrey/BrailleR/issues/97#issuecomment-1732136521 I do make use of an .OnLoad() function for various tasks, including creation of a folder to put stuff in. The user gets to choose if this is temporary or fixed

Re: [R-pkg-devel] tinyfiledialogs - The bindings are ready, but I need help to make of package of it

2023-09-22 Thread Paul Smith
Hi Guillaume As Ivan says there is a fair bit to packaging but not to much when you get used to it. Since your email I've put a mostly untested package wrapping tingfiledialogs via Rcpp on github https://github.com/waternumbers/tinyfiledialogR It is far from fully tested but might help. c

Re: [R-pkg-devel] R interface to tinyfiledialog

2023-09-22 Thread tinyfiledialogs
I did my bindings using the easy .C interface did you use the morecomplete .CALL ? On 9/22/23 00:08, Paul Smith wrote: > Hi, > > Following your email to the r-package-dev list I tidied up some > previous work I did with an R wrapper for the tinyfiledialog C code > into a package which can be fou

Re: [R-pkg-devel] tinyfiledialogs - The bindings are ready, but I need help to make of package of it

2023-09-22 Thread Brad Eck
Dear Guillaume - Here is a minimal example of an R package that uses C source: https://github.com/bradleyjeck/fancyRpkg As the timestamps show, I made this a few years ago, so some things might not conform to the current version of Writing R Extensions. But it should get you started. The motiva