Skip to content

tests fail #419

@nunotexbsd

Description

@nunotexbsd

Trying to find if a missing dependency is causing testunit to fail.
Tested on 0.5.0 and 0.5.1.

Any clues?

Thanks

> sessionInfo()
R version 4.4.2 (2024-10-31)
Platform: amd64-portbld-freebsd15.0
Running under: FreeBSD 15amd64-main 15.0-CURRENT FreeBSD 15.0-CURRENT 1500028 amd64

Matrix products: default
LAPACK: /usr/local/lib/R/lib/libRlapack.so;  LAPACK version 3.12.0

locale:
[1] C.UTF-8/C.UTF-8/C.UTF-8/C/C.UTF-8/C.UTF-8

time zone: Europe/Lisbon
tzcode source: system (FreeBSD)

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

loaded via a namespace (and not attached):
[1] compiler_4.4.2
<snip>
* checking examples ... OK
* checking for unstated dependencies in 'tests' ... OK
* checking tests ...
 OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes ... OK
* checking running R code from vignettes ...
  'FAQ.Rmd' using 'UTF-8'... failed
  'converting.Rmd' using 'UTF-8'... OK
  'cpp11.Rmd' using 'UTF-8'... failed
  'internals.Rmd' using 'UTF-8'... OK
  'motivations.Rmd' using 'UTF-8'... failed
 ERROR
Errors in running code in vignettes:
when running code in 'FAQ.Rmd'
  ...

> add_some <- function(x, amount = 1) {
+     add_some_(x, amount)
+ }

> add_some(1)

  When sourcing 'FAQ.R':
Error: could not find function "add_some_"
Execution halted
when running code in 'cpp11.Rmd'
  ...
> 600/(0.005 - 0.002)
[1] 2e+05

> mod <- lm(mpg ~ wt, data = mtcars)

> mpe(mod)

  When sourcing 'cpp11.R':
Error: could not find function "mpe"
Execution halted
when running code in 'motivations.Rmd'
  ...
[1] 2 4 6

> x
[1] 1 2 3

> z <- times_two_rcpp(x)

  When sourcing 'motivations.R':
Error: could not find function "times_two_rcpp"
Execution halted

* checking re-building of vignette outputs ... SKIPPED
* DONE
Status: 1 ERROR, 1 NOTE
*** Error code 1

Full log:
00check.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions