Skip to content

make clean breaks the build process #104

Closed

Description

@ximeg

There is a bug somewhere in the build system. After make clean is executed, make cannot build hyperSpec.

How to reproduce

I have the very same version (commit 43e439d) and all dependencies installed.

git clone https://github.com/cbeleites/hyperSpec.git
cd hyperSpec/
make   # works
make   # works
make clean
make   # error

Error message:

rkiselev@pc158697:~/tmp/hyperSpec$ make
update DESCRIPTION
Roxygenize
Updating hyperSpec documentation
Writing NAMESPACE
Loading hyperSpec
Loading required package: lattice
Loading required package: grid
Loading required package: ggplot2
Error in FUN(X[[i]], ...) : empty (zero-byte) input file
Calls: document ... <Anonymous> -> load_data -> unlist -> lapply -> FUN
Execution halted
Makefile:67: recipe for target 'roxygenize' failed
make: *** [roxygenize] Error 1

To fix this, I run

git clean -xfd --exclude .Rhistory --exclude .Rproj.user/ --exclude hyperSpec.Rproj
make

Looks like make clean leaves some intermediate files in the dependency chain, and make gets confused.

Activity

  1. added
    Type: bug 💣
    on Feb 8, 2020
  2. ximeg commented on May 11, 2020

    @ximeg
    CollaboratorAuthor
  3. added a commit that references this issue on May 12, 2020
    a09ae12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: bug 💣

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions