gavinsimpson/coenocliner

library_if_available() is deprecated

hadley opened this issue · 2 comments

checking tests ... ERROR
Running the tests in ‘tests/test-all.R’ failed.
Last 13 lines of output:
  'citation()' on how to cite R or R packages in publications.

  Type 'demo()' for some demos, 'help()' for on-line help, or
  'help.start()' for an HTML browser interface to help.
  Type 'q()' to quit R.

  > ## Test `coenocliner` using the `testthat` package
  > 
  > ## Setup
  > library("testthat")
  > library_if_available("coenocliner")
  Error: could not find function "library_if_available"
  Execution halted

Thanks @hadley I'll fix this and be ready to push a release to CRAN.

Fixed via 6923f1e