Just don't run those examples on machines lacking the Suggests packages.
With roxygen2 it's as easy as @examplesIf requireNamespace(p, quietly=TRUE).
On Thu, May 8, 2025, 8:19 AM Juan Antonio Garcia Martin <
ja.gar...@cnb.csic.es> wrote:
> Dear mantainers,
>
> I have a question, since one of my
Hi Mat, glancing at what I believe to be your package sources [1]
You have non-R exposition in your \examples{...}. Examples are code --
you should be able to run them like any other code.
Moreover, they should be self-contained -- expecting the user to
create 'oildata' themselves won't work.
Wh
data.table is doing the same in a number of places, Ivan even went so far
as to pin down a specific SVN commit for those as well:
#if R_VERSION < R_Version(4, 5, 0) || R_SVN_REVISION < 86702
# define isDataFrame(x) isFrame(x) // #6180
#endif
https://github.com/Rdatatable/data.table/blob/09090480
Do you want to use instead of your macros?
https://pubs.opengroup.org/onlinepubs/009695399/basedefs/stdbool.h.html
On Mon, Mar 31, 2025, 12:37 AM Jerome Braun
wrote:
> Hi!
>
> I'm currently the maintainer of AlgDesign, though my C skill is clearly a
> little too low for the task.
>
> It has
Here are about 60 CRAN packages discussing sysdata in their Rd files:
https://github.com/search?q=org%3Acran+path%3A.Rd+%2F%28%5B%5E%7B+%5D%7C%5B%5Ed%5D%5C%7B%29%5Cs*sysdata%2F&type=code
You might take a cue from them. Indeed \keyword{internal} is common there.
On Thu, Mar 20, 2025 at 9:57 AM Ke
nd
> this, for example:
>
> https://github.com/cran/cookies/blob/eb72bda92734d7537061e008191c2041dbe49dff/inst/js/js.cookie.min.js
>
> On Fri, 21 Feb 2025 09:06 AM Michael Chirico
> wrote:
>
> > You might have a look at those. To Duncan's point, note there are a
Here are 2,800 JavaScript files in CRAN packages:
https://github.com/search?q=org%3Acran+path%3Amin.js+-path%3ALICENSE.txt&type=code
You might have a look at those. To Duncan's point, note there are also
0 min.js files:
https://github.com/search?q=org%3Acran+path%3Amin.js+-path%3ALICENSE.txt&typ
Actually, it looks like R CMD check has _intended_ to just skip in the
case the website is misbehaving:
https://github.com/r-devel/r-svn/blob/3578a3f858136a8abcd2f708f38a8dff6225ec42/src/library/tools/R/check.R#L549-L552
My guess is this test should be improved, currently we get (logical)
NA if t
You haven't shared enough info to help well, but it looks like you use
package MASS in your demo/ directory without a corresponding entry in your
DESCRIPTION file.
Add MASS as Suggests or Imports should be enough.
If you point to where your code is on GitHub or another public-facing
repository it
the right thing to do? I
don't see any other CRAN packages with a similar directive in its
NAMESPACE.
Michael Chirico
__
R-package-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-package-devel
My new submission potools failed on Solaris:
https://www.r-project.org/nosvn/R.check/r-patched-solaris-x86/potools-00check.html
Likely reason is that one or more of the SystemRequirements are missing (I
put gettext as a catchall in the DESCRIPTION but more specifically it needs
msgfmt, msgmerge,
d by how
RD binary is built but I didn't notice any compilation output from R CMD
build .
Any help on getting started here would be appreciated :)
Michael Chirico
PS the source can be found at https://github.com/MichaelChirico/geohashTools
[[alternative HTML version deleted]]
_
12 matches
Mail list logo