Closed LBreugelmans closed 5 days ago
If the dataset is not too large, it might be nice to have it in the package as an example dataset. In that case you only have to remove it from the .gitignore file.
Hi Ward, I can provide the datasets used in the readme as example datasets and put them in the .buildignore file. Do they need t go in the inst folder then?
I will take care of the imports now.
You can put the datasets in the data folder.
With example dataset I mean that users can also access the dataset and use it to test out the functions for example.
I am just thinking it might be nice to have them in the package, because the user might not be familiar with the datatypes. But this might not be good if they are too large. What do you think is preferable in your case?
Only remaining errors are of form 'no visible binding for global variable 'pa''.
Hi @wlangera ,
I have ran R CMD checks and solved most notes and errors, but there remains one error which is related to the rendering of the examples. I am unable to locate the issue, as the error doesn't give clear indication of where the problem is generated (the printed code lines do not correspond to the quoted function name). Could you please have a look to see if you can resolve it?
Hi @LBreugelmans
Please check out the branch fix-technical-issues
.
I got an error in generate_map_and_indicator.R
. Currently, I resolved it by putting rnaturalearthdata in DESCRIPTION.
This still results in a note, but at least it is not an error anymore.
get_pd()
. You have a variable mcube
. This should be species
I think?Can you check this and run the checks again in the branch fix-technical-issues
?
Hi @LBreugelmans
I have merged your code with my branch. You can find the new PR here: #27.
We can work further together in this branch.