Closed sdebruyn closed 3 years ago
You need to have dplyr package. it should actually load that automatically since it is in Description. Could try to do library(dplyr) and install it if you do no have it.
Version 1.0.4 of dplyr is installed
great when you called library(dplyr) and then did the call you had the same issue?
library(dplyr)
Attaching package: ‘dplyr’
The following objects are masked from ‘package:stats’:
filter, lag
The following objects are masked from ‘package:base’:
intersect, setdiff, setequal, union
yes that is fine and if you then run the generateResultsDocument what happens?
After adding that, the error changed to this:
Error in table_layout() : could not find function "table_layout"
Calls: <Anonymous> ... <Anonymous> -> <Anonymous> -> my_body_add_table -> <Anonymous>
that is coming from the officer package. It looks like all the depends are not working for you: https://github.com/EHDEN/CdmInspection/blob/5b4afe70a607a41fe9fd765c360a9a8ba939e1f0/DESCRIPTION#L23
Normally these should be loaded automatically not sure why that does not happen in your case: https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Package-Dependencies
It might be I have to move these to imports instead of depends. Will try this in upcoming version update you should have tomorrow morning.
Version 1.0.3 is working without issues
R command:
Error in output:
Output folder contains 2 files:
Content of
log_cdmInspection.txt
: