1

In the manual of my just created package, I find under "details" the sentences:

The DESCRIPTION file: This package was not yet installed at build time."
Index: This package was not yet installed at build time.

This does not sound good. But of course, a package has to be build at first, then it can be installed. I don't understand what this message means and how I can get rid of it. When I type the message in google I get other pdf manuals with the same message. There are also CRAN packages with this message. So the message is not a tragedy?

Tobi
  • 206
  • 1
  • 4
  • I suspect you simply have to install the package, then build it again. That's certainly my workflow. The index is simply a list of the page numbers in the manual where the functions occur, so not having this is certainly not a tragedy. But easy to fix, so you may as well fix this. – Andrie Aug 29 '16 at 08:12
  • What's your build workflow look like? – Thomas Aug 29 '16 at 11:27

1 Answers1

1

My built workflow (hope that I understood what you meant, @Thomas) is:

system("R CMD check Path_to_package/pname")
system("R CMD build Path_to_package/pname")
system("R CMD check --as-cran C:/R-3.2.2/pname_version.tar.gz")

With option --as-cran I got the same messages as here. I deleted now all the automatically generated commands as e.g. \packageDescription{} in the .Rd files. Now the notes from this thread as well as these notes do not appear any more.

Community
  • 1
  • 1
Tobi
  • 206
  • 1
  • 4
  • 3
    You never need to run `R CMD check` on the package directory, only the source tarball. You will get all sorts of weird errors if you do that. So, just skip the first step. – Thomas Aug 30 '16 at 05:55