Rather than constructing glue messages, use the cli package to format messages/formats: https://cli.r-lib.org/ While doing so:
- Drop use of assertthat
- Use error classes rather than always testing on the returned error message
add_resource()
check_package(): #165
check_path(): #164
check_schema():
create_schema()
get_resource()
get_schema()
read_package()
read_resource()
write_package()
write_resource()
overall
Rather than constructing glue messages, use the cli package to format messages/formats: https://cli.r-lib.org/ While doing so:
add_resource()
check_package(): #165
check_path(): #164
check_schema():
schemamust be a list with propertyfieldsschemamust have propertyname.schemamust have validtype.datamust be a data frame containing data.schemamust match column names in datacreate_schema()
datamust be a data frame containing data.get_resource()
get_schema()
read_package()
read_resource()
write_package()
write_resource()
overall
||or&&