Skip to content

devtools::check error #1

@NatalieDupont

Description

@NatalieDupont

Package can be installed no problem, but devtools::check() causes an error with running examples on the base hello function (loaded by R). To note, i do not have ANY @example statements currently in my code.
The error in question:

❯ checking examples ... ERROR
Running examples in ‘LTMFNpackage-Ex.R’ failed
The error most likely occurred in:

base::assign(".ptime", proc.time(), pos = "CheckExEnv")
#Name: hello
#Title: Hello, World!
#Aliases: hello

#*Examples

hello()
Error in hello() : could not find function "hello"
Execution halted

I have tried most of the online solutions (updating documentation, removing @example statements, etc.)

Metadata

Metadata

Assignees

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