Open eeholmes opened 1 year ago
can do with this
assignInNamespace("caxpops", "test", ns = "rCAX")
Steps:
rcax_table_cols
which is only called in rcax_hli
I think. replace with rcax_hli(..., type="colnames")
. NOSA = nosa_xport_colnames,
SAR = sar_xport_colnames,
PNI = pni_xport_colnames,
JuvOut = juvout_xport_colnames,
PreSmolt = presmolt_xport_colnames,
RperS = rpers_xport_colnames
and the _colnames is created by a hard copy in docs. Very fragile. Needs to ping the data base and save the needed variables once.
rcax_updata_sysdata
Or when the user does the first rcax_hli call or rcax_table_query, rcax_tables is called and _rcax_tables data is created. Then for subsequent calls it checks if that exists. If so it uses it, if not it doesn't. Might need to delete it on detaching or check creation date.